citrine
Version:
A typography library for stylus to make working with vertical rhythm a little bit easier (comes with a nice set of defaults too !).
234 lines (233 loc) • 2.36 kB
CSS
html {
box-sizing: border-box;
}
*,
*:before,
*:after {
box-sizing: inherit;
}
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
display: block;
}
body {
line-height: 1;
}
ol,
ul {
list-style: none;
}
blockquote,
q {
quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
html {
font-size: 100%;
-webkit-tap-highlight-color: rgba(0,0,0,0);
-webkit-tap-highlight-color: transparent;
}
body {
font-size: 1rem;
line-height: 1.5;
-webkit-font-smoothing: antialiased;
}
h1 {
font-size: 2.44140625rem;
}
h2 {
font-size: 1.953125rem;
}
h3 {
font-size: 1.5625rem;
}
h4 {
font-size: 1.25rem;
}
h5 {
font-size: 1rem;
}
h6 {
font-size: 0.8rem;
}
p {
font-size: 1rem;
}
p,
h1,
h2,
h3,
h4,
h5,
h6,
ol,
ul,
dl {
margin: 0 0 0.75rem;
}
ul ul,
ol ol,
dl dl {
margin: 0 0 0 0.75rem;
}
ol {
list-style-type: decimal;
list-style-position: inside;
}
dl dt {
font-weight: bold;
}
dl dd {
margin-left: 0.75rem;
}
img {
margin: 0;
max-width: 100%;
}
strong {
font-weight: bold;
}
small {
font-size: 0.8rem;
}
em {
font-style: italic;
}
s,
del {
text-decoration: line-through;
}
blockquote {
border-left: 3px solid #eee;
padding-left: 0.75rem;
}
blockquote footer {
font-size: 12.8;
font-style: italic;
}
blockquote footer:before {
content: '\2014 \00A0';
}
html {
font-family: 'Raleway', sans-serif;
}
header {
background: #22a7f0;
color: #fff;
text-align: center;
}
main {
padding: 0.75rem;
}