Last active
December 17, 2015 13:49
-
-
Save lbv/5619926 to your computer and use it in GitHub Desktop.
Stylesheet for pandoc-generated HTML
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 { | |
color: #222; | |
font-family: Droid Sans, Verdana, sans-serif; | |
font-size: 100%; | |
line-height: 140%; | |
margin: auto; | |
max-width: 48em; | |
padding-right: 1em; | |
padding-left: 1em; | |
} | |
nav#TOC { | |
background-color: #fff; | |
border: 1px solid #888a85; | |
border-radius: 8px; | |
float: right; | |
font-size: 80%; | |
margin-left: 1em; | |
padding: 1em 2em; | |
width: 16em; | |
} | |
nav#TOC a { | |
text-decoration: none; | |
} | |
nav#TOC ul { | |
margin-left: 0; | |
padding-left: 0; | |
} | |
nav#TOC ul li { | |
list-style-type: none; | |
font-weight: bold; | |
} | |
nav#TOC ul ul { | |
padding-left: 1.5em; | |
} | |
nav#TOC ul ul li { | |
list-style-type: disc; | |
font-weight: normal; | |
} | |
nav#TOC ul ul ul li { | |
list-style-type: circle; | |
} | |
blockquote { | |
border-left: 3px solid #ccc; | |
font-size: 90%; | |
margin-bottom: 10px; | |
margin-left: 50px; | |
margin-top: 10px; | |
padding-left: 15px; | |
} | |
pre { | |
border: 1px dotted gray; | |
background-color: #ececec; | |
color: #1111111; | |
padding: 0.5em; | |
} | |
code { | |
font-family: monospace; | |
} | |
h1 a, h2 a, h3 a, h4 a, h5 a { | |
text-decoration: none; | |
color: #7a5ada; | |
} | |
h1, h2, h3, h4, h5 { | |
font-family: verdana; | |
font-weight: bold; | |
color: #7a5ada; | |
} | |
h1 { | |
border-bottom: 1px solid #555753; | |
font-size: 130%; | |
} | |
h2 { | |
border-bottom: 1px dotted black; | |
font-size: 110%; | |
} | |
h3 { | |
font-size: 95%; | |
} | |
h4 { | |
font-size: 90%; | |
font-style: italic; | |
} | |
h5 { | |
font-size: 90%; | |
font-style: italic; | |
} | |
h1.title { | |
font-size: 200%; | |
font-weight: bold; | |
padding-top: 0.2em; | |
padding-bottom: 0.2em; | |
text-align: left; | |
border: none; | |
} | |
dt code { | |
font-weight: bold; | |
} | |
dd p { | |
margin-top: 0; | |
} | |
#footer { | |
padding-top: 1em; | |
font-size: 70%; | |
color: gray; | |
text-align: center; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment