mirror of
https://github.com/Erreur32/html5demos.git
synced 2024-10-01 14:51:30 +02:00
255 lines
3.6 KiB
CSS
255 lines
3.6 KiB
CSS
body {
|
|
font: normal 16px/20px "Helvetica Neue", Helvetica, sans-serif;
|
|
background: rgb(237, 237, 236);
|
|
margin: 0;
|
|
margin-top: 40px;
|
|
padding: 0;
|
|
}
|
|
|
|
section, header, footer {
|
|
display: block;
|
|
}
|
|
|
|
#wrapper {
|
|
width: 600px;
|
|
margin: 0 auto;
|
|
background: #fff url(/images/shade.jpg) repeat-x center bottom;
|
|
-moz-border-radius: 10px;
|
|
-webkit-border-radius: 10px;
|
|
border-radius: 10px;
|
|
border-top: 1px solid #fff;
|
|
padding-bottom: 76px;
|
|
}
|
|
|
|
h1 {
|
|
padding-top: 10px;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 100%;
|
|
font-style: italic;
|
|
}
|
|
|
|
header,
|
|
article > *,
|
|
footer > * {
|
|
margin: 20px;
|
|
}
|
|
|
|
footer > * {
|
|
margin: 20px;
|
|
color: #999;
|
|
}
|
|
|
|
#status {
|
|
padding: 5px;
|
|
color: #fff;
|
|
background: #ccc;
|
|
}
|
|
|
|
#status.fail {
|
|
background: #c00;
|
|
}
|
|
|
|
#status.success {
|
|
background: #0c0;
|
|
}
|
|
|
|
#status.offline {
|
|
background: #c00;
|
|
}
|
|
|
|
#status.online {
|
|
background: #0c0;
|
|
}
|
|
|
|
footer #built:hover:after {
|
|
content: '...quickly';
|
|
}
|
|
|
|
[contenteditable]:hover {
|
|
outline: 1px dotted #ccc;
|
|
}
|
|
|
|
abbr {
|
|
border-bottom: 0;
|
|
}
|
|
|
|
abbr[title] {
|
|
border-bottom: 1px dotted #ccc;
|
|
}
|
|
|
|
li {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
#ffad {
|
|
font-size: 90%;
|
|
border: 1px solid #ccc;
|
|
background: #fcfcfc;
|
|
display: block;
|
|
-moz-border-radius-topleft: 25px;
|
|
-webkit-border-top-left-radius: 25px;
|
|
-moz-border-radius-bottomright: 25px;
|
|
-webkit-border-bottom-right-radius: 25px;
|
|
border-top-left-radius: 25px;
|
|
border-bottom-right-radius: 25px;
|
|
color: #000;
|
|
text-decoration: none;
|
|
}
|
|
|
|
#ffad:hover {
|
|
border-color: #919191;
|
|
}
|
|
|
|
#ffad section {
|
|
padding: 20px;
|
|
}
|
|
|
|
#ffad p {
|
|
margin: 10px 10px 10px 100px;
|
|
}
|
|
|
|
#ffad img {
|
|
border: 0;
|
|
float: left;
|
|
display: block;
|
|
margin: 14px 14px 0;
|
|
}
|
|
|
|
#ffad .definition {
|
|
font-style: italic;
|
|
font-family: Georgia,Palatino,Palatino Linotype,Times,Times New Roman,serif;
|
|
}
|
|
|
|
#ffad .url {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
input {
|
|
font-size: 16px;
|
|
padding: 3px;
|
|
margin-left: 5px;
|
|
}
|
|
|
|
#view-source {
|
|
display: none;
|
|
}
|
|
|
|
body.view-source {
|
|
margin: 0;
|
|
background: #fff;
|
|
padding: 20px;
|
|
}
|
|
|
|
body.view-source > * {
|
|
display: none;
|
|
}
|
|
|
|
body.view-source #view-source {
|
|
display: block !important;
|
|
margin: 0;
|
|
}
|
|
|
|
#demos {
|
|
width: 560px;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
#demos .demo {
|
|
padding: 5px;
|
|
}
|
|
|
|
#demos a {
|
|
color: #00b;
|
|
text-decoration: none;
|
|
font-size: 14px;
|
|
}
|
|
|
|
#demos a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
#demos tbody tr {
|
|
border-top: 1px solid #DCDCDC;
|
|
}
|
|
|
|
|
|
#demos .demo p {
|
|
margin-top: 0;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
#demos .support {
|
|
width: 105px;
|
|
}
|
|
|
|
#demos .support span {
|
|
cursor: pointer;
|
|
overflow: hidden;
|
|
float: left;
|
|
display: block;
|
|
height: 16px;
|
|
width: 16px;
|
|
text-indent: -9999px;
|
|
background-image: url(/images/browsers.gif);
|
|
background-repeat: none;
|
|
margin-right: 5px;
|
|
}
|
|
|
|
#demos .support span.selected {
|
|
outline: 1px dashed #75784C;
|
|
}
|
|
|
|
#demos .support span.safari {
|
|
background-position: 0 0;
|
|
}
|
|
|
|
#demos .support span.chrome {
|
|
background-position: 16px 0;
|
|
}
|
|
|
|
#demos .support span.firefox {
|
|
background-position: 32px 0;
|
|
}
|
|
|
|
#demos .support span.ie {
|
|
background-position: 48px 0;
|
|
}
|
|
|
|
#demos .support span.opera {
|
|
background-position: 64px 0;
|
|
}
|
|
|
|
#demos .support span.nightly {
|
|
opacity: 0.5;
|
|
filter:alpha(opacity=50);
|
|
}
|
|
|
|
#demos .support span.none {
|
|
opacity: 0.1;
|
|
filter:alpha(opacity=10);
|
|
}
|
|
|
|
#demos .tags {
|
|
width: 140px;
|
|
}
|
|
|
|
#demos .tags span {
|
|
font-size: 11px;
|
|
color: #6E724E;
|
|
padding: 2px 5px;
|
|
border: 1px solid #D7D999;
|
|
background: #FFFFC6;
|
|
-moz-border-radius: 10px;
|
|
-webkit-border-radius: 10px;
|
|
border-radius: 10px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#demos .tags span:hover,
|
|
#demos .tags span.selected {
|
|
border: 1px solid #75784C;
|
|
background: #FF7;
|
|
color: #333521;
|
|
} |