1
|
/*
|
2
|
* This file is part of the LibreOffice project.
|
3
|
*
|
4
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
5
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
6
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
7
|
*
|
8
|
* This file incorporates work covered by the following license notice:
|
9
|
*
|
10
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
11
|
* contributor license agreements. See the NOTICE file distributed
|
12
|
* with this work for additional information regarding copyright
|
13
|
* ownership. The ASF licenses this file to you under the Apache
|
14
|
* License, Version 2.0 (the "License"); you may not use this file
|
15
|
* except in compliance with the License. You may obtain a copy of
|
16
|
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
17
|
*/
|
18
|
/*
|
19
|
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
20
|
+ LIBREOFFICE HELP IN BROWSER +
|
21
|
+ DEFAULT STYLESHEET +
|
22
|
+ WESTERN LANGUAGES +
|
23
|
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
24
|
|
25
|
We use px as the unit for navigation elements and fonts because we do
|
26
|
not want them to scale with browser-set font size.
|
27
|
We use rem as the unit for article and footer contents because they
|
28
|
do not break anything related to layout by scaling.
|
29
|
|
30
|
*/
|
31
|
|
32
|
body,
|
33
|
p,
|
34
|
h1,
|
35
|
h2,
|
36
|
h3,
|
37
|
h4,
|
38
|
h5,
|
39
|
h6,
|
40
|
.listitem,
|
41
|
.listitemintable,
|
42
|
.tablecontent {
|
43
|
font-family: -apple-system, system-ui, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", "DejaVu Sans", "Lucida Grande", "Helvetica Neue", Helvetica, Arial, sans-serif, FreeSerif, NanumGothic, "Noto Sans Tibetan", Taprom;
|
44
|
}
|
45
|
.input {
|
46
|
background-color: rgba(0,0,0,0.04);
|
47
|
transition-property: background-color;
|
48
|
transition-duration: 150ms;
|
49
|
border-bottom: 1px dashed rgba(0,0,0,0.1);
|
50
|
font-family: Menlo, Consolas, "DejaVu Sans Mono", "Nimbus Mono L", "Lucida Sans Typewriter", "Courier New", Courier, Monaco, monospace;
|
51
|
}
|
52
|
[data-tooltip]{
|
53
|
position:relative;
|
54
|
}
|
55
|
[data-tooltip]::before {
|
56
|
content: "";
|
57
|
position: absolute;
|
58
|
top:-6px;
|
59
|
left:50%;
|
60
|
transform: translateX(-50%);
|
61
|
border-width: 4px 6px 0 6px;
|
62
|
border-style: solid;
|
63
|
border-color: rgba(0,0,0,0.7) transparent transparent transparent;
|
64
|
z-index: 100;
|
65
|
opacity: 0;
|
66
|
pointer-events: none;
|
67
|
}
|
68
|
[data-tooltip]::after {
|
69
|
content: attr(data-tooltip);
|
70
|
position: absolute;
|
71
|
left:50%;
|
72
|
top:-6px;
|
73
|
transform: translateX(-50%) translateY(-100%);
|
74
|
background: rgba(0,0,0,0.7);
|
75
|
text-align: center;
|
76
|
color: #fff;
|
77
|
padding:4px 2px;
|
78
|
font-size: 12px;
|
79
|
min-width: 80px;
|
80
|
border-radius: 5px;
|
81
|
opacity: 0;
|
82
|
pointer-events: none;
|
83
|
}
|
84
|
[data-tooltip]:hover:before, [data-tooltip]:hover:after {
|
85
|
opacity: 1;
|
86
|
pointer-events: auto;
|
87
|
}
|
88
|
body {
|
89
|
background-color: #F7F8F7;
|
90
|
margin: 0;
|
91
|
line-height: normal;
|
92
|
}
|
93
|
::selection {
|
94
|
background: #BFFFB7;
|
95
|
}
|
96
|
a {
|
97
|
text-decoration: none;
|
98
|
color: #0379BC;
|
99
|
}
|
100
|
a:hover {
|
101
|
text-decoration: underline;
|
102
|
color: #0499EE;
|
103
|
}
|
104
|
pre,
|
105
|
.code,
|
106
|
.codeintable,
|
107
|
.example,
|
108
|
.exampleintable,
|
109
|
.literal,
|
110
|
.literalintable,
|
111
|
.path,
|
112
|
.pathintable {
|
113
|
background-color: rgba(0,0,0,0.04);
|
114
|
border-radius: 2px;
|
115
|
display: inline;
|
116
|
padding: 1px 3px;
|
117
|
font-family: Menlo, Consolas, "DejaVu Sans Mono", "Nimbus Mono L", "Lucida Sans Typewriter", "Courier New", Courier, Monaco, monospace;
|
118
|
}
|
119
|
.smathcode {
|
120
|
border-radius: 2px;
|
121
|
padding: 1px 3px;
|
122
|
font-family: Menlo, Consolas, "DejaVu Sans Mono", "Nimbus Mono L", "Lucida Sans Typewriter", "Courier New", Courier, Monaco, monospace;
|
123
|
}
|
124
|
.acronym {
|
125
|
font-weight: bold;
|
126
|
}
|
127
|
.related {
|
128
|
font-weight: bold;
|
129
|
margin-top: 1.67rem;
|
130
|
border-top: 1px solid black;
|
131
|
}
|
132
|
.emph,
|
133
|
.menuitem {
|
134
|
font-weight: bold;
|
135
|
}
|
136
|
.keycode {
|
137
|
/*font-weight: bold;*/
|
138
|
font-family: Menlo, Consolas, "DejaVu Sans Mono", "Nimbus Mono L", "Lucida Sans Typewriter", "Courier New", Courier, Monaco, monospace;
|
139
|
}
|
140
|
.widget{
|
141
|
padding: 1px 10px;
|
142
|
background: #f0f0f0;
|
143
|
background: linear-gradient(to bottom,#f0f0f0,#fcfcfc);
|
144
|
border-radius: 3px;
|
145
|
color: #303030;
|
146
|
border: 1px solid #a0a0a0;
|
147
|
border-bottom-width: 2px;
|
148
|
white-space: nowrap;
|
149
|
}
|
150
|
/* div's for warning, tip and note */
|
151
|
.note,
|
152
|
.tip,
|
153
|
.warning {
|
154
|
display:flex;
|
155
|
align-items: center;
|
156
|
border-radius: 0 4px 4px 0;
|
157
|
box-shadow: 0 2px 2px -2px rgba(0,0,0,0.2);
|
158
|
padding: 0.2em;
|
159
|
margin-top: 15px;
|
160
|
}
|
161
|
.note {
|
162
|
border-left: 4px solid #61897C;
|
163
|
background-color: #D9E7E2;
|
164
|
}
|
165
|
.tip {
|
166
|
border-left: 4px solid #4866AD;
|
167
|
background-color: #CDD5E8;
|
168
|
}
|
169
|
.warning {
|
170
|
border-left: 4px solid #D5B177;
|
171
|
background-color: #F9EEDC;
|
172
|
}
|
173
|
.noteicon, .notetext {
|
174
|
padding:0.3em;
|
175
|
}
|
176
|
|
177
|
/* Table related classes */
|
178
|
|
179
|
/* Special case of table with one cell*/
|
180
|
.onecell{
|
181
|
box-shadow: rgba(0,0,0,0.1) 0px 1px 3px 0px;
|
182
|
border-bottom: 1px solid #E8E8E8;
|
183
|
}
|
184
|
/* Special case of icon table*/
|
185
|
.icontable {
|
186
|
display:flex;
|
187
|
align-items:center;
|
188
|
}
|
189
|
.iconcell {
|
190
|
padding:0.3em;
|
191
|
}
|
192
|
|
193
|
table {
|
194
|
background: #FEFEFE;
|
195
|
box-shadow: rgba(0,0,0,0.08) 0 1px 5px 0;
|
196
|
border-collapse: collapse;
|
197
|
margin-left: auto;
|
198
|
margin-right: auto;
|
199
|
}
|
200
|
table, th, td {
|
201
|
border-top: 0;
|
202
|
border-bottom: 1px solid #E8E8E8;
|
203
|
border-left: 0;
|
204
|
border-right: 0;
|
205
|
padding: 0.3em;
|
206
|
}
|
207
|
.tablehead,
|
208
|
.tableheadintable {
|
209
|
font-weight: bold;
|
210
|
margin-top: 0px;
|
211
|
}
|
212
|
.tableheadcell {
|
213
|
background: #148603;
|
214
|
color: white;
|
215
|
vertical-align:top;
|
216
|
}
|
217
|
|
218
|
h1,
|
219
|
h2,
|
220
|
h3,
|
221
|
h4,
|
222
|
h5,
|
223
|
h6 {
|
224
|
margin-bottom: 0.67rem;
|
225
|
color: #148603;
|
226
|
}
|
227
|
p,
|
228
|
ol,
|
229
|
td {
|
230
|
font-size: 1.17rem;
|
231
|
margin: 2px 0 2px 0;
|
232
|
}
|
233
|
h1 {
|
234
|
font-size: 1.83rem;
|
235
|
font-weight: 300;
|
236
|
border-bottom: 2px solid #148603;
|
237
|
margin-bottom: 1.67rem;
|
238
|
}
|
239
|
h1 a {
|
240
|
text-decoration: none;
|
241
|
}
|
242
|
h2 {
|
243
|
font-size: 1.55rem;
|
244
|
}
|
245
|
h3 {
|
246
|
font-size: 1.33rem;
|
247
|
}
|
248
|
h4,
|
249
|
h5,
|
250
|
h6 {
|
251
|
font-size: 1.17rem;
|
252
|
}
|
253
|
.relatedtopics {
|
254
|
font-weight: normal;
|
255
|
}
|
256
|
.howtoget {
|
257
|
background: #EBE7E9;
|
258
|
border-left: 4px solid #4E4B55;
|
259
|
border-radius: 0 4px 4px 0;
|
260
|
box-shadow: 0 2px 2px -2px rgba(0,0,0,0.2);
|
261
|
padding: 0.3em;
|
262
|
display: flex;
|
263
|
flex-direction: column;
|
264
|
}
|
265
|
.howtogetheader {
|
266
|
background: #FFF;
|
267
|
border-radius: 2px;
|
268
|
box-shadow: 0 2px 2px -2px rgba(0,0,0,0.2);
|
269
|
display: inline-block;
|
270
|
font-weight: bold;
|
271
|
padding: 0.1em 0.3em;
|
272
|
}
|
273
|
.howtogetbody {
|
274
|
padding: 0 0.3em;
|
275
|
}
|
276
|
.samplefilesection{
|
277
|
}
|
278
|
.wide {
|
279
|
width: 100%;
|
280
|
}
|
281
|
.topalign {
|
282
|
vertical-align: top;
|
283
|
border: 1px;
|
284
|
}
|
285
|
.bug {
|
286
|
color: red;
|
287
|
}
|
288
|
.debug {
|
289
|
border: 1px solid black;
|
290
|
padding: 3px;
|
291
|
display: none;
|
292
|
background-color: #222;
|
293
|
color: red;
|
294
|
text-align: left;
|
295
|
}
|
296
|
|
297
|
.donation p{
|
298
|
font-size:1.2rem;
|
299
|
padding: 3px 0 0 0 !important;
|
300
|
text-align: center;
|
301
|
}
|
302
|
.bascode {
|
303
|
margin-top:15px;
|
304
|
margin-bottom: 15px;
|
305
|
}
|
306
|
|
307
|
.infopage {
|
308
|
color: green;
|
309
|
font-size: 1.33rem;
|
310
|
font-weight: bold;
|
311
|
}
|
312
|
.topmenu {
|
313
|
font-size: 1rem;
|
314
|
font-weight: bold;
|
315
|
padding: 1px;
|
316
|
border: solid 1px #148603;
|
317
|
}
|
318
|
#DisplayArea {
|
319
|
background-color: #FCFCFC;
|
320
|
overflow: auto;
|
321
|
padding: 10px;
|
322
|
grid-area: main;
|
323
|
}
|
324
|
#DisplayArea > p {
|
325
|
margin-bottom: 10px;
|
326
|
}
|
327
|
.mediabutton {
|
328
|
background-color: cyan;
|
329
|
}
|
330
|
.mediadiv{
|
331
|
padding-bottom:5%;
|
332
|
height:0;
|
333
|
display:inline-block;
|
334
|
border:none;
|
335
|
}
|
336
|
.switch,
|
337
|
.switchinline {}
|
338
|
|
339
|
.tintro {
|
340
|
color: white;
|
341
|
background-color: green;
|
342
|
font-family: Arial;
|
343
|
font-weight: bold;
|
344
|
font-size: 2rem;
|
345
|
border: 1px solid black;
|
346
|
padding-bottom: 6px;
|
347
|
margin-bottom: 6px;
|
348
|
}
|
349
|
.embedded {}
|
350
|
.header-extrawurst {
|
351
|
grid-area: header;
|
352
|
}
|
353
|
header {
|
354
|
background-color: #18A303;
|
355
|
color: #fff;
|
356
|
height: 64px;
|
357
|
padding: 8px 8px 8px 16px;
|
358
|
}
|
359
|
.logo-container {
|
360
|
display: flex;
|
361
|
justify-content: space-between;
|
362
|
}
|
363
|
.logo {
|
364
|
color: #fff;
|
365
|
text-decoration: none;
|
366
|
display: flex;
|
367
|
}
|
368
|
.logo p {
|
369
|
font-size: 24px;
|
370
|
}
|
371
|
.logo .symbol {
|
372
|
background-image: url(media/navigation/libo-symbol-white.svg);
|
373
|
background-repeat: no-repeat;
|
374
|
background-size: contain;
|
375
|
width: 52px;
|
376
|
height: 60px;
|
377
|
margin-right: 10px;
|
378
|
}
|
379
|
.lang nav, .modules nav {
|
380
|
z-index: 100;
|
381
|
/* line them up horizontally */
|
382
|
display: flex;
|
383
|
flex-direction: row;
|
384
|
/* allow for scrolling */
|
385
|
overflow-x: auto;
|
386
|
overflow-y: hidden;
|
387
|
/* make it smooth on iOS */
|
388
|
-webkit-overflow-scrolling: touch;
|
389
|
}
|
390
|
.lang nav a, .modules nav a {
|
391
|
color: #fff;
|
392
|
background-color: #233336;
|
393
|
display: block;
|
394
|
line-height: 1.5;
|
395
|
padding: 3px 6px;
|
396
|
text-decoration: none;
|
397
|
font-size: 24px;
|
398
|
flex-shrink: 0;
|
399
|
z-index: 100;
|
400
|
white-space: nowrap;
|
401
|
}
|
402
|
footer {
|
403
|
border-top: 2px solid #148603;
|
404
|
padding: 15px 10px 0 10px;
|
405
|
margin: 40px 0;
|
406
|
}
|
407
|
footer p {
|
408
|
font-size: 0.98rem;
|
409
|
}
|
410
|
.gsc-control-cse {
|
411
|
border-color: transparent !important;
|
412
|
background-color: transparent !important;
|
413
|
padding: 3px 0 0 0 !important;
|
414
|
}
|
415
|
.modules input[type=checkbox], .lang input[type=checkbox],
|
416
|
.contents-treeview input[type=checkbox], aside input[type=checkbox] {
|
417
|
position: absolute;
|
418
|
opacity: 0;
|
419
|
}
|
420
|
label[for=accordion-1] {
|
421
|
color: #148603;
|
422
|
display: block;
|
423
|
padding: 10px 0 10px 20px;
|
424
|
font-size: 22px;
|
425
|
line-height: .6;
|
426
|
}
|
427
|
label[for=accordion-1]:after {
|
428
|
font-size: 44px;
|
429
|
content:"⌄";
|
430
|
}
|
431
|
aside input[type=checkbox] ~ .contents-treeview {
|
432
|
display: none;
|
433
|
}
|
434
|
aside input[type=checkbox]:checked ~ .contents-treeview {
|
435
|
color: #333;
|
436
|
z-index: 6;
|
437
|
display: block;
|
438
|
margin: 0 20px 0 20px;
|
439
|
}
|
440
|
.index-label {
|
441
|
font-size: 22px;
|
442
|
color: #148603;
|
443
|
padding-left: 20px;
|
444
|
margin: 20px 0 0 0;
|
445
|
}
|
446
|
#Index, .index {
|
447
|
margin-top: 10px;
|
448
|
}
|
449
|
.index {
|
450
|
padding-left: 15px;
|
451
|
}
|
452
|
.index a {
|
453
|
font-size: 16px;
|
454
|
}
|
455
|
#Bookmarks {
|
456
|
padding: 0 20px;
|
457
|
}
|
458
|
#Bookmarks p {
|
459
|
font-size: 22px;
|
460
|
font-weight: bold;
|
461
|
color: #148603;
|
462
|
}
|
463
|
#WRITER::before {
|
464
|
content: "WRITER";
|
465
|
display: block;
|
466
|
font-size: 22px;
|
467
|
font-weight: bold;
|
468
|
color: #148603;
|
469
|
}
|
470
|
#CALC::before {
|
471
|
content: "CALC";
|
472
|
display: block;
|
473
|
font-size: 22px;
|
474
|
font-weight: bold;
|
475
|
color: #148603;
|
476
|
}
|
477
|
#IMPRESS::before {
|
478
|
content: "IMPRESS";
|
479
|
display: block;
|
480
|
font-size: 22px;
|
481
|
font-weight: bold;
|
482
|
color: #148603;
|
483
|
}
|
484
|
#DRAW::before {
|
485
|
content: "DRAW";
|
486
|
display: block;
|
487
|
font-size: 22px;
|
488
|
font-weight: bold;
|
489
|
color: #148603;
|
490
|
}
|
491
|
#BASE::before {
|
492
|
content: "BASE";
|
493
|
display: block;
|
494
|
font-size: 22px;
|
495
|
font-weight: bold;
|
496
|
color: #148603;
|
497
|
}
|
498
|
#MATH::before {
|
499
|
content: "MATH";
|
500
|
display: block;
|
501
|
font-size: 22px;
|
502
|
font-weight: bold;
|
503
|
color: #148603;
|
504
|
}
|
505
|
#CHART::before {
|
506
|
content: "CHART";
|
507
|
display: block;
|
508
|
font-size: 22px;
|
509
|
font-weight: bold;
|
510
|
color: #148603;
|
511
|
}
|
512
|
#BASIC::before {
|
513
|
content: "BASIC";
|
514
|
display: block;
|
515
|
font-size: 22px;
|
516
|
font-weight: bold;
|
517
|
color: #148603;
|
518
|
}
|
519
|
#SHARED::before {
|
520
|
content: "GLOBAL";
|
521
|
display: block;
|
522
|
font-size: 22px;
|
523
|
font-weight: bold;
|
524
|
color: #148603;
|
525
|
}
|
526
|
.pagination-container {
|
527
|
text-align: center;
|
528
|
margin-left: -40px; /* The normalizer fails to account for this */
|
529
|
}
|
530
|
.pagination li {
|
531
|
display: inline-block;
|
532
|
padding: 0 5px;
|
533
|
}
|
534
|
.pagination a {
|
535
|
text-decoration: none;
|
536
|
}
|
537
|
.index a {
|
538
|
display: block;
|
539
|
}
|
540
|
.index .hidden {
|
541
|
display: none;
|
542
|
}
|
543
|
li.active {
|
544
|
background-color: #0379BC;
|
545
|
}
|
546
|
li.active a {
|
547
|
color: #fff;
|
548
|
}
|
549
|
li.disabled a {
|
550
|
opacity: 0.4;
|
551
|
pointer-events: none;
|
552
|
}
|
553
|
#search-bar {
|
554
|
border: 1px solid #CCC;
|
555
|
box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
|
556
|
box-sizing: border-box;
|
557
|
line-height: 1.5em;
|
558
|
margin-top: 10px;
|
559
|
outline: none;
|
560
|
padding: 0 .25em;
|
561
|
transition: all 0.30s ease-in-out;
|
562
|
width: 100%;
|
563
|
}
|
564
|
#search-bar:focus {
|
565
|
border: 1px solid #0EA5FB;
|
566
|
}
|
567
|
#search-bar::placeholder {
|
568
|
font-style: italic;
|
569
|
}
|
570
|
.donation {
|
571
|
margin-bottom: 1em;
|
572
|
background: #0379BC;
|
573
|
background-image: -webkit-linear-gradient(top, #3498db, #2980b9);
|
574
|
background-image: -moz-linear-gradient(top, #3498db, #2980b9);
|
575
|
background-image: -ms-linear-gradient(top, #3498db, #2980b9);
|
576
|
background-image: -o-linear-gradient(top, #3498db, #2980b9);
|
577
|
background-image: linear-gradient(to bottom, #3498db, #2980b9);
|
578
|
-webkit-border-radius: 8;
|
579
|
-moz-border-radius: 8;
|
580
|
border-radius: 8px;
|
581
|
padding: 5px 10px 5px 10px;
|
582
|
margin: 0 auto;
|
583
|
max-width: 300px;
|
584
|
color: #ffffff;
|
585
|
text-decoration: none;
|
586
|
}
|
587
|
.donation a {
|
588
|
color: white;
|
589
|
}
|
590
|
.donation:hover{
|
591
|
background: #0379BC;
|
592
|
background-image: -webkit-linear-gradient(top, #3cb0fd, #3498db);
|
593
|
background-image: -moz-linear-gradient(top, #3cb0fd, #3498db);
|
594
|
background-image: -ms-linear-gradient(top, #3cb0fd, #3498db);
|
595
|
background-image: -o-linear-gradient(top, #3cb0fd, #3498db);
|
596
|
background-image: linear-gradient(to bottom, #3cb0fd, #3498db);
|
597
|
text-decoration: none;
|
598
|
}
|
599
|
.google-search {
|
600
|
max-width: 300px;
|
601
|
margin: 0 auto;
|
602
|
}
|
603
|
.modules {
|
604
|
border-bottom: 2px solid #f3f3f3;
|
605
|
}
|
606
|
.modules label:after, .lang label:after {
|
607
|
font-size: 30px;
|
608
|
color: #fff;
|
609
|
content:"⌄";
|
610
|
}
|
611
|
.lang label, .modules label {
|
612
|
display: none;
|
613
|
}
|
614
|
.modules nav div {
|
615
|
background-repeat: no-repeat;
|
616
|
background-size: contain;
|
617
|
float: left;
|
618
|
display: none;
|
619
|
}
|
620
|
.calc-icon,
|
621
|
.chart-icon,
|
622
|
.writer-icon,
|
623
|
.impress-icon,
|
624
|
.draw-icon,
|
625
|
.math-icon,
|
626
|
.basic-icon,
|
627
|
.base-icon {
|
628
|
width: 21.5px;
|
629
|
height: 26px;
|
630
|
position: relative;
|
631
|
margin-right: 5px;
|
632
|
}
|
633
|
.calc-icon {
|
634
|
background-image: url(media/navigation/libo-calc.svg);
|
635
|
}
|
636
|
.writer-icon {
|
637
|
background-image: url(media/navigation/libo-writer.svg);
|
638
|
}
|
639
|
.impress-icon {
|
640
|
background-image: url(media/navigation/libo-impress.svg);
|
641
|
}
|
642
|
.draw-icon {
|
643
|
background-image: url(media/navigation/libo-draw.svg);
|
644
|
}
|
645
|
.math-icon {
|
646
|
background-image: url(media/navigation/libo-math.svg);
|
647
|
}
|
648
|
.base-icon {
|
649
|
background-image: url(media/navigation/libo-base.svg);
|
650
|
}
|
651
|
.chart-icon {
|
652
|
background-image: url(media/navigation/libo-chart.svg);
|
653
|
}
|
654
|
.basic-icon {
|
655
|
background-image: url(media/navigation/libo-basic.svg);
|
656
|
}
|
657
|
/* tree view */
|
658
|
|
659
|
.contents-treeview ul,
|
660
|
.contents-treeview li {
|
661
|
padding: 0;
|
662
|
margin: 0;
|
663
|
list-style: none;
|
664
|
font-size: 16px;
|
665
|
}
|
666
|
.contents-treeview {
|
667
|
-moz-user-select: none;
|
668
|
-webkit-user-select: none;
|
669
|
user-select: none;
|
670
|
}
|
671
|
.contents-treeview a, .index a {
|
672
|
text-decoration: none;
|
673
|
line-height: 1.4;
|
674
|
}
|
675
|
.contents-treeview a:hover, .index a:hover {
|
676
|
border-left: 2px solid rgba(0,0,0,0.05);
|
677
|
margin-left: -12px;
|
678
|
padding-left: 10px;
|
679
|
}
|
680
|
.contents-treeview input + label + ul {
|
681
|
margin: 0 0 0 22px;
|
682
|
}
|
683
|
.contents-treeview input ~ ul {
|
684
|
display: none;
|
685
|
}
|
686
|
.contents-treeview label,
|
687
|
.contents-treeview label:before {
|
688
|
cursor: pointer;
|
689
|
color: #111;
|
690
|
}
|
691
|
.contents-treeview input:disabled + label {
|
692
|
cursor: default;
|
693
|
opacity: .6;
|
694
|
}
|
695
|
.contents-treeview input:checked:not(:disabled) ~ ul {
|
696
|
display: block;
|
697
|
}
|
698
|
.contents-treeview label,
|
699
|
.contents-treeview a,
|
700
|
.contents-treeview label::before {
|
701
|
display: block;
|
702
|
vertical-align: middle;
|
703
|
}
|
704
|
.contents-treeview label:before {
|
705
|
content: "⊞";
|
706
|
color: #148603;
|
707
|
width: 16px;
|
708
|
margin: 0 5px 0 0;
|
709
|
display: inline-block;
|
710
|
}
|
711
|
.contents-treeview input:checked + label::before {
|
712
|
content: "⊟";
|
713
|
}
|
714
|
.contents-current {
|
715
|
background: rgba(0,0,0,0.05);
|
716
|
border-left: 2px solid #0379BC;
|
717
|
font-weight: 600;
|
718
|
margin-left: -12px;
|
719
|
padding-left: 10px;
|
720
|
}
|
721
|
/* webkit adjacent element selector bugfix */
|
722
|
|
723
|
@media screen and (-webkit-min-device-pixel-ratio: 0) {
|
724
|
.contents-treeview {
|
725
|
-webkit-animation: webkit-adjacent-element-selector-bugfix infinite 1s;
|
726
|
}
|
727
|
@-webkit-keyframes webkit-adjacent-element-selector-bugfix {
|
728
|
from {
|
729
|
padding: 0;
|
730
|
}
|
731
|
to {
|
732
|
padding: 0;
|
733
|
}
|
734
|
}
|
735
|
}
|
736
|
@media screen and (min-width: 960px) {
|
737
|
.header-extrawurst {
|
738
|
position: fixed;
|
739
|
width: 100%;
|
740
|
top: 0px;
|
741
|
}
|
742
|
body {
|
743
|
padding-top: 60px;
|
744
|
}
|
745
|
.lang nav {
|
746
|
display: none;
|
747
|
}
|
748
|
.lang nav a {
|
749
|
font-size: 19px;
|
750
|
white-space: normal;
|
751
|
}
|
752
|
.lang label, .modules label {
|
753
|
cursor: pointer;
|
754
|
color: #fff;
|
755
|
font-size: 19px;
|
756
|
position: relative;
|
757
|
top: 40px;
|
758
|
display: block;
|
759
|
}
|
760
|
/* change the menu direction to stacked */
|
761
|
|
762
|
.lang input[type="checkbox"]:checked ~ nav, .modules input[type="checkbox"]:checked ~ nav {
|
763
|
display: flex;
|
764
|
flex-direction: column;
|
765
|
max-width: 120px;
|
766
|
overflow-y: auto;
|
767
|
overflow-x: hidden;
|
768
|
max-height: 480px;
|
769
|
position: absolute;
|
770
|
top: 80px;
|
771
|
}
|
772
|
.modules input[type="checkbox"]:checked ~ nav {
|
773
|
background-color: #101820;
|
774
|
text-align: left;
|
775
|
}
|
776
|
.modules nav {
|
777
|
display: none;
|
778
|
}
|
779
|
.modules nav div {
|
780
|
display: block;
|
781
|
}
|
782
|
.modules nav a {
|
783
|
font-size: 19px;
|
784
|
}
|
785
|
aside {
|
786
|
float: left;
|
787
|
width: 320px;
|
788
|
}
|
789
|
.leftside {
|
790
|
grid-area: leftside;
|
791
|
}
|
792
|
.rightside {
|
793
|
grid-area: rightside;
|
794
|
}
|
795
|
.lang {
|
796
|
position: absolute;
|
797
|
top: 0;
|
798
|
left: 200px;
|
799
|
}
|
800
|
.modules {
|
801
|
width: 120px;
|
802
|
position: absolute;
|
803
|
top: 0;
|
804
|
left: 80px;
|
805
|
border: none;
|
806
|
}
|
807
|
.donation {
|
808
|
position: fixed;
|
809
|
top: 10px;
|
810
|
left: 400px;
|
811
|
}
|
812
|
#DisplayArea {
|
813
|
background-color: #FCFCFC;
|
814
|
box-shadow: 0 2px 8px 0 rgba(0,0,0,.05);
|
815
|
padding: 10px 50px;
|
816
|
}
|
817
|
}
|
818
|
@media screen and (min-width: 1440px) {
|
819
|
.header-extrawurst {
|
820
|
position: fixed;
|
821
|
width: 100%;
|
822
|
top: 0px;
|
823
|
}
|
824
|
body {
|
825
|
padding-top: 60px;
|
826
|
}
|
827
|
.google-search {
|
828
|
margin: 0;
|
829
|
position: fixed;
|
830
|
top: 19px;
|
831
|
left: 860px;
|
832
|
border-radius: 8px;
|
833
|
}
|
834
|
.donation {
|
835
|
position: fixed;
|
836
|
max-width: 300px;
|
837
|
top: 10px;
|
838
|
left: 400px;
|
839
|
}
|
840
|
#Contents {
|
841
|
color: #333;
|
842
|
z-index: 6;
|
843
|
display: block;
|
844
|
margin: 0 20px 0 20px;
|
845
|
}
|
846
|
label[for=accordion-1] {
|
847
|
background-color: transparent;
|
848
|
text-decoration: none;
|
849
|
}
|
850
|
label[for=accordion-1]:hover {
|
851
|
background-color: transparent;
|
852
|
}
|
853
|
label[for=accordion-1]:after {
|
854
|
content: "";
|
855
|
}
|
856
|
}
|
857
|
@supports (grid-area: auto) {
|
858
|
@media screen and (min-width: 960px) {
|
859
|
body {
|
860
|
display: grid;
|
861
|
grid-template-columns: 320px 1fr;
|
862
|
grid-template-rows: minmax(1em, auto) minmax(1em, auto) 1fr;
|
863
|
grid-template-areas: "header header"
|
864
|
"rightside main"
|
865
|
"leftside main"
|
866
|
}
|
867
|
}
|
868
|
@media screen and (min-width: 1440px) {
|
869
|
body {
|
870
|
display: grid;
|
871
|
grid-template-columns: 320px 900px 1fr;
|
872
|
grid-template-rows: 1fr minmax(1em, auto);
|
873
|
grid-template-areas: "header header header"
|
874
|
"leftside main rightside"
|
875
|
}
|
876
|
.rightside {
|
877
|
width: auto;
|
878
|
border-right: none;
|
879
|
}
|
880
|
}
|
881
|
}
|