/
local.css
119 lines (98 loc) · 1.88 KB
/
local.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
@charset "utf-8";
@namespace epub "http://www.idpf.org/2007/ops";
@namespace xml "http://www.w3.org/XML/1998/namespace";
figure{
break-inside: avoid;
margin: 1em 40px;
text-align: center;
}
figure img{
display: block;
margin: auto;
max-width: 100%;
}
/* All epigraphs */
[epub|type~="epigraph"]{
font-style: italic;
hyphens: none;
-epub-hyphens: none;
}
[epub|type~="epigraph"] em,
[epub|type~="epigraph"] i{
font-style: normal;
}
[epub|type~="epigraph"] cite{
font-style: normal;
font-variant: small-caps;
margin-top: 1em;
}
[epub|type~="epigraph"] cite i{
font-style: italic;
}
/* End all epigraphs */
/* Epigraphs in section headers */
section > header [epub|type~="epigraph"]{
display: inline-block;
margin: auto;
max-width: 80%;
text-align: initial;
}
section > header [epub|type~="epigraph"] + *{
margin-top: 3em;
}
@supports(display: table){
section > header [epub|type~="epigraph"]{
display: table;
}
}
/* End epigraphs in section headers */
/* Support for language tags in blockquotes */
blockquote[xml|lang]{
font-style: italic;
}
blockquote[xml|lang] em{
font-style: normal;
}
/* Verse */
[epub|type~="z3998:verse"] p{
text-align: initial;
text-indent: 0;
}
[epub|type~="z3998:verse"] p + p{
margin-top: 1em;
}
[epub|type~="z3998:verse"] p > span{
display: block;
padding-left: 1em;
text-indent: -1em;
}
[epub|type~="z3998:verse"] p > span + br{
display: none;
}
p span.i1{
padding-left: 2em;
text-indent: -1em;
}
p span.i10{
padding-left: 11em;
text-indent: -1em;
}
/* End verse */
/* Letter styling */
footer{
margin-top: 1em;
text-align: right;
}
[epub|type~="z3998:salutation"] + p{
text-indent: 0;
}
[epub|type~="z3998:salutation"],
[epub|type~="z3998:signature"]{
font-variant: small-caps;
}
/* In-line headers for the various tales (not in the ToC) */
p + section > header,
header + section > header{
font-variant: small-caps;
margin: 1em;
}