-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathepub.css
67 lines (60 loc) · 756 Bytes
/
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
body{
font-variant-numeric: oldstyle-nums;
hyphens: auto;
-epub-hyphens: auto;
}
p{
margin: 0;
text-indent: 1em;
}
hr{
border: none;
border-top: 1px solid;
height: 0;
margin: 1.5em auto;
width: 25%;
}
h1,
h2,
h3,
h4,
h5,
h6,
hgroup{
break-after: avoid;
break-inside: avoid;
font-variant: small-caps;
hyphens: none;
-epub-hyphens: none;
margin: 3em 0;
text-align: center;
}
p.continued,
h2 + p,
h3 + p,
h4 + p,
h5 + p,
h6 + p,
header + p,
hr + p,
hgroup + p,
p:first-child{
hanging-punctuation: first last;
text-indent: 0;
}
abbr{
border: none;
white-space: nowrap;
}
ol,
ul{
margin-bottom: 1em;
margin-top: 1em;
}
header{
break-after: avoid;
break-inside: avoid;
hyphens: none;
-epub-hyphens: none;
text-align: center;
}