This repository was archived by the owner on Feb 22, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathstyles.css
82 lines (71 loc) · 1.36 KB
/
styles.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
/* Adapted from http://wiki.mobileread.com/wiki/CSS_template */
@page {
margin-top: 30px;
margin-bottom: 20px;
}
body {
margin-right: 30px;
margin-left: 30px;
padding: 0;
}
img {
max-width: 100%;
oeb-column-number: 1;
display: inline-block;
}
a {
font-style: italic;
color: #009;
text-decoration: none;
}
h1.title {
font-family: Verdana, Geneva, sans-serif;
font-size: x-large;
text-align: center;
font-weight: bold;
color: #000;
margin-top: 2em;
text-indent: 0;
-webkit-hyphens: none;
-moz-hyphens: none;
hyphens: none;
}
h1, h2, h3, h4, h5, h6 {
page-break-after: avoid;
-webkit-hyphenate-lines: 0 !important;
-webkit-hyphens: none !important;
adobe-hyphenate: none !important;
-moz-hyphens: none !important;
hyphens: none !important;
hyphenate-lines: 0;
color: #000;
}
h1 + p, h2 + p {
text-indent: 0;
}
p {
line-height: 1.5em;
text-align: justify;
widows: 2;
orphans: 2;
margin: 1em 0 0 0;
text-indent: 2em;
-webkit-hyphenate-before: 3;
hyphenate-before: 3;
-webkit-hyphenate-after: 3;
hyphenate-after: 3;
-webkit-hyphenate-lines: 2;
hyphenate-lines: 2;
}
ol {
margin: 1em 0 1em 0;
}
ul {
margin: 1em 0 1em 0;
}
li {
line-height: 1.5em;
orphans: 2;
widows: 2;
text-align: justify;
}