article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; } /* Basics -------------------------------------------------- */ body { background: #eee; font: 24px/1.5em "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif; text-align: center; margin: 0; padding-top: 3em; color: #ccc; } h1, h2, p { margin: 0; padding: 0; margin-bottom: 1.5em; } a, a:visited { text-decoration: none; color: #6ec7e5; -webkit-transition: all 0.3s ease-in-out; -moz-transition: all 0.3s ease-in-out; -o-transition: all 0.3s ease-in-out; -ms-transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out; } a:hover { color: #72d2f1; } * { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } .container { margin-left: auto; margin-right: auto; padding-left: 1.5em; padding-right: 1.5em; max-width: 40em; } /* USING KBD FOR FUN & PROFIT http://kremalicious.com/using-kbd-for-fun-and-profit/ License: MIT -- Copyright (c) 2012 Matthias Kretschmann Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* Le kbd ---------------------- */ kbd { color: #444444; font-family: "Lucida Grande", Lucida, Verdana, sans-serif; font-weight: normal; font-style: normal; text-align: center; line-height: 1em; text-shadow: 0 1px 0 #fff; display: inline; padding: .3em .55em; -webkit-border-radius: 6px; -moz-border-radius: 6px; border-radius: 6px; -moz-background-clip: padding; -webkit-background-clip: padding-box; background-clip: padding-box; border: 1px solid #bbb; background-color: #f7f7f7; background-image: -moz-linear-gradient(top, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0)); background-image: -webkit-gradient(linear, 0 0, 0 100%, from(rgba(0, 0, 0, 0.1)), to(rgba(0, 0, 0, 0))); background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0)); background-image: -o-linear-gradient(top, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0)); background-image: linear-gradient(top, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0)); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#1a000000', endColorstr='#00000000', GradientType=0); box-shadow: 0px 2px 0 #bbbbbb, 0 3px 1px #999999, 0 3px 0 #bbbbbb, inset 0 1px 1px #ffffff, inset 0 -1px 3px #cccccc; } kbd.dark { color: #eeeeee; text-shadow: 0 -1px 0 #000000; border-color: #000; background-color: #4d4c4c; background-image: -webkit-gradient(linear, 0 0, 0 100%, from(rgba(0, 0, 0, 0.5)), color-stop(80%, rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0))); background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0) 80%, rgba(0, 0, 0, 0)); background-image: -moz-linear-gradient(top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0) 80%, rgba(0, 0, 0, 0)); background-image: -o-linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0) 80%, rgba(0, 0, 0, 0)); background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0) 80%, rgba(0, 0, 0, 0)); background-repeat: no-repeat; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=0); box-shadow: 0px 2px 0 #000000, 0 3px 1px #999999, inset 0 1px 1px #aaaaaa, inset 0 -1px 3px #272727; } kbd.ios { font-family: Helvetica, "Helvetica Neue", Arial, sans-serif; color: #000; border-color: rgba(0, 0, 0, 0.6); border-top-color: rgba(0, 0, 0, 0.4); background-color: #b7b7bc; background-image: -moz-linear-gradient(top, #efeff0, #b7b7bc); background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#efeff0), to(#b7b7bc)); background-image: -webkit-linear-gradient(top, #efeff0, #b7b7bc); background-image: -o-linear-gradient(top, #efeff0, #b7b7bc); background-image: linear-gradient(top, #efeff0, #b7b7bc); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffefeff0', endColorstr='#ffb7b7bc', GradientType=0); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.6), 0 2px 3px rgba(0, 0, 0, 0.1), inset 0 1px 0 #ffffff; } kbd.android { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; color: #ffffff; text-shadow: none; padding: .3em; border: 1px solid rgba(0, 0, 0, 0.05); -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; -moz-background-clip: padding; -webkit-background-clip: padding-box; background-clip: padding-box; background: #5e5e5e; box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3), 0 1px 0 #444444, inset 0 1px 0 #868686; } kbd.android.dark { background: #222222; box-shadow: 0 2px 2px rgba(0, 0, 0, 0.7), 0 1px 0 #444444, inset 0 1px 0 #505050; } kbd.android.color { background: #083c5b; box-shadow: 0 2px 2px rgba(0, 0, 0, 0.7), 0 1px 0 #444444, inset 0 1px 0 #36647b; } @font-face { font-family: 'RobotoRegular'; src: url('../fonts/Roboto-Regular-webfont.eot'); src: url('../fonts/Roboto-Regular-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/Roboto-Regular-webfont.woff') format('woff'), url('../fonts/Roboto-Regular-webfont.ttf') format('truetype'), url('../fonts/Roboto-Regular-webfont.svg#RobotoRegular') format('svg'); font-weight: normal; font-style: normal; } /* Content -------------------------------------------------- */ code { display: block; color: #ccc; font-size: .8em; } body > header { -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1); -moz-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1); box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1); padding-bottom: 1em; } body > header h1, body > header p { margin-left: auto; margin-right: auto; padding-left: 1.5em; padding-right: 1.5em; max-width: 40em; } body > header h1 { margin-bottom: .5em; } body > footer { padding: 2em 0; font-size: .8em; } body > footer p { margin-bottom: 0; } article > section { padding: 2em 0 3.5em 0; } article > section p { margin-left: auto; margin-right: auto; padding-left: 1.5em; padding-right: 1.5em; max-width: 40em; } article > section p:last-child { margin-bottom: 0; } article > section header { margin-left: auto; margin-right: auto; padding-left: 1.5em; padding-right: 1.5em; max-width: 40em; } article > section header h2 { color: #ccc; } article > section#keysdark { background: #999; border-top: 1px solid #fff; -webkit-box-shadow: 0 -1px 0 #cccccc; -moz-box-shadow: 0 -1px 0 #cccccc; box-shadow: 0 -1px 0 #cccccc; } article > section#keysios { background-image: -moz-linear-gradient(top, #9c9ba6, #43444b); background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#9c9ba6), to(#43444b)); background-image: -webkit-linear-gradient(top, #9c9ba6, #43444b); background-image: -o-linear-gradient(top, #9c9ba6, #43444b); background-image: linear-gradient(top, #9c9ba6, #43444b); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff9c9ba6', endColorstr='#ff43444b', GradientType=0); border-top: 1px solid #c0becf; -webkit-box-shadow: 0 -1px 0 #9b9aa5; -moz-box-shadow: 0 -1px 0 #9b9aa5; box-shadow: 0 -1px 0 #9b9aa5; } article > section#keysios h2, article > section#keysios code { color: #696972; } article > section#keysandroid { background: #181818; border-top: 1px solid #505050; -webkit-box-shadow: 0 -1px 0 #000000; -moz-box-shadow: 0 -1px 0 #000000; box-shadow: 0 -1px 0 #000000; } article > section#keysandroid h2, article > section#keysandroid code { color: #2e2d2e; } .navbar { background: #eee; background: rgba(238, 238, 238, 0.9); -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); position: fixed; left: 0; top: 0; width: 100%; padding: 0 1.5em; } .navbar p { text-align: left; margin: 0; font-size: 14px; } .navbar p a.github { float: right; } kbd { display: inline-block; margin-bottom: .5em; } kbd.android { font-family: RobotoRegular, sans-serif; font-weight: normal; font-style: normal; /* The font files are a bit weirdly aligned, this centers the glyphs on the buttons again */ padding: .3em .3em .2em .3em; }