-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathepub.css
More file actions
80 lines (75 loc) · 1.19 KB
/
epub.css
File metadata and controls
80 lines (75 loc) · 1.19 KB
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
/* This defines styles and classes used in the book */
body { font-size:1em;}
pre {
background:#eeeeee;
line-height:0.5em;
padding-bottom:0.3em;
}
code { font-family: monospace; font-size: 0.5em; }
h1 {
margin-bottom:2em;
font-size: 0.8em;
border-bottom: 0.4em solid #888899;
}
h2 {
margin-bottom:2em;
font-size: 0.7em;
border-bottom: 0.3em solid #888899;
}
h3 {
font-size: 0.6em;
margin-bottom:2em;
border-bottom: 0.2em solid #888899;
}
h4,h5,h6 {
margin-bottom:2em;
border-bottom: none;
font-size: 0.5em;
}
.title {
font-size: 0.8em;
border-bottom: none;
}
.author {
font-size: 0.6em;
border-bottom: none;
}
table {
margin-left: auto;
margin-right: auto;
}
p,center{
padding:0;
margin:0;
text-indent:.5em;
font-size:.5em;
}
th,td,li {
font-size:.5em;
}
tr { background:#eeeeee;}
tr:nth-child(even){
background:#F8F8F8;
}
th{
background:#222222;
color:white;
}
blockquote{
margin-left:3em;
margin-right:3em;
}
.caption{
text-align:center;
font-style:italic;
margin-bottom:1em;
margin-top:.2em;
font-size:.8em;
}
blockquote > p{
text-indent:0;
margin-bottom:1em;
}
/*img[alt=char1] { height:1em; }
img[alt=char2] { height:2em; }
img[alt=char3] { height:3em; }*/