Last active
January 19, 2023 17:18
-
-
Save csilverman/5136b44de13e16c94db619f910d65df9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
gutenbook.css | |
Chris Silverman - v 0.9 | |
- - - | |
Use: install a plugin like Stylebot, and then apply this CSS to gutenberg.org. This | |
provides (in my mind) a slightly better reading experience than Safari Reader, and | |
definitely a better reading experience than the default HTML versions of their books. | |
*/ | |
.chapter { | |
margin: 0 auto; | |
max-width: 85ch; | |
} | |
.chapter p { | |
font-size: 1.44em; | |
line-height: 1.6; | |
font-family: Georgia; | |
color: #454545; | |
margin-bottom: 1em; | |
text-align: left; | |
} | |
.chapter .p2:before { | |
content: ''; | |
position: absolute; | |
top: 0; | |
left: 0; | |
width: 100%; | |
border-top: 1px solid #aaa; | |
} | |
.chapter .p2 { | |
position: relative; | |
padding-top: 4em; | |
margin-top: 4em; | |
} | |
.chapter h2 { | |
font-size: 3em; | |
font-family: system-ui; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment