X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/78e68053e3f159e7e9882bc178b7392f1c3a8222..ce054678a797099c79b6fd0d9d39b98cab6ad0c0:/static/css/screen.css diff --git a/static/css/screen.css b/static/css/screen.css index 6eb28d0..8efa5cc 100644 --- a/static/css/screen.css +++ b/static/css/screen.css @@ -1,6 +1,7 @@ +@import "http://fonts.googleapis.com/css?family=Expletus+Sans"; html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, -a, abbr, acronym, address, big, cite, code, +a, abbr, acronym, address, big, cite, code, #content .codeblock, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, @@ -56,55 +57,376 @@ blockquote, q { content: ""; content: none; } -html { - background: #2a486d; - height: 100%; } +/* Compass Vars */ +/* Custom Vars */ +/* custom mixins */ +body { + font-size: 100%; + line-height: 1.563em; } + +html > body { + font-size: 16px; } + +::selection { + background: #ff6ae6; + text-shadow: none !important; + color: white !important; } + +@-webkit-keyframes glow { + 0% { + text-shadow: 0 0 3px rgba(255, 255, 255, 0); } + + 100% { + text-shadow: 0 0 3px rgba(255, 255, 255, 0.5); } } body { - background: url('../img/bg.png?1303763277'), -webkit-gradient(radial, 50% 50%, 0, 50% 50%, 900, color-stop(0%, rgba(0, 0, 0, 0)), color-stop(88.889%, rgba(0, 0, 0, 0.5)), color-stop(100%, rgba(0, 0, 0, 0.9))); - background: url('../img/bg.png?1303763277'), -webkit-radial-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5) 800px, rgba(0, 0, 0, 0.9) 900px); - background: url('../img/bg.png?1303763277'), -moz-radial-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5) 800px, rgba(0, 0, 0, 0.9) 900px); - background: url('../img/bg.png?1303763277'), -o-radial-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5) 800px, rgba(0, 0, 0, 0.9) 900px); - background: url('../img/bg.png?1303763277'), radial-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5) 800px, rgba(0, 0, 0, 0.9) 900px); - padding: 1px; - margin: -1px; - min-height: 100%; - font-family: Helvetica, Arial, sans-serif; - font-size: 13px; - line-height: 15px; } + background: #e0e5ef; + background: -webkit-gradient(linear, 50% 0%, 50% 250, color-stop(0%, #b4bdcf), color-stop(100%, #e0e5ef)); + background: -webkit-linear-gradient(top, #b4bdcf 0%, #e0e5ef 250px); + background: -moz-linear-gradient(top, #b4bdcf 0%, #e0e5ef 250px); + background: -o-linear-gradient(top, #b4bdcf 0%, #e0e5ef 250px); + background: linear-gradient(top, #b4bdcf 0%, #e0e5ef 250px); + color: #333333; + text-shadow: 0 1px 0 #FFF; + font-family: Helvetica, Arial, serif; } #container { - width: 920px; - margin: 40px auto; } + width: 750px; + margin: 20px auto; + background: transparent; + color: #333333; } #nameplate { - color: #FFF; - font-size: 80px; - line-height: 80px; + font-size: 3.75em; + line-height: 1.25em; + font-family: "Expletus Sans", Helvetica, Arial, serif; + position: relative; } + +.installButton { + height: 30px; + color: #222222; + text-decoration: none; + font-size: 25px; + line-height: 36px; + font-family: "Expletus Sans", Helvetica, Arial, serif; + text-transform: uppercase; + letter-spacing: 2px; + float: right; + width: 160px; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + -o-border-radius: 5px; + -ms-border-radius: 5px; + -khtml-border-radius: 5px; + border-radius: 5px; + -moz-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.15); + -webkit-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.15); + -o-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.15); + box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.15); + background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #eeeeee), color-stop(100%, #d4d4d4)); + background: -webkit-linear-gradient(#eeeeee, #d4d4d4); + background: -moz-linear-gradient(#eeeeee, #d4d4d4); + background: -o-linear-gradient(#eeeeee, #d4d4d4); + background: linear-gradient(#eeeeee, #d4d4d4); + text-shadow: #FFF 0 1px 0; + border: 1px solid #eeeeee; + padding: 5px 10px; + position: absolute; + top: 10px; + right: 0; } + .installButton::after { + content: '\2b07'; + font-size: 20px; + line-height: 20px; + padding: 7px 1px 3px 4px; + width: 25px; + -moz-border-radius: 15px; + -webkit-border-radius: 15px; + -o-border-radius: 15px; + -ms-border-radius: 15px; + -khtml-border-radius: 15px; + border-radius: 15px; + -moz-box-shadow: 0 1px 0 0 white, 0 1px 2px 0 rgba(0, 0, 0, 0.15) inset; + -webkit-box-shadow: 0 1px 0 0 white, 0 1px 2px 0 rgba(0, 0, 0, 0.15) inset; + -o-box-shadow: 0 1px 0 0 white, 0 1px 2px 0 rgba(0, 0, 0, 0.15) inset; + box-shadow: 0 1px 0 0 white, 0 1px 2px 0 rgba(0, 0, 0, 0.15) inset; + background: #bbbbbb; + float: left; + text-align: center; + margin-right: 10px; + font-family: Helvetica, Arial, sans-serif; } + .installButton:hover { + background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #eeeeee), color-stop(100%, #c8c8c8)); + background: -webkit-linear-gradient(#eeeeee, #c8c8c8); + background: -moz-linear-gradient(#eeeeee, #c8c8c8); + background: -o-linear-gradient(#eeeeee, #c8c8c8); + background: linear-gradient(#eeeeee, #c8c8c8); } + .installButton:active { + background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #c8c8c8), color-stop(100%, #eeeeee)); + background: -webkit-linear-gradient(#c8c8c8, #eeeeee); + background: -moz-linear-gradient(#c8c8c8, #eeeeee); + background: -o-linear-gradient(#c8c8c8, #eeeeee); + background: linear-gradient(#c8c8c8, #eeeeee); + -moz-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.15), 0 0 16px 0 rgba(0, 0, 0, 0.15) inset; + -webkit-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.15), 0 0 16px 0 rgba(0, 0, 0, 0.15) inset; + -o-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.15), 0 0 16px 0 rgba(0, 0, 0, 0.15) inset; + box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.15), 0 0 16px 0 rgba(0, 0, 0, 0.15) inset; + color: #080808; } + .installButton:active::after { + background: #a2a2a2; } + +#content a { + color: #354668; + border-bottom: 1px solid #9dadcc; + -moz-box-shadow: 0 1px 0 0 white; + -webkit-box-shadow: 0 1px 0 0 white; + -o-box-shadow: 0 1px 0 0 white; + box-shadow: 0 1px 0 0 white; + text-decoration: none; } + #content a:hover { + color: #354668; + border-bottom: 1px solid #354668; } +#content p, #content ul, #content ol, #content header { + margin-bottom: 1.563em; } +#content h1, #content h2, #content h3, #content h4, #content h5, #content h6 { + font-weight: bold; + margin-bottom: 0.781em; } +#content h2 { + font-size: 1.25em; + line-height: 1.25em; } +#content code, #content .codeblock { + background: #bec9de; + padding: 3px; + margin: -4px 0; + border: 1px solid #aebbd5; + -moz-border-radius: 3px; + -webkit-border-radius: 3px; + -o-border-radius: 3px; + -ms-border-radius: 3px; + -khtml-border-radius: 3px; + border-radius: 3px; + -moz-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.15) inset, 0 1px 0 0 white; + -webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.15) inset, 0 1px 0 0 white; + -o-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.15) inset, 0 1px 0 0 white; + box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.15) inset, 0 1px 0 0 white; + font-family: Menlo, monospace; + font-size: 0.813em; + line-height: 1.923em; } +#content .codeblock { + margin-bottom: 1.563em; + padding: 10px; + display: block; } + #content .codeblock code, #content .codeblock .codeblock { + margin: 0; + padding: 0; + -moz-box-shadow: none; + -webkit-box-shadow: none; + -o-box-shadow: none; + box-shadow: none; + -moz-border-radius: 0; + -webkit-border-radius: 0; + -o-border-radius: 0; + -ms-border-radius: 0; + -khtml-border-radius: 0; + border-radius: 0; + border: none; + display: block; } + #content .codeblock.shell code::before, #content .codeblock.shell .codeblock::before { + content: "$ "; + color: #4d4d4d; } +#content .pname { + color: #354668; } + +.three-up { + background: #333333; + margin: 25px -10px; + padding: 10px; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + -o-border-radius: 5px; + -ms-border-radius: 5px; + -khtml-border-radius: 5px; + border-radius: 5px; + -moz-box-shadow: 0 1px 0 0 white, 0 2px 4px rgba(0, 0, 0, 0.35) inset; + -webkit-box-shadow: 0 1px 0 0 white, 0 2px 4px rgba(0, 0, 0, 0.35) inset; + -o-box-shadow: 0 1px 0 0 white, 0 2px 4px rgba(0, 0, 0, 0.35) inset; + box-shadow: 0 1px 0 0 white, 0 2px 4px rgba(0, 0, 0, 0.35) inset; + overflow: hidden; + *zoom: 1; } + .three-up figure { + border: 1px solid #1a1a1a; + float: left; + width: 241.333px; + margin-right: 10px; + overflow: hidden; + position: relative; + -moz-transition-property: width; + -webkit-transition-property: width; + -o-transition-property: width; + transition-property: width; + -moz-transition-duration: 0.25s; + -webkit-transition-duration: 0.25s; + -o-transition-duration: 0.25s; + transition-duration: 0.25s; + -moz-transition-timing-function: linear; + -webkit-transition-timing-function: linear; + -o-transition-timing-function: linear; + transition-timing-function: linear; + -moz-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.15) inset, 0 1px 0 0 rgba(255, 255, 255, 0.35); + -webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.15) inset, 0 1px 0 0 rgba(255, 255, 255, 0.35); + -o-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.15) inset, 0 1px 0 0 rgba(255, 255, 255, 0.35); + box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.15) inset, 0 1px 0 0 rgba(255, 255, 255, 0.35); + -moz-border-radius: 3px; + -webkit-border-radius: 3px; + -o-border-radius: 3px; + -ms-border-radius: 3px; + -khtml-border-radius: 3px; + border-radius: 3px; } + .three-up figure.shrunk { + width: 62px; } + .three-up figure.expanded { + width: 600px; } + .three-up figure:last-child { + margin-right: 0; + float: right; + /* keeps the right margin from wiggling */ } + .three-up figure img { + display: block; } + .three-up figcaption { + position: absolute; + bottom: 0; + left: 0; + right: 0; + background: rgba(0, 0, 0, 0.75); + text-shadow: 1px 1px 0 #000; + padding: 0 5px; + color: #FFF; + width: 600px; + font-size: 0.813em; + line-height: 1.923em; } + +#whatIs { + padding: 10px; + background: #333333; + margin-bottom: 20px; + line-height: 30px; + font-size: 20px; + -moz-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.35) inset, 0 1px 0 0 white; + -webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.35) inset, 0 1px 0 0 white; + -o-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.35) inset, 0 1px 0 0 white; + box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.35) inset, 0 1px 0 0 white; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + -o-border-radius: 5px; + -ms-border-radius: 5px; + -khtml-border-radius: 5px; + border-radius: 5px; + text-shadow: 0 -1px 0 black; text-align: center; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.6); } - -#content { - background: white; - -moz-border-radius: 4px; - -webkit-border-radius: 4px; - -o-border-radius: 4px; - -ms-border-radius: 4px; - -khtml-border-radius: 4px; - border-radius: 4px; - -moz-box-shadow: rgba(0, 0, 0, 0.35) 0 0 36px, rgba(0, 0, 0, 0.1) 0 10px 10px inset; - -webkit-box-shadow: rgba(0, 0, 0, 0.35) 0 0 36px, rgba(0, 0, 0, 0.1) 0 10px 10px inset; - -o-box-shadow: rgba(0, 0, 0, 0.35) 0 0 36px, rgba(0, 0, 0, 0.1) 0 10px 10px inset; - box-shadow: rgba(0, 0, 0, 0.35) 0 0 36px, rgba(0, 0, 0, 0.1) 0 10px 10px inset; - border: 1px solid white; - padding: 19px; - margin-top: 20px; } - -#pagefooter { - font-size: 12px; - color: #8faed4; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5); - width: 600px; - margin: 20px auto; } - #pagefooter p { - margin-bottom: 15px; } + -webkit-font-smoothing: antialiased; + color: #cccccc; } + #whatIs :last-child { + margin-bottom: 0; } + #whatIs .w1 { + font-weight: bold; } + #whatIs .s1 { + color: white; + display: block; } + #whatIs a { + background: transparent; + padding: 0; + color: #73e600; + border-width: 0; + -moz-box-shadow: none; + -webkit-box-shadow: none; + -o-box-shadow: none; + box-shadow: none; } + #whatIs a:hover { + background: transparent; + color: #73e600; } + +#modelList { + margin-left: 1.5em; } + #modelList li { + margin-bottom: 0.781em; + list-style-type: disc; } + #modelList .name { + font-weight: bold; } + +#contribList { + background: #333333; + margin: 25px -10px; + padding: 20px 10px 10px 10px; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + -o-border-radius: 5px; + -ms-border-radius: 5px; + -khtml-border-radius: 5px; + border-radius: 5px; + -moz-box-shadow: 0 1px 0 0 white, 0 2px 4px rgba(0, 0, 0, 0.35) inset; + -webkit-box-shadow: 0 1px 0 0 white, 0 2px 4px rgba(0, 0, 0, 0.35) inset; + -o-box-shadow: 0 1px 0 0 white, 0 2px 4px rgba(0, 0, 0, 0.35) inset; + box-shadow: 0 1px 0 0 white, 0 2px 4px rgba(0, 0, 0, 0.35) inset; + overflow: hidden; + *zoom: 1; + text-shadow: none; + color: white; + -webkit-font-smoothing: antialiased; } + #contribList li { + width: 343px; + float: left; + margin: 0 5px 10px 5px; + padding: 10px; + background: #262626; + border: 1px solid #1a1a1a; + -moz-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.35) inset, 0 1px 0 0 rgba(255, 255, 255, 0.15); + -webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.35) inset, 0 1px 0 0 rgba(255, 255, 255, 0.15); + -o-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.35) inset, 0 1px 0 0 rgba(255, 255, 255, 0.15); + box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.35) inset, 0 1px 0 0 rgba(255, 255, 255, 0.15); + overflow: hidden; + *zoom: 1; + -moz-border-radius: 3px; + -webkit-border-radius: 3px; + -o-border-radius: 3px; + -ms-border-radius: 3px; + -khtml-border-radius: 3px; + border-radius: 3px; } + #contribList .name, #contribList .description, #contribList .status { + display: block; } + #contribList .name { + font-weight: bold; } + #contribList .description { + color: #999999; } + #contribList .status { + font-style: italic; + font-size: 0.813em; + line-height: 1.923em; + float: right; } + #contribList .status.dev { + -webkit-animation-name: glow; + -webkit-animation-duration: 1s; + -webkit-animation-timing-function: ease; + -webkit-animation-iteration-count: infinite; + -webkit-animation-direction: alternate; } + #contribList .status.pla { + opacity: .5; } + #contribList a { + color: #CCC; + border: none; } + +footer { + margin-top: 25px; + padding-top: 20px; + border-top: 5px solid #333333; + -moz-box-shadow: 0 1px 0 0 white inset; + -webkit-box-shadow: 0 1px 0 0 white inset; + -o-box-shadow: 0 1px 0 0 white inset; + box-shadow: 0 1px 0 0 white inset; + font-size: 0.813em; + line-height: 1.923em; + color: #666666; } + footer a { + text-decoration: none; + color: #5974aa; } + footer a:hover { + color: #131924; }