forked from lpaulsen93/dokuwiki-plugin-odt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.css
346 lines (296 loc) · 5.22 KB
/
example.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
/**
* These is an example for ODT styles coded in CSS
* for the DokuWiki basic formatting tags.
*
* Do not edit this file. Instead add your own styles in
* the configured template directory ('tpl_dir') and set it under
* config option 'odt_template'.
*
* Notice: this is pseudo CSS. It can include elements or properties
* which are not known to CSS but exist in ODT format as ODT XML
* attributes or which have meaning to the ODT plugin only.
*
* P.S.: to be able to upload CSS files with the media manager
* you need to edit DokuWiki's mime config file.
* See https://www.dokuwiki.org/mime for more information.
*/
/* Headings 1 to 5
* DokuWiki syntax: ====== Heading ======
*/
h1,
h2,
h3,
h4,
h5 {
font-family: "Bitstream Vera Sans";
font-weight: bold;
font-style: normal;
}
h1 {
font-size: 24pt;
}
h2 {
font-size: 18pt;
}
h3 {
font-size: 14pt;
}
h4 {
font-size: 12pt;
}
h5 {
font-size: 10pt;
}
/* Normal text
* DokuWiki syntax: Just text
*/
p {
font-style: normal;
margin-top: 0cm;
margin-bottom: 0.212cm;
text-align: justify;
}
/* Emphasized, italic text
* DokuWiki syntax: //Italic text//
*/
em {
font-style: italic;
}
/* Bold text
* DokuWiki syntax: **Bold text**
*/
strong {
font-weight: bold;
}
/* Underlined text
* DokuWiki syntax: __Underlined text__
*/
u {
text-decoration: underline;
}
/* Monospaced text
* DokuWiki syntax: ''Monospaced text''
*/
code {
}
/* Deleted text
* DokuWiki syntax: <del>Deleted text</del>
*/
del {
text-decoration: line-through;
}
/* Preformatted Text
* DokuWiki syntax: <code>Preformatted text</code>
*/
pre {
font-family: "Bitstream Vera Sans Mono";
margin-top: 0cm;
margin-bottom: 0.2cm;
join-border: false;
}
/* Quotations
* DokuWiki syntax: > Quotation1
*/
quotation1,
quotation2,
quotation3,
quotation4,
quotation5 {
margin-top: 0.25cm;
margin-bottom: 0.25cm;
padding: 0.5cm;
}
quotation1 {
margin-left: 1cm;
border-left: 5pt solid #c0c0c0;
}
quotation2 {
margin-left: 2cm;
border-left: 5pt solid #9966cc;
}
quotation3 {
margin-left: 3cm;
border-left: 5pt solid #c5000b;
}
quotation4 {
margin-left: 4cm;
border-left: 5pt solid #579d1c;
}
quotation5 {
margin-left: 5cm;
border-left: 5pt solid #ff9966;
}
/* Table
* DokuWiki syntax: normal table syntax
* HINT: use pseudo property align (left, center, right)
* to align the whole table.
*/
table {
border-collapse: collapse;
margin-top: 0.25cm;
margin-bottom: 0.25cm;
}
/* Table heading
* DokuWiki syntax: normal table syntax
*/
th {
text-align: center;
font-weight: bold;
}
/* Table cell
* DokuWiki syntax: normal table syntax
*/
td {
border: 1pt solid black;
}
/* Horizontal line
* DokuWiki syntax: ----
*/
hr {
border-bottom: 0.04cm double #808080;
border-line-width-bottom: 0.002cm 0.035cm 0.002cm;
margin-bottom: 0.5cm;
}
/* Layouts for different list levels.
*
* You can also use images instead of numbers or bullets by using
* 'list-style-image: url('picture.png');' instead of 'list-style-type'.
*
* The base path is the media directory.
* So in this case the picture would be expected in file
* 'dokuwiki-installation-directory/data/media/picture.png'.
*/
/* Un-ordered list.
* DokuWiki syntax: * list item text
*/
/* Level 1
*/
ul {
list-style-type: disc;
margin-top: 0.5cm;
margin-bottom: 0.5cm;
}
/* Level 2
*/
ul ul {
list-style-type: circle;
}
/* Level 3
*/
ul ul ul {
list-style-type: square;
}
/* Level 4
*/
ul ul ul ul {
list-style-type: blackcircle;
}
/* Level 5
*/
ul ul ul ul ul {
list-style-type: heavycheckmark;
}
/* Level 6
*/
ul ul ul ul ul ul {
list-style-type: ballotx;
}
/* Level 7
*/
ul ul ul ul ul ul ul {
list-style-type: heavyrightarrow;
}
/* Level 8
*/
ul ul ul ul ul ul ul ul {
list-style-type: lightedrightarrow;
}
/* Level 9
*/
ul ul ul ul ul ul ul ul ul {
list-style-type: none;
}
/* Level 10
*/
ul ul ul ul ul ul ul ul ul ul {
list-style-type: bullet;
}
/* Ordered list.
* DokuWiki syntax: - list item text
*/
/* Level 1
*/
ol {
list-style-type: decimal;
}
/* Level 2
*/
ol ol {
list-style-type: decimal-leading-zero;
}
/* Level 3
*/
ol ol ol {
list-style-type: lower-alpha;
}
/* Level 4
*/
ol ol ol ol {
list-style-type: lower-latin;
}
/* Level 5
*/
ol ol ol ol ol {
list-style-type: lower-roman;
}
/* Level 6
*/
ol ol ol ol ol ol {
list-style-type: none;
}
/* Level 7
*/
ol ol ol ol ol ol ol {
list-style-type: upper-alpha;
}
/* Level 8
*/
ol ol ol ol ol ol ol ol {
list-style-type: upper-latin;
}
/* Level 9
*/
ol ol ol ol ol ol ol ol ol {
list-style-type: upper-roman;
}
/* Level 10
*/
ol ol ol ol ol ol ol ol ol ol {
list-style-type: decimal;
}
/* Internet link (not visited)
*/
a:link {
color: #000080;
text-decoration: underline;
}
/* Visited internet link
*/
a:visited {
color: #800000;
text-decoration: underline;
}
/* Local link (not visited)
*/
a.wikilink1:link {
color: #000000;
font-weight: bold;
text-decoration: underline;
}
/* Visited local link
*/
a.wikilink1:visited {
color: #000000;
font-weight: bold;
text-decoration: underline;
}