Skip to content

Instantly share code, notes, and snippets.

@keelii
Last active January 4, 2016 15:49
Show Gist options
  • Save keelii/8643703 to your computer and use it in GitHub Desktop.
Save keelii/8643703 to your computer and use it in GitHub Desktop.
/* by @keelii */
html, body, div, p,
h1, h2, h3, h4, h5, h6,
code, pre,
ul, ol, li
blockquote {
margin:0;
padding:0;
font-family:inherit;
}
body {
padding:50px 15%;
font: 18px/1.7em Georgia, "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Verdana, Tahoma, sans-serif;
color:#666;
}
/* Typography */
a {
color: #690;
text-decoration:none;
}
a:hover {
text-decoration: underline;
}
h1, h2, h3, h4, h5, h6 {
color:#000;
font-weight:normal;
line-height:100%;
margin-bottom:2em;
}
h2 {
font-size:22px;
}
h3 {
font-size:20px;
}
h4 {
font-size:18px;
}
h5 {
font-size:16px;
}
h6 {
font-size:14px;
font-weight:bold;
}
ul, ol {
margin-bottom:1.5em;
padding-left:1.5em;
}
strong {
font-weight:bold;
}
em {
font-style:italic;
padding:0 2px;
}
p {
color:#666;
margin-bottom:1.5em;
}
p code, p pre,
ul code, ul pre,
ol code, ol pre,
dl code, dl pre,
span code, span pre,
h1 code, h1 pre,
h2 code, h2 pre,
h3 code, h3 pre,
h4 code, h4 pre,
h5 code, h5 pre,
h6 code, h6 pre,
table code, table pre
{
display:inline;
margin: 0 2px;
padding:0 5px;
border: 1px solid #eaeaea;
background-color: #f8f8f8;
border-radius:2px;
color:#666;
font: 1em/1.7em Georgia, "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Verdana, Tahoma, sans-serif;
}
code, pre {
display:block;
font-size:12px;
line-height:1.4em;
color:#000;
white-space: pre;
font-family: Consolas, "Lucida Console", monospace;
background:#fafafa;
padding:5px 1em;
border:1px solid #eee;
border-radius:5px;
}
pre {
margin-bottom:1.5em;
}
pre code {
border:none;
}
blockquote {
display:block;
padding:0 0 0 1em;
margin:0;
border-left:1px solid #bbb;
color:#999;
margin-bottom:1.5em;
}
blockquote p {
color:#999;
}
abbr {
border-bottom:1px dotted #bbb;
}
.note {
background:#fbf0d9;
padding:10px;
margin-bottom:10px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment