forked from Eninix/sigil-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
duokancpt.css
347 lines (289 loc) · 6.8 KB
/
duokancpt.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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
/*
duokan-text-indent: 0em;
为多看特有的首行缩进
0em 首行不缩进
2em 首行缩进2字符
*/
/* ----------------------------------------------------------------------------------------------------
段落样式
*/
/* 一级标题小标宋居中 */
h1.auxiliary-title1 {
font-family: "DK-XIAOBIAOSONG", "方正小标宋简体";
font-size: 28px;
text-align: center;
color: #91531d;
font-weight: normal;
margin-top: 2.5em;
margin-bottom: 2.5em;
}
/* 二级标题 */
h2.chapter-title2 {
font-family: "DK-XIAOBIAOSONG", "方正小标宋简体";
font-size: 26px;
text-indent: 0em;
duokan-text-indent: 0em;
color: #91531d;
font-weight: normal;
margin-top: 2em;
margin-bottom: 1.8em;
}
/* 三级标题 */
h3.chapter-title3 {
font-family: "DK-XIAOBIAOSONG", "方正小标宋简体";
font-size: 22px;
text-indent: 0em;
duokan-text-indent: 0em;
color: #91531d;
font-weight: normal;
margin-top: 2em;
margin-bottom: 1.8em;
}
/* 内文四级标题 */
h4.chapter-title4 {
font-size: 20px;
font-family: "DK-HEITI", "方正兰亭黑简体", "黑体";
font-weight: normal;
duokan-text-indent: 0em;
text-indent: 0em;
margin-top: 2em;
margin-bottom: 1.8em;
color: #91531d;
}
/* 内文五级标题 */
h5.chapter-title5 {
font-size: 18px;
font-family: "DK-HEITI", "方正兰亭黑简体", "黑体";
font-weight: normal;
duokan-text-indent: 0em;
text-indent: 0em;
border-left: solid 5px #d9d9d9;
padding-left: 0.7em;
margin-top: 2em;
margin-bottom: 1.8em;
color: #91531d;
}
/* 内文六级标题 */
h6.chapter-title6 {
font-size: 16px;
font-family: "DK-HEITI", "方正兰亭黑简体", "黑体";
font-weight: normal;
duokan-text-indent: 0em;
text-indent: 0em;
margin-top: 2em;
margin-bottom: 1.8em;
margin-left: 2em;
color: #91531d;
}
/* 章标题居左带细线 */
h2.bodycontent-title-2 {
color: #1f4a92;
font-size: 22px;
font-family: "DK-XIAOBIAOSONG", "方正小标宋简体";
font-weight: normal;
border-bottom: solid 1px #1f4a92;
padding: 0.2em 0em 0.5em 0em;
duokan-text-indent: 0em;
text-indent: 0em;
}
/* 章标题居左带粗线 */
h2.bodycontent-prefix-text-top {
font-family: "DK-XIAOBIAOSONG", "方正小标宋简体";
font-size: 22px;
color: #91531d;
font-weight: normal;
margin-top: 2%;
duokan-text-indent: 0em;
text-indent: 0em;
padding-bottom: 1em;
border-bottom: solid 4px #e8c696;
}
/* 章标题居右 */
h2.preface-title-two {
font-size: 22px;
font-family: "DK-XIAOBIAOSONG", "方正小标宋简体";
text-align: right;
font-weight: normal;
color: #cf181a;
margin-bottom: 3em;
}
/* 章标题居中带虚线 */
h2.chapter-title-center {
font-family: "DK-XIAOBIAOSONG", "方正小标宋简体";
font-weight: normal;
font-size: 22px;
color: #478686;
text-align: center;
border-bottom: dashed 1px #478686;
margin-bottom: 2em;
padding: 0.3em 0em 0.3em 0em;
}
/* 二级标题 */
h3.title2 {
font-family: "DK-HEITI", "方正兰亭黑简体", "黑体";
font-size: 18px;
duokan-text-indent: 0em;
text-indent: 0em;
font-weight: normal;
color: #91531d;
margin-top: 2.2em;
margin-bottom: 1.4em;
}
/* 三级标题 */
h4.title3 {
font-family: "DK-HEITI", "方正兰亭黑简体", "黑体";
font-size: 16px;
duokan-text-indent: 0em;
text-indent: 0em;
font-weight: normal;
color: #91531d;
margin-left: 2em;
margin-top: 2.2em;
margin-bottom: 1.4em;
}
/* 扉页章标题居右 */
h2.feiye-zi {
font-family: "DK-HEITI", "方正兰亭黑简体", "黑体";
text-align: right;
font-size: 16px;
color: #2F4F4F;
margin-top: 30%;
padding-right: 0.5em;
border-right: solid 2px #2F4F4F;
padding-bottom: 0.3em;
font-weight: normal;
}
/* 正文宋体 */
p.bodycontent-text {
font-family: "DK-SONGTI", "方正宋三简体", "方正书宋", "宋体";
font-size: 16px;
duokan-text-indent: 2em;
text-indent: 2em;
}
/* 正文宋体-强制左对齐 */
p.bodycontent-text-left {
font-family: "DK-SONGTI", "方正宋三简体", "方正书宋", "宋体";
font-size: 16px;
text-align: left;
duokan-text-indent: 2em;
text-indent: 2em;
}
/* 正文宋体-强制左对齐顶格 */
p.bodycontent-text-left0 {
font-family: "DK-SONGTI", "方正宋三简体", "方正书宋", "宋体";
font-size: 16px;
text-align: left;
duokan-text-indent: 0em;
text-indent: 0em;
}
/* 正文等线体 */
p.bodycontent-text-ds {
font-family: "DK-DENGXIAN";
font-size: 16px;
duokan-text-indent: 2em;
text-indent: 2em;
}
/* 正文黑体 */
p.bodycontent-text-ht {
font-family: "DK-HEITI", "方正兰亭黑简体", "黑体";
font-size: 16px;
duokan-text-indent: 2em;
text-indent: 2em;
}
/* 引文 */
p.bodycontent-reference-text {
font-family: "DK-KAITI", "方正楷体", "华文楷体", "楷体";
font-size: 16px;
duokan-text-indent: 2em;
text-indent: 2em;
}
/* 引文黑体标题居中 */
p.reference-title {
font-family: "DK-HEITI", "方正兰亭黑简体", "黑体";
font-size: 16px;
text-align: center;
}
/* 引文楷体 */
p.reference-text {
font-family: "DK-KAITI", "方正楷体","华文楷体","楷体";
font-size: 16px;
text-indent: 2em;
duokan-text-indent: 2em;
}
/* 引文楷体顶格 */
p.letter-head {
font-family: "DK-KAITI", "方正楷体", "华文楷体", "楷体";
font-size: 16px;
duokan-text-indent: 0em;
text-indent: 0em;
}
/* 版权信息页标题 */
h4.duokan-copyright-title {
font-size: 24px;
font-family: "DK-XIAOBIAOSONG", "方正小标宋简体";
font-weight: normal;
text-align: center;
}
/* 版权信息页正文 */
p.duokan-copyright-bodytext {
font-family: "DK-SONGTI", "方正宋三简体","方正书宋","宋体";
font-size: 16px;
text-indent: 2em;
duokan-text-indent: 2em;
}
/* ----------------------------------------------------------------------------------------------------
图片相关样式
*/
/* 多看注释 */
img.duokan-footnote {
width: 0.8em;
}
/* 图片-无图说 */
img.duokan-image {
width: 100%;
}
/* 图片-有图说 */
img.duokan-image-note {
width: 100%;
font-size: 16px;
margin-bottom: 0.5em;
}
/* 图说楷体居左顶格 */
p.duokan-note {
font-family: "DK-KAITI", "方正楷体", "华文楷体", "楷体";
font-size: 14px;
text-indent: 0em;
duokan-text-indent: 0em;
text-align: justify;
}
/* 图说楷体居中 */
p.duokan-note-center {
font-family: "DK-KAITI", "方正楷体", "华文楷体", "楷体";
font-size: 14px;
text-align: center;
}
/* 图说楷体居右 */
p.duokan-note-right {
font-family: "DK-KAITI", "方正楷体", "华文楷体", "楷体";
font-size: 14px;
text-align: right;
}
/* ----------------------------------------------------------------------------------------------------
并列图相关样式
*/
/* 并列图表格样式 */
table.duokan-gallery-image {
font-size: 1em;
width: 100%;
margin: 1em auto 1em auto;
border-spacing: 0.3em 0.3em;
}
/* 并列图单元格样式 */
td.duokan-gallery-cell {
text-indent: 0em;
duokan-text-indent: 0em;
}
/* 格内图样式 */
div.duokan-in-cell {
width: 100%;
}