Skip to content

Instantly share code, notes, and snippets.

@poritsky
Created December 14, 2012 17:42
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save poritsky/4287232 to your computer and use it in GitHub Desktop.
Save poritsky/4287232 to your computer and use it in GitHub Desktop.
Modification of Moritz Zimmer's [iAWriterCSS](https://github.com/moritzz/iAWriterCSS) for [Marked](http://markedapp.com). Uses Kris Sowersby's font [Pitch](http://klim.co.nz/retail-fonts/pitch/).
html {
background-color: #f2f2f2;
color: #333;
}
body {
margin: 10%;
padding: 0;
border: 0;
font-size: 16px;
line-height: 1.6;
font-family: "Pitch";
word-wrap: break-word;
-webkit-hyphens: auto;
}
a {
color: #333;
text-decoration:none;
border-bottom: 1px solid #333;
border-bottom: 1px solid rgb(212,89,73);
}
a:hover {
text-decoration: none;
background: rgb(212,89,73);
color: #f2f2f2;
border-bottom: 1px solid rgb(212,89,73);
}
h1, h2, h3, h4, h5, h6 {
text-align: center;
font-weight: normal;
}
h1, h2, h3 {
font-family: "Pitch";
}
h1 {
font-size: 180%;
}
h2 {
font-size: 140%;
}
h3 {
font-size: 130%;
}
h4 {
font-size: 120%;
}
h5 {
font-size: 100%;
}
h6 {
font-style: italic;
font-size: 100%;
}
.footnote {
font-size: 50%;
vertical-align: super;
}
div.footnotes {
font-size: 80%;
}
pre, code {
white-space: pre-wrap;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment