Created
August 27, 2016 15:11
-
-
Save joshuakemmerling/c4a047d8f847c356317434eedac453a1 to your computer and use it in GitHub Desktop.
Default typography for an article. Does not apply to the entire site.
This file contains hidden or 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
article { | |
h1, h2, h3, h4, h5, h6, img, ul, ol { margin-bottom: 20px; } | |
h1 { font-size: 2em; line-height: 1.5; } | |
h2 { font-size: 1.5em; line-height: 1.5; } | |
h3 { font-size: 1.17em; line-height: 1.5; } | |
h4 { font-size: 1em; line-height: 1.5; } | |
h5 { font-size: 0.83em; line-height: 1.5; } | |
h6 { font-size: 0.67em; line-height: 1.5; } | |
strong { font-weight: bold; } | |
img { display: block; max-width: 100%; margin-bottom: 20px; } | |
li ul, li ol { margin-bottom: 0; } | |
ul { list-style: inside disc; } | |
ul li { padding-left: 20px; } | |
ol { list-style: inside decimal; } | |
ol li { padding-left: 20px; } | |
blockquote { border-left: solid 1px #eee; padding: 5px 0 5px 20px; margin-left: 20px; margin-bottom: 20px; } | |
blockquote p:last-child { margin-bottom: 0; } | |
blockquote ul:last-child { margin-bottom: 0; } | |
hr { border: 0; height: 1px; width: 100%; background: #eee; margin-bottom: 20px; } | |
code { border: solid 1px #e5e5e5; border-radius: 2px; background: #f5f5f5; padding: 0 5px; font-family: monospace; } | |
pre { margin-bottom: 20px; } | |
pre code { display: block; padding: 5px 10px; color: #000; overflow: auto; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment