mirror of
https://github.com/necolas/normalize.css.git
synced 2024-12-25 15:14:19 +00:00
168 lines
3.0 KiB
CSS
168 lines
3.0 KiB
CSS
html {
|
|
font-size: 100%;
|
|
overflow-y: scroll;
|
|
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
|
-webkit-text-size-adjust: 100%;
|
|
-ms-text-size-adjust: 100%;
|
|
}
|
|
|
|
body {
|
|
max-width: 480px;
|
|
padding: 0 10px;
|
|
margin: 0 auto;
|
|
font: 1em/1.4 Calibri, sans-serif;
|
|
color: #222;
|
|
background: #fff;
|
|
_width: 480px;
|
|
}
|
|
|
|
img {
|
|
border: 0;
|
|
}
|
|
|
|
a {
|
|
font-weight:bold;
|
|
text-decoration: none;
|
|
color: #6EAD1A;
|
|
}
|
|
|
|
a:focus {
|
|
outline: thin dotted;
|
|
}
|
|
|
|
a:hover,
|
|
a:active {
|
|
outline: 0;
|
|
}
|
|
|
|
a:hover,
|
|
a:focus,
|
|
a:active {
|
|
text-decoration: underline;
|
|
color: #569107;
|
|
}
|
|
|
|
strong {
|
|
font-weight: bold;
|
|
}
|
|
|
|
pre {
|
|
display: block;
|
|
padding: 5px;
|
|
margin: 1em 0;
|
|
font-family: consolas, monospace;
|
|
font-size: 1em;
|
|
color: #fff;
|
|
background: #222;
|
|
white-space: pre;
|
|
white-space: pre-wrap;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
ul {
|
|
list-style: square;
|
|
padding: 0;
|
|
margin: 1.4em 0;
|
|
}
|
|
|
|
li {
|
|
margin: 0.35em 0;
|
|
}
|
|
|
|
h1 {
|
|
margin: 0.25em 0 0.5em;
|
|
font-size: 3.5em;
|
|
}
|
|
|
|
h2 {
|
|
margin: 1.25em 0 0.75em;
|
|
font-size: 1.5em;
|
|
}
|
|
|
|
p {
|
|
margin: 0 0 1em;
|
|
}
|
|
|
|
/* structure */
|
|
|
|
.fork img {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
}
|
|
|
|
.demo {
|
|
margin:1em 0 4em;
|
|
}
|
|
|
|
.demo p {
|
|
margin: 0.5em 0 0;
|
|
font-style: italic;
|
|
}
|
|
|
|
.button {
|
|
display: inline-block;
|
|
padding: 6px 15px;
|
|
border: 1px solid #487310;
|
|
margin: 20px 0 0;
|
|
font-size: 1.375em;
|
|
line-height: 1.273;
|
|
color: #fff;
|
|
background: #6EAD1A;
|
|
text-shadow:0 1px 1px rgba(0,0,0,0.4);
|
|
-moz-border-radius: 5px;
|
|
border-radius: 5px;
|
|
-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.4),
|
|
inset 0 1px rgba(255,255,255,0.5),
|
|
inset 0 12px rgba(255,255,255,0.2),
|
|
inset 0 10px 20px rgba(255,255,255,0.25),
|
|
inset 0 -12px 25px rgba(0,0,0,0.3);
|
|
-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.4),
|
|
inset 0 1px rgba(255,255,255,0.5),
|
|
inset 0 12px rgba(255,255,255,0.2),
|
|
inset 0 10px 20px rgba(255,255,255,0.25),
|
|
inset 0 -12px 25px rgba(0,0,0,0.3);
|
|
box-shadow: 0 1px 3px rgba(0,0,0,0.4),
|
|
inset 0 1px rgba(255,255,255,0.5),
|
|
inset 0 12px rgba(255,255,255,0.2),
|
|
inset 0 10px 10px rgba(255,255,255,0.25),
|
|
inset 0 -12px 25px rgba(0,0,0,0.3);
|
|
-webkit-transition: all 0.15s;
|
|
-moz-transition: all 0.15s;
|
|
-o-transition: all 0.15s;
|
|
transition: all 0.15s;
|
|
}
|
|
|
|
.button:hover,
|
|
.button:focus,
|
|
.button:active {
|
|
text-decoration: none;
|
|
color: #fff;
|
|
background: #569107;
|
|
}
|
|
|
|
.twitter-share-button {
|
|
margin: 20px 0 0;
|
|
}
|
|
|
|
.footer {
|
|
padding: 10px 0;
|
|
border-top: 1px solid #ccc;
|
|
margin: 3em 0 0;
|
|
font-size: 0.8125em;
|
|
}
|
|
|
|
@media screen and (max-width:480px) {
|
|
body {
|
|
font-size: 0.875em;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 3em;
|
|
}
|
|
|
|
.fork {
|
|
display: none;
|
|
}
|
|
}
|