xref: /template/readthedokus/css/basic.css (revision 05f80756528836998cd18cf81c89b33d70c2b933)
1* {
2	box-sizing: border-box;
3	-webkit-box-sizing: border-box;
4	-moz-box-sizing: border-box;
5}
6
7html
8{
9	font-size: 16px;
10	height: 100%;
11	-webkit-text-size-adjust: 100%;
12	-ms-text-size-adjust: 100%
13}
14
15body,html
16{
17	overflow-x: hidden;
18}
19
20body
21{
22    background-color: __background_alt__;
23    color: __text__;
24    font-family: Lato,proxima-nova,"Helvetica Neue",Arial,sans-serif;
25    font-weight: 400;
26	margin: 0;
27    min-height: 100%;
28	overflow-y: hidden;
29}
30
31.fa, .fas, .far, .fab {
32  font-family: 'Font Awesome 5 Free';
33}
34
35a
36{
37	color: __link__;
38	text-decoration: none;
39	cursor: pointer;
40}
41
42a:active,
43a:hover
44{
45	outline: 0
46}
47
48.dokuwiki a.wikilink2
49{
50	color: __missing__;
51	text-decoration: underline __missing__ 1px dashed !important;
52}
53
54.dokuwiki a.wikilink2:link,
55.dokuwiki a.wikilink2:visited
56{
57    border-bottom: none !important;
58}
59
60h1, h2, h3, h4, h5, h6
61{
62	clear: left;
63    font-weight: 700;
64    font-family: "Roboto Slab","ff-tisa-web-pro","Georgia","Arial","sans-serif";
65	margin-bottom: 1.5em;
66}
67
68h1
69{
70	font-size: 175%;
71}
72
73h2
74{
75	font-size: 150%;
76}
77
78h3
79{
80	font-size: 125%;
81}
82
83h4
84{
85	font-size: 115%;
86}
87
88h5
89{
90	font-size: 110%;
91}
92
93h6
94{
95	font-size: 100%
96}
97
98dl,
99ol,
100ul
101{
102	margin: 0;
103	padding: 0;
104}
105
106li
107{
108	margin-left: 24px;
109}
110
111dl
112{
113	margin-bottom: 24px;
114}
115
116dl dt
117{
118	font-weight: 700;
119	margin-bottom: 12px;
120}
121
122dl dd
123{
124	margin: 0 0 12px 24px;
125}
126
127dl.file dd
128{
129	margin-left: 0;
130}
131
132dl.file dt
133{
134	font-size: 80%;
135	margin-left: 0;
136	margin-bottom: 8px;
137}
138
139pre
140{
141	background-color: __background_code__;
142	border: 1px solid __border_code__;
143	display: block;
144	font-family: SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,Courier,monospace;
145	font-size: 12px;
146	line-height: 1.4;
147    	margin: 1px 0 24px;
148	overflow: auto;
149	padding: 12px;
150	white-space: pre;
151}
152
153:not(pre[class*=language-]) > code
154{
155	background-color: __background_monospace__;
156	border: 1px solid __border_monospace__;
157	color: __text_monospace__;
158	font-family: SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, Courier, monospace;
159	font-size: 75%;
160	max-width: 100%;
161	padding: 2px 5px;
162	overflow-wrap: break-word;
163}
164
165hr
166{
167    border: 0;
168    border-top: 1px solid #e1e4e5;
169    display: block;
170    height: 1px;
171    margin: 24px 0;
172    padding: 0;
173}
174
175input[type=text],
176input[type=password],
177input[type=email]
178{
179	border: 1px solid #ccc;
180	display: inline-block;
181	font-family: Lato,proxima-nova,Helvetica Neue,Arial,sans-serif;
182	font-size: 80%;
183	padding: 6px;
184}
185
186input:focus,
187select:focus,
188textarea:focus,
189button:focus
190{
191    outline: none;
192}
193
194.qq-upload-button,
195button,
196.btn
197{
198	background-color: __background_button__;
199    border: 1px solid rgba(0,0,0,0.1);
200    border-radius: 2px;
201    box-shadow: 0px 1px 2px -1px rgb(255,255,255,.5) inset, 0px -2px 0px 0px rgb(0,0,0,.1) inset;
202    color: __text_button__;
203    cursor: pointer;
204    display: inline-block;
205    font-family: "Lato","proxima-nova","Helvetica Neue",Arial,sans-serif;
206    font-size: 100%;
207    font-weight: 400;
208	height: 35px;
209    line-height: normal;
210    padding: 5px 12px 8px 12px;
211    text-decoration: none;
212    text-align: center;
213    user-select: none;
214    vertical-align: middle;
215    white-space: nowrap;
216    zoom: 1;
217    -webkit-user-drag: none;
218    -webkit-user-select: none;
219    -moz-user-select: none;
220    -ms-user-select: none;
221}
222
223button:hover,
224.btn:hover
225{
226    background-color: __background_button_hover__ !important;
227    color: __text_button_hover__;
228}
229
230main
231{
232	display: block;
233}
234
235table
236{
237	border: solid 1px __border__;
238    border-collapse: collapse;
239    border-spacing: 0;
240	line-height: 18px;
241	width: 100%;
242}
243
244table thead
245{
246    color: #000;
247    text-align: left;
248    vertical-align: bottom;
249    white-space: nowrap;
250}
251
252table th
253{
254    border-bottom: solid 2px __border__;
255	font-weight: 700;
256	padding: 8px 16px 24px;
257}
258
259table td
260{
261	border: solid 1px __border__;
262	line-height: 18px;
263	padding: 8px 16px;
264}
265
266table tr:nth-child(2n)
267{
268	background-color: #f3f6f6;
269}
270
271sub,
272sup {
273    font-size: .8em;
274    line-height: 1;
275}
276
277sub {
278    vertical-align: sub;
279}
280
281sup {
282    vertical-align: super;
283}
284
285blockquote {
286    padding: 0 .5em;
287    border: solid @ini_border;
288    border-width: 0 0 0 .25em;
289    line-height: 24px;
290    margin-bottom: 24px;
291}
292
293[dir=rtl] blockquote {
294    border-width: 0 .25em 0 0;
295}
296
297abbr[title], dfn[title] {
298    /* border-bottom: none; */
299    cursor: auto;
300	text-decoration: none;
301}
302
303header
304{
305	height: __height_header__;
306}
307
308footer
309{
310	height: __height_footer__
311}
312
313.visible
314{
315	display: block;
316}
317
318.invisible
319{
320	display: none;
321}
322
323#__media_query
324{
325	display: none;
326	--media-query: pc;
327}
328
329/* IE11 workaround */
330body[data-useragent*='Trident'] #__media_query
331{
332	-media-query: pc;
333}
334
335@media (max-width: __media_query_tb__)
336{
337	#__media_query
338	{
339		--media-query: tb;
340	}
341
342	/* IE11 workaround */
343	body[data-useragent*='Trident'] #__media_query
344	{
345		-media-query: tb;
346	}
347}
348
349@media (max-width: __media_query_sp__)
350{
351	#__media_query
352	{
353		--media-query: sp;
354	}
355
356	/* IE11 workaround */
357	body[data-useragent*='Trident'] #__media_query
358	{
359		-media-query: sp;
360	}
361}
362