2012-07-16 14:50:02 +02:00
|
|
|
article,
|
|
|
|
aside,
|
|
|
|
details,
|
|
|
|
figcaption,
|
|
|
|
figure,
|
|
|
|
footer,
|
|
|
|
header,
|
|
|
|
hgroup,
|
|
|
|
nav,
|
|
|
|
section {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
audio,
|
|
|
|
canvas,
|
|
|
|
video {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
audio:not([controls]) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
[hidden] {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
/* Basics
|
|
|
|
-------------------------------------------------- */
|
2012-07-16 13:08:34 +02:00
|
|
|
body {
|
|
|
|
background: #eee;
|
|
|
|
font: 24px/1.5em "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
|
2012-07-16 14:50:02 +02:00
|
|
|
text-align: center;
|
|
|
|
margin: 0;
|
|
|
|
padding-top: 1em;
|
|
|
|
}
|
|
|
|
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: 55.6em;
|
2012-07-16 13:08:34 +02:00
|
|
|
}
|
|
|
|
/*
|
|
|
|
WebKit Defaults:
|
|
|
|
----------------------
|
|
|
|
display: inline;
|
|
|
|
font-family: monospace;
|
|
|
|
height: auto;
|
|
|
|
width: auto;
|
|
|
|
|
|
|
|
Apple Keyboard font: VAG Rounded
|
|
|
|
*/
|
|
|
|
/* 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;
|
2012-07-16 14:50:02 +02:00
|
|
|
border-color: rgba(0, 0, 0, 0.6);
|
|
|
|
border-top-color: rgba(0, 0, 0, 0.4);
|
2012-07-16 13:08:34 +02:00
|
|
|
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 {
|
2012-07-16 14:50:02 +02:00
|
|
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
2012-07-16 13:08:34 +02:00
|
|
|
color: #ffffff;
|
|
|
|
text-shadow: none;
|
|
|
|
padding: .3em;
|
|
|
|
border: 1px solid rgba(0, 0, 0, 0.05);
|
2012-07-16 14:50:02 +02:00
|
|
|
-webkit-border-radius: 3px;
|
|
|
|
-moz-border-radius: 3px;
|
|
|
|
border-radius: 3px;
|
2012-07-16 13:08:34 +02:00
|
|
|
-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.3), 0 1px 0 #444444, inset 0 1px 0 #505050;
|
|
|
|
}
|
|
|
|
kbd.android.color {
|
|
|
|
background: #083c5b;
|
|
|
|
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3), 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;
|
|
|
|
}
|
2012-07-16 14:50:02 +02:00
|
|
|
/* Content
|
|
|
|
-------------------------------------------------- */
|
|
|
|
code {
|
|
|
|
display: block;
|
|
|
|
color: #666;
|
|
|
|
font-size: .8em;
|
|
|
|
}
|
|
|
|
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: 55.6em;
|
|
|
|
margin-bottom: 1.5em;
|
|
|
|
}
|
|
|
|
article > section p:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
article > section h2 {
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
padding-left: 1.5em;
|
|
|
|
padding-right: 1.5em;
|
|
|
|
max-width: 55.6em;
|
|
|
|
color: #ccc;
|
|
|
|
}
|
|
|
|
article > section#keysdark {
|
|
|
|
border-top: 1px solid #fff;
|
|
|
|
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;
|
|
|
|
box-shadow: 0 -1px 0 #9b9aa5;
|
|
|
|
}
|
|
|
|
article > section#keysios h2 {
|
|
|
|
color: #696972;
|
|
|
|
}
|
|
|
|
article > section#keysandroid {
|
|
|
|
background: #181818;
|
|
|
|
border-top: 1px solid #505050;
|
|
|
|
box-shadow: 0 -1px 0 #000000;
|
|
|
|
}
|
|
|
|
article > section#keysandroid h2 {
|
|
|
|
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 1em;
|
|
|
|
}
|
|
|
|
.navbar p {
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
padding-left: 1.5em;
|
|
|
|
padding-right: 1.5em;
|
|
|
|
max-width: 55.6em;
|
|
|
|
text-align: left;
|
|
|
|
margin: 0;
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
2012-07-16 13:08:34 +02:00
|
|
|
kbd.android {
|
2012-07-16 14:50:02 +02:00
|
|
|
font-family: RobotoRegular, sans-serif;
|
2012-07-16 13:08:34 +02:00
|
|
|
font-weight: normal;
|
|
|
|
font-style: normal;
|
2012-07-16 14:50:02 +02:00
|
|
|
/*
|
|
|
|
The font files are a bit weirdly aligned,
|
|
|
|
this centers the glyphs on the buttons again
|
|
|
|
*/
|
|
|
|
|
2012-07-16 13:08:34 +02:00
|
|
|
padding: .3em .3em .2em .3em;
|
|
|
|
}
|