Skip to content

Instantly share code, notes, and snippets.

@charliepark
Created July 22, 2015 05:47
Show Gist options
  • Save charliepark/be7b6d694d4a2bb7b7f3 to your computer and use it in GitHub Desktop.
Save charliepark/be7b6d694d4a2bb7b7f3 to your computer and use it in GitHub Desktop.
CSS to insert into the style block of a Project Gutenberg page to make it more legible
*{font-family: "Avenir Next", "avenir next", avenir next, avenir !important;line-height:1.65}
h3{color: #444;margin: 1rem 0;}
hr{border:0;background: none;border-bottom: 1px solid #eee;}
h3 + hr{margin-bottom: 2rem}
p + hr{margin-top: 4rem;}
p{margin: 0 auto 1.65em;max-width: 36em;text-align: left}
.poem .stanza{background-color: #F6F6F6;border-radius: 10px;box-sizing: border-box;margin: 1em auto;max-width: 36rem;padding: 1rem 1.5rem;}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment