-
Notifications
You must be signed in to change notification settings - Fork 0
/
local.css
98 lines (83 loc) · 1.61 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
@charset "utf-8";
@namespace epub "http://www.idpf.org/2007/ops";
/* Begin EPIGRAPHS */
[epub|type~="epigraph"]{
font-style: italic;
hyphens: none;
-epub-hyphens: none;
}
/* Full-page epigraphs */
section[epub|type~="epigraph"]{
text-align: center;
}
section[epub|type~="epigraph"] > *{
display: inline-block;
margin: auto;
margin-top: 3em;
max-width: 80%;
text-align: initial;
}
@supports(display: flex){
section[epub|type~="epigraph"]{
align-items: center;
box-sizing: border-box;
display: flex;
flex-direction: column;
justify-content: center;
min-height: calc(98vh - 3em);
padding-top: 3em;
}
section[epub|type~="epigraph"] > *{
margin: 0;
}
}
/* End full-page epigraphs */
/* end epigraphs */
/* Begin LETTERS */
footer{
margin-top: 1em;
text-align: right;
}
[epub|type~="z3998:salutation"],
[epub|type~="z3998:signature"]{
font-variant: small-caps;
}
/* end letters */
/* Begin POETRY */
[epub|type~="z3998:poem"] p,
[epub|type~="z3998:verse"] p{
text-align: initial;
text-indent: 0;
}
[epub|type~="z3998:poem"] p > span,
[epub|type~="z3998:verse"] p > span{
display: block;
padding-left: 1em;
text-indent: -1em;
}
[epub|type~="z3998:poem"] p > span + br,
[epub|type~="z3998:verse"] p > span + br{
display: none;
}
[epub|type~="z3998:poem"] p + p,
[epub|type~="z3998:verse"] p + p{
margin-top: 1em;
}
p span.i1{
padding-left: 2em;
text-indent: -1em;
}
p span.i5{
padding-left: 6em;
text-indent: -1em;
}
/* end poetry */
/* Begin EXTRAS */
#chapter-9 blockquote p:nth-child(3) span:last-child,
q{
font-style: italic;
}
#epigraph p:nth-child(n+10){
font-style: normal;
}
/* end extras */