Added epub customisation
This commit is contained in:
parent
f44993cec5
commit
4ed25d80d5
3 changed files with 105 additions and 1 deletions
70
epub/epub.css
Normal file
70
epub/epub.css
Normal file
|
|
@ -0,0 +1,70 @@
|
|||
body {
|
||||
margin: 5%;
|
||||
width: 700px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
code {
|
||||
font: medium Consolas, "Andale Mono", Monaco, "Liberation Mono", "Bitstream Vera Sans Mono", "DejaVu Sans Mono", monospace;
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
font-size: 90%;
|
||||
margin: 2em 20px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
blockquote p img {
|
||||
float: left;
|
||||
margin-right: 1em;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
font-weight: bold;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 266.7%;
|
||||
line-height: 1.1;
|
||||
margin: 1.49em 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 210%;
|
||||
line-height: 1.3125;
|
||||
margin: 1.167em 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
figure {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
pre, table {
|
||||
font-size: 75%;
|
||||
}
|
||||
|
||||
caption {
|
||||
font-weight: bold;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
pre {
|
||||
line-height: 1em;
|
||||
}
|
||||
|
||||
pre code {
|
||||
font-size: 75%;
|
||||
}
|
||||
|
||||
nav#TOC > ul, nav#TOC > ul > li > ul {
|
||||
list-style: decimal;
|
||||
}
|
||||
Loading…
Reference in a new issue