Created
May 1, 2016 02:12
-
-
Save Drixled/a3166fc9ed4d486bc352e264929c0509 to your computer and use it in GitHub Desktop.
Good vertical rythym typography
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
body { | |
font-family: Helvetica, Arial, sans-serif; | |
font-weight: 400; | |
font-style: normal; | |
font-size: 1.125rem; | |
line-height: 1.6875rem; | |
max-width: 760px; | |
padding: 1.6875rem; | |
margin: 0 auto; | |
} | |
h1 { | |
font-family: inherit; | |
font-weight: 600; | |
font-style: inherit; | |
font-size: 4.75rem; | |
line-height: 5.0625rem; | |
margin-top: 1.6875rem; | |
margin-bottom: 0rem; | |
} | |
h2 { | |
font-family: inherit; | |
font-weight: 600; | |
font-style: inherit; | |
font-size: 2.9375rem; | |
line-height: 3.375rem; | |
margin-top: 1.6875rem; | |
margin-bottom: 1.6875rem; | |
} | |
h3 { | |
font-family: inherit; | |
font-weight: 600; | |
font-style: inherit; | |
font-size: 1.8125rem; | |
line-height: 3.375rem; | |
margin-top: 1.6875rem; | |
margin-bottom: 0rem; | |
} | |
h4 { | |
font-family: inherit; | |
font-weight: 600; | |
font-style: inherit; | |
font-size: 1.125rem; | |
line-height: 1.6875rem; | |
margin-top: 1.6875rem; | |
margin-bottom: 0rem; | |
} | |
h5 { | |
font-family: inherit; | |
font-weight: 400; | |
font-style: italic; | |
font-size: 1.125rem; | |
line-height: 1.6875rem; | |
margin-top: 1.6875rem; | |
margin-bottom: 0rem; | |
} | |
p, ul, ol, pre, table, blockquote { | |
margin-top: 0rem; | |
margin-bottom: 1.6875rem; | |
} | |
ul ul, ol ol, ul ol, ol ul { | |
margin-top: 0; | |
margin-bottom: 0; | |
} | |
hr { | |
border: 1px solid; | |
margin: -1px 0; | |
} | |
b, strong, em, small, code { | |
line-height: 1; | |
} | |
sup { | |
line-height: 0; | |
position: relative; | |
vertical-align: baseline; | |
top: -0.5em; | |
} | |
sub { | |
bottom: -0.25em; | |
} | |
a { | |
color: #268ED9; | |
} | |
.gridlover-grid { | |
background-image: linear-gradient(to bottom, hsla(200, 100%, 50%, .3) 1px, transparent 1px); | |
background-position: left -1px; | |
background-repeat: repeat; | |
background-size: 1.6875rem 1.6875rem; | |
} | |
.gridlover-grid body { | |
box-shadow: 1px 0px 0px hsla(200, 100%, 50%, .3), -1px 0px 0px hsla(200, 100%, 50%, .3); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment