-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbook_print.css
executable file
·159 lines (144 loc) · 2.99 KB
/
book_print.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
151
152
153
154
155
156
157
158
159
/* $Id: book_print.css,v 1.3 2005/05/31 15:47:29 skodak Exp $ */
h1, h2, h3, h4, h5, h6 {
margin-left: 0px;
font-family: "Times New Roman", Times, serif;
page-break-after: avoid;
page-break-inside: avoid;
}
.book_title {
margin-left: -40px;
font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
font-size: 3em;
font-weight: bold;
margin-top: 120px;
margin-bottom: 30px;
text-align: center;
}
.book_summary {
margin-left: -40px;
text-align: center;
margin-bottom: 120px;
}
.book_chapter_title {
font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
text-align: left;
font-size: 1.7em;
font-weight: bold;
border-style: solid;
border-top-width: 0px;
border-right-width: 0px;
border-bottom-width: 1px;
border-left-width: 0px;
margin-left: -40px;
margin-left: 0px;
margin-bottom: 20px;
}
.book_chapter {
page-break-before: always;
}
body {
margin-left: 50px;
margin-right: 10px;
color: #000000;
background-color: #FFFFFF;
font-family: "Times New Roman", Times, serif;
font-size: 1em;
font-weight: normal;
text-decoration: none;
}
/* link rewriting for mozilla - collides with filters :-( */
/*
a[href^="http://"]:after, a[href^="ftp://"]:after {
content: " ["attr(href)"]";
}
*/
/* just some hack - ignore user defined <font> */
font {
color: #000000;
background-color: #EEEEEE;
font-family: "Times New Roman", Times, serif;
font-size: 1em;
font-weight: normal;
text-decoration: none;
}
/* ===== TOC numbering styles ===== */
/* numbering == NONE */
.book_toc_none {
page-break-before: always;
}
.book_toc_none ul {
margin-left: 0px;
padding-left: 0px;
}
.book_toc_none ul ul {
margin-left: 0px;
padding-left: 0px;
}
.book_toc_none li {
margin-top: 10px;
list-style: none;
}
.book_toc_none li li {
margin-top: 0px;
list-style: none;
}
/* numbering == NUMBERED */
.book_toc_numbered {
page-break-before: always;
}
.book_toc_numbered ul {
margin-left: 0px;
padding-left: 0px;
}
.book_toc_numbered ul ul {
margin-left: 0px;
padding-left: 0px;
}
.book_toc_numbered li {
margin-top: 10px;
list-style: none;
}
.book_toc_numbered li li {
margin-top: 0px;
list-style: none;
}
/* numbering == BULLETS */
.book_toc_bullets {
page-break-before: always;
}
.book_toc_bullets ul {
margin-left: 0px;
padding-left: 0px;
}
.book_toc_bullets ul ul {
margin-left: 20px;
padding-left: 0px;
}
.book_toc_bullets li {
margin-top: 10px;
list-style: none;
}
.book_toc_bullets li li {
margin-top: 0px;
list-style: circle;
}
/* numbering == INDENTED */
.book_toc_indented {
page-break-before: always;
}
.book_toc_indented ul {
margin-left: 0px;
padding-left: 0px;
}
.book_toc_indented ul ul {
margin-left: 20px;
padding-left: 0px;
}
.book_toc_indented li {
margin-top: 10px;
list-style: none;
}
.book_toc_indented li li {
margin-top: 0px;
list-style: none;
}