Skip to content

Instantly share code, notes, and snippets.

@Paul-Browne
Last active August 29, 2015 14:02
Show Gist options
  • Save Paul-Browne/11ff9db551b54b26094e to your computer and use it in GitHub Desktop.
Save Paul-Browne/11ff9db551b54b26094e to your computer and use it in GitHub Desktop.
typography - main
body {
color: #4d4d4d;
font-weight: 300;
font-size: 106.25%;
font-family: 'Open Sans', helvetica, verdana, sans-serif;
line-height: 1.5295;
}
p, pre, dl, menu, ol, ul, address, blockquote, figure, table, table caption {
margin-bottom: 1.5295em;
margin-top: 0;
}
a, a:visited {text-decoration: none; color: inherit;}
p a, p a:visited {
color: #37F;
text-decoration: none;
border-bottom: 1px solid transparent;
font-weight:400;
}
p a:hover, p a:visited:hover, p a:focus, p a:visited:focus {
outline: 0;
border-bottom: 1px solid #37F;
}
p.h1 a,p.h2 a,p.h3 a,
p.h1 a:hover,p.h2 a:hover,p.h3 a:hover,
p.h1 a:visited,p.h2 a:visited,p.h3 a:visited,
p.h1 a:visited:hover,p.h2 a:visited:hover,p.h3 a:visited:hover{ color:inherit;border-bottom: 1px solid transparent;}
a:link, a:visited:link {
-webkit-tap-highlight-color: rgba(0,0,0,0.3);
}
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6, .fineprint {
text-rendering: optimizelegibility;
font-weight: 400;
font-style: normal;
margin-top:0;
}
h1,.h1 {
font-size: 2.4706em;
line-height: 1.2381em;
margin-bottom: 0.6191em;
}
h2,.h2 {
font-size: 2.1177em;
line-height: 1.0834em;
margin-bottom: 0.7223em;
}
h3,.h3 {
font-size: 1.4118em;
line-height: 1.0834em;
margin-bottom: 1.0834em;
}
h4,.h4 {
font-size: 1.1765em;
line-height: 1.3em;
margin-bottom: 1.3em;
}
h5,.h5 {
text-transform: uppercase;
font-weight: 300;
letter-spacing: 1px;
font-size: 0.8236em;
line-height: 1.8572em;
margin-bottom: 1.8572em;
}
h6,.h6 {
text-transform: uppercase;
font-family: 'verdana';
font-size: 0.7059em;
line-height: 1.0834em;
margin-bottom: 1.0834em;
}
.fineprint {
color: #565656;
font-family: 'verdana';
text-shadow: 0 0;
font-weight: normal;
font-size: 0.5295em;
line-height: 1.4445em;
margin-bottom: 1.4445em;
}
.fineprint::selection {
background: #000;
color: #fff;
}
.fineprint::-moz-selection {
background: #000;
color: #fff;
}
b {
font-family:'Open Sans', sans-serif;
font-weight: 600;
}
strong {
font-family: 'Trebuchet MS';
font-weight: 700;
}
i, dfn, var {
font-family:'Open Sans', sans-serif;
font-weight:300;
}
em, cite {
font-family: 'Droid Serif', serif;
font-weight: 400;
}
dt {
font-weight:400;
}
dl.inline dd {
margin-left: 0;
}
dl.inline dt, dl.inline dd {
display: inline-block;
}
dl.inline dt:after {
content: ";";
}
dl.inline dd:after {
content: ".";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment