Skip to content

Instantly share code, notes, and snippets.

@freelsn
Created May 7, 2019
Embed
What would you like to do?
Pandoc CSS
body {
margin: auto;
padding-right: 1em;
padding-left: 1em;
max-width: 44em;
border-left: 1px solid black;
border-right: 1px solid black;
/* font-family: Arial, Verdana, "Microsoft YaHei", "微软雅黑", sans-serif; */
font-family: "Lato", Helvetica, Arial, "Microsoft YaHei", "微软雅黑", sans-serif;
font-size: 18px;
line-height: 1.72222;
/* line-height: 140%; */
/* color: #333; */
color: #34495e;
background-color: #fff;
}
p {
font-size: 18px;
line-height: 1.72222;
margin: 0 0 15px;
}
a {
color: #16a085;
text-decoration: none;
transition: .25s;
}
a:hover, a:focus {
color: #1abc9c;
text-decoration: none;
}
a:focus {
outline: none;
}
/* pre {
border: 1px dotted gray;
background-color: #ececec;
color: #111111;
padding: 0.5em;
} */
code {
font-family: Console, monospace;
background-color: #eeeaea;
color: #000000;
padding-left: 0.3em;
padding-right: 0.3em;
margin: 0;
}
pre code {
font-size: 50%;
}
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;
border-bottom: 1px dotted black;
color: inherit;
/* color: #7a5ada; */
}
h1 {
font-size: 130%;
}
h2 {
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 {
font-weight: bold;
}
dd {
margin-top: 0;
}
#footer {
padding-top: 1em;
font-size: 70%;
color: gray;
text-align: center;
}
/* Center Images */
/* https://www.w3schools.com/howto/howto_css_image_center.asp */
img {
display: block;
margin-left: auto;
margin-right: auto;
}
div#TOC {
margin: 1em;
/* display: table; */
font-size: 90%;
}
blockquote p {
background-color: moccasin;
}
ol {
margin-top: 0;
padding-top: 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment