forked from phodal/ebook-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
epub.css
150 lines (150 loc) · 2.49 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
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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
html, body, div, span, h1, h2, h3, h4, h5, h6, p, a, em, strong, b, u, i, pre, code, del, strike, abbr, acronym, address, q, cite, blockquote, big, small, sub, sup, tt, var, center, img, dfn, ins, kbd, s, samp, dl, dt, dd, ol, ul, li, fieldset, legend, label, table, caption, tbody, tfoot, thead, tr, th, td {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-size: 100%;
vertical-align: baseline;
background: transparent;
}
@page {
margin: 5px;
}
p {
margin-bottom: 9px;
line-height: 1.4;
}
a {
color: #0069d6;
}
a:hover {
color: #0050a3;
text-decoration: none;
}
a img {
border: none;
}
h1, h2, h3, h4, h5, h6 {
color: #404040;
line-height: 1.5;
margin: 1em 0 0.5em;
-webkit-hyphens: none;
hyphens: none;
adobe-hyphenate: none;
}
h1 {
font-size: 220%;
margin-bottom: 1.5em;
}
h2 {
font-size: 190%;
}
h3 {
font-size: 160%;
}
h4 {
font-size: 140%;
}
h5 {
font-size: 130%;
}
h6 {
font-size: 120%;
}
hr {
margin: 0 0 19px;
border: 0;
border-bottom: 1px solid #ccc;
}
blockquote {
padding: 13px 13px 21px 15px;
margin-bottom: 18px;
font-family: georgia, serif;
font-style: italic;
}
blockquote:before {
content: "\201C";
font-size: 300%;
margin-left: -10px;
font-family: serif;
color: #eee;
}
blockquote p {
font-size: 120%;
margin-bottom: 0;
font-style: italic;
}
code, pre {
font-family: monospace;
}
code {
background-color: #fee9cc;
color: rgba(0, 0, 0, 0.75);
padding: 1px 3px;
-webkit-border-radius: 5px;
border-radius: 5px;
font-size: 85%;
}
pre {
display: block;
padding: 14px;
margin: 0 0 18px;
font-size: 85%;
line-height: 1.3;
border: 1px solid #d9d9d9;
white-space: pre-wrap;
word-wrap: break-word;
-webkit-hyphens: none;
hyphens: none;
adobe-hyphenate: none;
}
pre code {
background-color: #fff;
color: #737373;
padding: 0;
}
code.sourceCode span.kw {
color: #007020;
font-weight: bold;
}
code.sourceCode span.dt {
color: #902000;
}
code.sourceCode span.dv {
color: #40a070;
}
code.sourceCode span.bn {
color: #40a070;
}
code.sourceCode span.fl {
color: #40a070;
}
code.sourceCode span.ch {
color: #4070a0;
}
code.sourceCode span.st {
color: #4070a0;
}
code.sourceCode span.co {
color: #60a0b0;
font-style: italic;
}
code.sourceCode span.ot {
color: #007020;
}
code.sourceCode span.al {
color: red;
font-weight: bold;
}
code.sourceCode span.fu {
color: #06287e;
}
code.sourceCode span.re {
}
code.sourceCode span.er {
color: red;
font-weight: bold;
}
body {
font-family: serif;
}