forked from mikepsinn/disease-eradication-plan
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_epub_debug_styles.css
More file actions
61 lines (53 loc) · 1007 Bytes
/
_epub_debug_styles.css
File metadata and controls
61 lines (53 loc) · 1007 Bytes
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
50
51
52
53
54
55
56
57
58
59
60
61
/* Title page styling */
.titlepage {
text-align: center;
padding-top: 20%;
page-break-after: always;
}
.titlepage .title {
font-size: 2.2em;
margin-bottom: 0.5em;
line-height: 1.2;
}
.titlepage .subtitle {
font-size: 1.1em;
font-style: italic;
margin-bottom: 2em;
line-height: 1.4;
}
.titlepage .author {
font-size: 1.1em;
margin: 0.3em 0;
}
/* Inline math images (webtex) - align with surrounding text */
img.math {
vertical-align: middle;
height: 1.1em;
}
/* Display math images - center on page */
img.display-math,
p > img.math:only-child {
display: block;
margin: 1em auto;
height: auto;
max-width: 90%;
}
/* Figures: keep in document flow, prevent e-reader repositioning */
figure {
display: block;
margin: 1em 0;
text-align: center;
page-break-inside: avoid;
}
figure img {
display: block;
max-width: 100%;
height: auto;
margin: 0 auto;
}
figcaption {
font-size: 0.9em;
font-style: italic;
margin-top: 0.5em;
text-align: center;
}