Last active
December 14, 2015 09:29
-
-
Save stengland/5065514 to your computer and use it in GitHub Desktop.
Basic styles for a Markdown document
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
html { | |
font-size: 14px; | |
line-height: 1.6; | |
font-family: helvetica,arial,freesans,clean,sans-serif; | |
color: black; | |
} | |
h1 { | |
margin: 15px 0; | |
padding-bottom: 2px; | |
font-size: 24px; | |
border-bottom: 1px solid #EEE; | |
} | |
h2 { | |
margin: 20px 0 10px 0; | |
font-size: 18px; | |
} | |
h3 { | |
margin: 20px 0 10px 0; | |
padding-bottom: 2px; | |
font-size: 14px; | |
border-bottom: 1px solid #DDD; | |
} | |
h4 { | |
font-size: 14px; | |
line-height: 26px; | |
padding: 18px 0 4px; | |
font-weight: bold; | |
text-transform: uppercase; | |
} | |
h5 { | |
font-size: 13px; | |
line-height: 26px; | |
padding: 14px 0 0; | |
font-weight: bold; | |
text-transform: uppercase; | |
} | |
h6 { | |
color: #666; | |
font-size: 14px; | |
line-height: 26px; | |
padding: 18px 0 0; | |
font-weight: normal; | |
font-variant: italic; | |
} | |
br+br { | |
line-height:0; | |
height:0; | |
display:none; | |
} | |
p { | |
margin: 1em 0; | |
} | |
blockquote { | |
margin: 14px 0; | |
border-left: 4px solid #DDD; | |
padding-left: 11px; | |
color: #555; | |
} | |
pre, code { | |
font-family: 'Bitstream Vera Sans Mono','Courier',monospace; | |
} | |
pre { | |
background-color: #F8F8F8; | |
border: 1px solid #CCC; | |
font-size: 13px; | |
line-height: 19px; | |
overflow: auto; | |
padding: 6px 10px; | |
border-radius: 3px; | |
color: black; | |
} | |
code { | |
margin: 0 2px; | |
padding: 2px 5px; | |
white-space: nowrap; | |
border: 1px solid #CCC; | |
background-color: #F8F8F8; | |
border-radius: 3px; | |
font-size: 12px !important; | |
} | |
pre > code { | |
margin: 0px; | |
padding: 0px; | |
white-space: pre; | |
border: none; | |
background-color: transparent; | |
border-radius: 0; | |
} | |
a, a code { | |
color: #4183C4; | |
text-decoration:none; | |
} | |
a:hover, a code:hover { | |
text-decoration:underline; | |
} | |
table { | |
border-collapse: collapse; | |
margin: 20px 0 0; | |
padding: 0; | |
} | |
table tr th, table tr td { | |
border: 1px solid #CCC; | |
text-align: left; | |
margin: 0; | |
padding: 6px 13px; | |
} | |
table tbody tr:nth-child(2n-1) { | |
background-color: #F8F8F8; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment