-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathepubstyle.css
101 lines (98 loc) · 2.42 KB
/
epubstyle.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
/* This defines styles and classes used in the book */
body { margin: 4%; font-size: medium; width: 92%; height: 92%; }
img { float: left; margin: 4%; }
div#cover-image { align-items: center; justify-content: center; }
div#cover-image img { float:none; width: 92%; align:center; }
p { text-align: justify; text-indent: 1em; float: none; }
code { font-family: monospace; }
h1 { text-align: left; float: none; }
h2 { text-align: left; float: none; page-break-after: avoid; page-break-before: always; }
h3 { text-align: left; float: none; page-break-after: avoid; page-break-before: always; }
h4 { text-align: left; float: none; }
h5 { text-align: left; float: none; }
h6 { text-align: left; float: none; }
h1.title { color: red; font-family: monospace; }
h2.author { }
h3.date { }
ol.toc { padding: 0; margin-left: 1em; }
ol.toc li { list-style-type: none; margin: 0; padding: 0; }
a.footnote-ref { vertical-align: super; }
em, em em em, em em em em em { font-style: italic;}
em em, em em em em { font-style: normal; }
table {
font-family: "Courier New", Courier, monospace;
width: 100%;
height: 100%;
/* text-align: center; */
border-collapse: collapse;
page-break-inside: avoid;
float: none;
}
table td {
/* padding: 3px 4px; */
float: none;
}
table th {
/* padding: 3px 4px; */
page-break-inside: avoid;
float: none;
}
table tbody td {
font-size: 11px;
overflow-wrap: normal;
float: none;
}
table tbody {
page-break-inside: avoid;
}
table thead {
background: #FFFFFF;
overflow-wrap: break-word;
float: none;
page-break-inside: avoid;
}
table thead th {
font-size: 12px;
font-weight: bold;
color: #333333;
/*text-align: center;*/
float: none;
}
table tfoot {
font-size: 8px;
font-weight: bold;
color: #333333;
float: none;
}
table tfoot td {
font-size: 8px;
float: none;
}
/*section#a-croconossorus-tale * {
font-family: cursive;
font-size: 16px;
margin: 4%;
}
section#a-croconossorus-tale h3 {
font-family: unset;
font-size: 14px;
font-weight: normal;
page-break-after: avoid;
}
section#a-croconossorus-tale * img {
position: absolute;
object-fit: cover;
margin-left: -8px;
margin-top: -8px;
padding: 0%;
z-index: -1;
}*/
/* https://friendsofepub.github.io/eBookTricks/ */
element {
-webkit-hyphenate-limit-before: 3;
-webkit-hyphenate-limit-after: 2;
-ms-hyphenate-limit-chars: 6 3 2;
hyphenate-limit-chars: 6 3 2;
-webkit-hyphenate-limit-lines: 2;
hyphenate-limit-lines: 2;
}