X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/aab4ef3c8a5a4974594b0b90f08cadab161863be..736fa0fc85e336b0ca2acdcf510480150d057e1f:/static/css/screen.css?ds=sidebyside diff --git a/static/css/screen.css b/static/css/screen.css index 9b61ed9..6669f06 100644 --- a/static/css/screen.css +++ b/static/css/screen.css @@ -1,7 +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, @@ -67,27 +67,67 @@ body { 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); } } + +@-webkit-keyframes pulse { + 0% { + -webkit-transform: scale(1); } + + 100% { + -webkit-transform: scale(1.05); } } + +.lite { + -webkit-animation-name: pulse; + -webkit-animation-duration: .25s; + -webkit-animation-iteration-count: infinite; + -webkit-animation-direction: alternate; + -webkit-animation-timing-function: linear; + margin: -10px; + padding: 9px; + border: 1px solid #cfd7e6; + background: white; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + -o-border-radius: 5px; + -ms-border-radius: 5px; + -khtml-border-radius: 5px; + border-radius: 5px; } + +section { + -moz-transition-property: background; + -webkit-transition-property: background; + -o-transition-property: background; + transition-property: background; + -moz-transition-duration: 0.15s; + -webkit-transition-duration: 0.15s; + -o-transition-duration: 0.15s; + transition-duration: 0.15s; + -moz-transition-timing-function: linear; + -webkit-transition-timing-function: linear; + -o-transition-timing-function: linear; + transition-timing-function: linear; } + body { 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; } -a { - color: black; - text-decoration: none; - background: #aebbd5; - padding: 3px; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - -o-border-radius: 3px; - -ms-border-radius: 3px; - -khtml-border-radius: 3px; - border-radius: 3px; } - a:hover { - background: #95a1bb; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65); } - #container { width: 750px; margin: 20px auto; @@ -97,15 +137,104 @@ a { #nameplate { font-size: 3.75em; line-height: 1.25em; - margin-bottom: 25px; - padding-bottom: 5px; - border-bottom: 5px solid #333333; - -moz-box-shadow: 0 1px 0 white; - -webkit-box-shadow: 0 1px 0 white; - -o-box-shadow: 0 1px 0 white; - box-shadow: 0 1px 0 white; - font-family: "Expletus Sans", Helvetica, Arial, serif; } + font-family: "Expletus Sans", Helvetica, Arial, serif; + position: relative; } +.installButton, .docsButton { + 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, .docsButton::after { + font-size: 20px; + line-height: 20px; + 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, .docsButton: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, .docsButton: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, .docsButton:active::after { + background: #a2a2a2; } + +.docsButton { + right: 200px; + width: 100px; + text-align: center; } + +.installButton::after { + content: '\2b07'; + padding: 7px 1px 3px 4px; } + +#content em { + font-style: italic; } +#content strong { + font-weight: bold; } +#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 { @@ -114,11 +243,16 @@ a { #content h2 { font-size: 1.25em; line-height: 1.25em; } -#content code { +#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; @@ -127,6 +261,63 @@ a { 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; } +#content .tucol { + *zoom: 1; + margin-top: 3.125em; + margin-bottom: 3.125em; } + #content .tucol:after { + content: "\0020"; + display: block; + height: 0; + clear: both; + overflow: hidden; + visibility: hidden; } + #content .tucol section { + width: 355px; + float: right; } + #content .tucol section:first-child { + float: left; } + #content .tucol section:nth-child(2) { + width: 335px; + padding: 15px 15px; + background: rgba(255, 255, 255, 0.5); + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + -o-border-radius: 5px; + -ms-border-radius: 5px; + -khtml-border-radius: 5px; + border-radius: 5px; + border: 1px solid #cfd7e6; + -moz-box-shadow: 0 1px 0 0 white, 0 1px 0 0 white inset; + -webkit-box-shadow: 0 1px 0 0 white, 0 1px 0 0 white inset; + -o-box-shadow: 0 1px 0 0 white, 0 1px 0 0 white inset; + box-shadow: 0 1px 0 0 white, 0 1px 0 0 white inset; } + #content .tucol section :last-child { + margin-bottom: 0; } .three-up { background: #333333; @@ -142,6 +333,7 @@ a { -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; + height: 300px; overflow: hidden; *zoom: 1; } .three-up figure { @@ -174,7 +366,7 @@ a { -khtml-border-radius: 3px; border-radius: 3px; } .three-up figure.shrunk { - width: 62px; } + width: 60px; } .three-up figure.expanded { width: 600px; } .three-up figure:last-child { @@ -196,6 +388,52 @@ a { font-size: 0.813em; line-height: 1.923em; } +#whatIs { + padding: 10px; + background: #333333; + background: -webkit-gradient(linear, 50% 100%, 50% 0%, color-stop(0%, #4d4d4d), color-stop(100%, #333333)); + background: -webkit-linear-gradient(bottom, #4d4d4d, #333333); + background: -moz-linear-gradient(bottom, #4d4d4d, #333333); + background: -o-linear-gradient(bottom, #4d4d4d, #333333); + background: linear-gradient(bottom, #4d4d4d, #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; + -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: #d9fbb7; + border: none; } + #modelList { margin-left: 1.5em; } #modelList li { @@ -207,7 +445,7 @@ a { #contribList { background: #333333; margin: 25px -10px; - padding: 20px 10px; + padding: 20px 10px 10px 10px; -moz-border-radius: 5px; -webkit-border-radius: 5px; -o-border-radius: 5px; @@ -253,3 +491,41 @@ a { 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; + -moz-box-shadow: none; + -webkit-box-shadow: none; + -o-box-shadow: none; + box-shadow: none; } + #contribList a:hover { + color: #FFF; + border: none; } + +.getInvolved { + margin: -16px 0; } + +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; }