normalize.css/style.css

176 lines
3.2 KiB
CSS
Raw Normal View History

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;
}
.share-bar {
overflow: hidden;
margin: 40px 0 0;
*zoom: 1;
}
.share-opt {
float: left;
margin: 0 15px 0 0;
vertical-align: bottom;
}
.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;
}
}