-
Notifications
You must be signed in to change notification settings - Fork 14
/
epub.css
49 lines (47 loc) · 1.61 KB
/
epub.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/* This defines styles and classes used in the book */
body { margin: 5%; text-align: justify; font-size: medium; }
code { font-family: monospace; }
h1 { text-align: left; }
h2 {
text-align: left;
display: block;
page-break-before: always; /* CSS 2 */
break-before: page; /* CSS 3+ */
}
h3 { text-align: left; }
h4 { text-align: left; }
h5 { text-align: left; }
h6 { text-align: left; }
/* For title, author, and date on the cover page */
h1.title { text-align: center; }
p.subtitle { text-align: center; }
p.author { text-align: center; }
p.date { text-align: center; }
nav#toc ol,
nav#landmarks ol { padding: 0; margin-left: 1em; }
nav#toc ol li,
nav#landmarks ol li { list-style-type: none; margin: 0; padding: 0; }
a.footnote-ref { vertical-align: super; }
em, em em em, em em em em em { font-style: italic;}
em em, em em em em { font-style: normal; }
code{ white-space: pre-wrap; }
span.smallcaps{ font-variant: small-caps; }
span.underline{ text-decoration: underline; }
q { quotes: "“" "”" "‘" "’"; }
div.column{ display: inline-block; vertical-align: top; width: 50%; }
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
@media screen { /* Workaround for iBooks issue; see #6242 */
.sourceCode {
overflow: visible !important;
white-space: pre-wrap !important;
}
}
.center { text-indent: 0; text-align: center; }
table { width: 80%; align: center; text-align: left; }
img.qr { height: 1.4em; width: auto; vertical-align:middle; padding-left: 0.2em; padding-right: 0.3em; }
img.ep-qr { height: 2em; width: auto; }
.math {
display:block;
padding-top: 1em;
padding-bottom: 0.5em;
}