static-pages.less 15.2 KB
Newer Older
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
@quicktip-background-color: @static-pages-color-white;
@metager-dropdown-menu-background-color: @static-pages-color-white;
@metager-dropdown-menu-box-shadow-color: fade(@static-pages-color-black, 17.5%);
@metager-dropdown-menu-li-a-color: @static-pages-color-almost-black;
@metager-dropdown-menu-li-a-hover-color: @static-pages-color-strong-grey;
@metager-dropdown-menu-li-a-hover-background-color: @static-pages-color-almost-white;
@spruch-color: @static-pages-spruch-color;
@spruch-border-left-color: @spruch-color;
@spruch-author-color: @static-pages-color-grey;
@metager-dropdown-toggle-hover-or-focus-color: fade(@static-pages-color-black, 15%);
@metager-navbar-toggle-color: @static-pages-color-grey;
@metager-navbar-toggle-background-color: @static-pages-color-white;
@metager-navbar-toggle-border-color: @static-pages-color-almost-white;
@metager-navbar-toggle-visited-color: @static-pages-color-grey;
@metager-navbar-toggle-hover-background-color: @static-pages-color-almost-white;
@toggle-nav-hide-or-metager-navbar-toggle-background-color: @static-pages-color-almost-white;
@more-information-ul-li-color: @static-pages-color-grey;
@more-information-h2-color: @static-pages-color-grey;
@div-right-background-color: @static-pages-color-almost-white;
@div-right-p-border-bottom-color: @static-pages-color-black;
@quicktip-color: @static-pages-color-black;
@quicktip-border-left-color: @static-pages-quicktip-aufruf-color;
@quicktip-aufruf-color: @static-pages-quicktip-aufruf-background;
@quicktip-aufruf-border-left-color: @quicktip-aufruf-color;
@navbar-default-background-color: @static-pages-color-white;
@mg-panel-background-color: @static-pages-color-white;
@form-group-color: @static-pages-color-black;
@metager-searchinput-color: @static-pages-color-strong-grey;
@metager-searchinput-background-color: @static-pages-color-white;
@metager-searchinput-border-color: @static-pages-color-almost-white;
@metager-searchbutton-color: @static-pages-color-strong-grey;
@metager-searchbutton-background-color: @static-pages-color-almost-white;
@metager-searchbutton-border-color: @static-pages-color-almost-white;
@modal-content-box-shadow-color: fade(@static-pages-color-black, 30%);
@a-content-hidden-xs-color: @static-pages-color-almost-black;
@section-box-shadow-color: fade(@static-pages-color-black, 55%);
37
38
* {
    font-family: Liberation Sans, sans-serif;
39
40
}

41
42
43
44
45
46
body {
    margin: 0;
    &>div {
        padding-top: 70px;
    }
    &.quicktips {
47
        background-color: @quicktip-background-color;
48
    }
49
50
}

51
52
53
footer {
    margin: 30px 0px;
    bottom: 0;
54
    width: 100%;
55
56
57
58
59
60
61
62
63
64
    ul.list-inline {
        width: 100%;
    }
    li {
        width: 33%;
        text-align: center;
    }
    img {
        max-width: 100%;
    }
65
66
}

67
68
ul.startpage {
    list-style-type: none;
Dominik Hebeler's avatar
Dominik Hebeler committed
69
70
}

71
72
73
74
75
76
77
78
79
80
81
82
nav {
    h1 {
        margin: 0;
        height: 100%;
        padding-left: 20px;
        padding-top: 8px;
        font-family: sans-serif;
        font-style: italic;
        margin: 0;
        font-weight: bold;
        line-height: 1;
        white-space: nowrap;
83
    }
84
85
    .navbar-brand>div.logo {
        height: 100%;
86
    }
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
}

ul.metager-dropdown-menu {
    list-style-type: none;
    padding-left: 0;
    position: absolute;
    top: 100%;
    left: auto;
    z-index: 1000;
    float: left;
    min-width: 160px;
    margin: 2px 0 0;
    margin-top: 0;
    list-style: none;
    font-size: 14px;
    text-align: left;
103
    background-color: @metager-dropdown-menu-background-color;
104
    border-radius: 4px;
105
    box-shadow: 0 6px 12px @metager-dropdown-menu-box-shadow-color;
106
107
108
    background-clip: padding-box;
    max-height: 0px;
    overflow: hidden;
109
110
111
112
113
114
115
116
117
118
    -webkit-transition: max-height 1s ease, padding 1s ease;
    -moz-transition: max-height 1s ease, padding 1s ease;
    -ms-transition: max-height 1s ease, padding 1s ease;
    -o-transition: max-height 1s ease, padding 1s ease;
    transition: max-height 1s ease, padding 1s ease;
    -webkit-transition-delay:.2s;
    -moz-transition-delay:.2s;
    -ms-transition-delay:.2s;
    -o-transition-delay:.2s;
    transition-delay:.2s;
119
120
121
122
123
124
    &>li>a {
        display: block;
        padding: 3px 20px;
        clear: both;
        font-weight: normal;
        line-height: 1.42857143;
125
        color: @metager-dropdown-menu-li-a-color;
126
127
128
        white-space: nowrap;
        &:hover {
            text-decoration: none;
129
130
            color: @metager-dropdown-menu-li-a-hover-color;
            background-color: @metager-dropdown-menu-li-a-hover-background-color;
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
#mglogo {
    width: 100%;
    text-align: center;
}

#spruch {
    margin-bottom: 20px;
    padding: 5px;
    line-height: 1.2;
    color: @spruch-color;
    border-left: 3px solid @spruch-border-left-color;
    font-size: 16px;
    font-family: Georgia, "Times New Roman", Palatino, Times, serif;
    .author {
        font-size: 14px;
        color: @spruch-author-color;
    }
}

#navbar-static-pages {
    z-index: 4;
    width: 100%;
}

159
160
161
162
163
164
165
166
167
168
#gutscheine {
    &>a {
        display: inline-block;
        &:first-child {
            padding-right: 0;
        }
        &:first-child+a {
            padding-left: 0;
        }
    }
169
170
}

171
172
173
174
a.metager-dropdown-toggle:hover+ul.metager-dropdown-menu,
a.metager-dropdown-toggle:focus+ul.metager-dropdown-menu,
ul.metager-dropdown-menu:hover,
#gutscheine>a:first-child:hover+a+ul.metager-dropdown-menu {
175
176
    max-height: 1000px;
    padding: 5px 0;
177
    border: 1px solid @metager-dropdown-toggle-hover-or-focus-color;
178
179
180
}

.metager-navbar-toggle {
181
182
    color: @metager-navbar-toggle-color;
    background-color: @metager-navbar-toggle-background-color;
183
184
185
    padding: 5px 10px;
    margin: 5px 8px 5px 0;
    border-radius: 7px;
186
    border: 1px solid @metager-navbar-toggle-border-color;
187
188
189
    display: block;
    width: 36px;
    height: 30px;
190
    &:visited {
191
        color: @metager-navbar-toggle-visited-color;
192
193
    }
    &:hover {
194
        background-color: @metager-navbar-toggle-hover-background-color;
195
    }
196
197
198
}

#toggle-nav-hide .metager-navbar-toggle {
199
    background-color: @toggle-nav-hide-or-metager-navbar-toggle-background-color;
200
201
}

202
@media (max-width: 979px) {
203
204
205
    #metager-static-nav-list {
        width: 100%;
        max-height: 40px;
206
        overflow: hidden;
207
208
209
210
211
        transition: max-height 1s ease;
    }
    #metager-static-nav-list:target {
        max-height: 1000px;
    }
212
    #metager-static-nav-list>li {
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
        display: initial;
    }
    ul.metager-dropdown-menu {
        position: inherit;
        width: 100%;
        border-radius: 0;
        box-shadow: initial;
    }
    ul#metager-static-nav-list:target #toggle-nav-show {
        display: none;
    }
    ul#metager-static-nav-list:target #toggle-nav-hide {
        display: initial!important;
    }
}

229
230
@media (min-width: 980px) {
    .metager-navbar-toggle {
231
232
        display: none;
    }
Dominik Hebeler's avatar
Dominik Hebeler committed
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
#color-chooser {
    padding: 0;
    a {
        display: block;
        width: 50px;
        height: 50px;
    }
    li {
        width: 50px;
        margin: 0;
    }
    #standard {
        background-color: rgb(255, 194, 107);
    }
    #standardHard {
        background-color: rgb(255, 128, 0);
    }
    #green {
        background-color: rgb(177, 226, 163);
    }
    #greenHard {
        background-color: rgb(127, 175, 27);
    }
    #blue {
        background-color: rgb(164, 192, 230);
    }
    #blueHard {
        background-color: rgb(2, 93, 140);
    }
    #red {
        background-color: rgb(255, 92, 92);
    }
    #redHard {
        background-color: rgb(255, 0, 0);
    }
    #pink {
        background-color: rgb(255, 196, 246);
    }
    #pinkHard {
        background-color: rgb(254, 67, 101);
    }
    #black {
        background-color: rgb(238, 238, 238);
    }
    #blackHard {
        background-color: rgb(50, 50, 50);
    }
282
283
}

284
#mglogo>a {
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
    display: block;
    width: 200px;
    text-decoration: none;
    font-size: 1.1em;
    font-family: Liberation Sans, sans-serif;
    font-weight: bold;
    font-style: italic;
    font-size: 1.0em;
    line-height: 1;
    white-space: nowrap;
    padding: 0.4em 0;
    border-radius: .25em;
    margin: 0 auto;
}

300
301
302
303
304
305
306
#sponsors {
    a {
        font-size: 0.8em;
    }
    h2 {
        font-size: 1.5em;
    }
307
308
}

309
310
311
312
313
314
315
316
317
#moreInformation {
    box-shadow: none;
    margin-top: 5%;
    text-align: center;
    -moz-box-shadow: none;
    ul {
        padding: 0;
    }
    ul li {
318
        color: @more-information-ul-li-color;
319
320
321
322
323
    }
    &>div {
        font-size: 15px;
    }
    h2 {
324
        color: @more-information-h2-color;
325
326
327
328
329
        font-size: 25px;
    }
    a:hover {
        text-decoration: underline;
    }
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
}

#searchForm button {
    width: 50px;
    line-height: 100%;
    height: 28px;
    border: 0;
    background-color: transparent;
    padding: 0;
}

li#info {
    white-space: pre-line;
}

345
main div#foki {
346
347
348
349
350
    margin: 5px 0;
    text-align: center;
}

div#right {
351
    background-color: @div-right-background-color;
352
353
    border-radius: 5px;
    padding: 20px;
354
    padding-top: 5px;
355
356
    p {
        white-space: normal;
357
        border-bottom: 1px solid @div-right-p-border-bottom-color;
358
359
360
        margin-bottom: 15px;
        padding-bottom: 15px;
    }
361
362
363
364
365
366
}

div#left {
    padding-right: 35px;
}

367
div#right {
Aria Givi's avatar
Aria Givi committed
368
    width: 100%;
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
    margin-right: auto;
}

div#right label {
    display: block;
    vertical-align: middle;
    text-align: center;
    font-size: 18px; 
    color: #666;
}

div#right label:hover {
    color: #000;
}

div#right label::after {
  font-size: 18px;
  content: "▼";
  width: 20px;
  height: 20px;
  margin-left: 3px;
}

div#expand {
  max-height: 0px;
  overflow: hidden; 
  -webkit-transition: max-height 0.2s;  /* Chrome 1-25, Safari 3.2+ */
  -moz-transition: max-height 0.2s;  /* Firefox 4-15 */
  -o-transition: max-height 0.2s;  /* Opera 10.50–12.00 */
  transition: max-height 0.2s;
}

input#toggle:checked ~ #expand {
  max-height: 900px;
}

input#toggle {
    display: none;
    visibility: hidden;
}
input#toggle:checked ~ label::after {
  content: "▲";
}

413
414
415
416
417
418
419
420
textarea#message {
    height: 200px;
}

#anpassen-label a.content {
    color: inherit;
}

421
#plugin-modal ol>li {
422
423
424
425
426
427
428
429
    margin-bottom: 5px;
}

.quicktip {
    margin-bottom: 15px;
    padding: 10px;
    line-height: 1.2 !important;
    font-family: Georgia, "Times New Roman", Palatino, Times, serif;
430
431
    color: @quicktip-color;
    border-left: 3px solid @quicktip-border-left-color;
432
    font-size: 14px;
433
434
435
436
437
    h1 {
        font-size: 22px;
        margin-top: 0px;
    }
    &.aufruf {
438
439
        color: @quicktip-aufruf-color;
        border-left: 3px solid @quicktip-aufruf-border-left-color;
440
    }
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
}

.wikiqtextract {
    font-family: Georgia, "Times New Roman", Palatino, Times, serif;
}

.qtheader {
    font-family: verdana, arial, helvetica, sans-serif;
}

.author {
    float: right !important;
}

.language-textarea {
    resize: none;
    overflow: hidden;
}

.language-name {
    white-space: pre;
}

.navbar-default {
465
    background-color: @navbar-default-background-color;
466
467
468
469
470
471
472
473
474
475
476
477
478
479
    border-radius: 0;
}

.row {
    margin-left: 0;
    margin-right: 0;
}

.mg-panel {
    text-align: left;
    margin: 0 auto;
    margin-top: 20px;
    padding: 10px 20px;
    margin-bottom: 0;
480
    background-color: @mg-panel-background-color;
481
482
483
    -webkit-box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.3);
    box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.3);
484
485
486
487
    @media (max-width: 768px) {
        margin: 0px;
        box-shadow: none;
    }
488
489
490
491
492
493
494
495
496
}

.input-group-addon {
    padding: 0;
}

.form-group {
    font-family: sans-serif;
    font-size: 16px;
497
    color: @form-group-color;
498
499
500
501
502
503
504
505
506
507
508
509
510
511
    background-color: transparent;
    text-align: center;
}

.kontakt-form-group {
    text-align: left;
    font-size: 14px;
}

.metager-searchinput {
    height: 30px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857;
512
513
    color: @metager-searchinput-color;
    background-color: @metager-searchinput-background-color;
514
    background-image: none;
515
    border: 1px solid @metager-searchinput-border-color;
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
    border-right: 0px none;
    border-radius: 4px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    margin: 0px;
}

.metager-searchbutton {
    height: 30px;
    width: 100px;
    border-left: 0px none;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
531
532
533
    color: @metager-searchbutton-color;
    background-color: @metager-searchbutton-background-color;
    border: 1px solid @metager-searchbutton-border-color;
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
    padding: 6px 12px;
    margin: 0px;
    font-size: 14px;
    font-weight: normal;
    line-height: 1;
    white-space: nowrap;
    text-align: center;
}

.metager-logo {
    height: 30px;
    float: left;
    top: -2px;
    margin-right: 3px;
}

.mutelink {
    color: inherit;
552
553
554
    &:visited {
        color: inherit;
    }
555
556
}

557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
.dotlist {
    list-style-type: disc;
    text-align: left;
}

.well-sm {
    margin: 10px 0px;
}

.subheading {
    font-size: 20px;
    margin: 20px 0px;
    white-space: pre-wrap;
}

.donation-form-group {
    text-align: left;
    font-size: 12px;
}

.beitritt-form-group {
    text-align: left;
}

.modal-content {
    border-radius: 0;
583
584
585
    -webkit-box-shadow: 1px 1px 3px 1px @modal-content-box-shadow-color;
    -moz-box-shadow: 1px 1px 3px 1px @modal-content-box-shadow-color;
    box-shadow: 1px 1px 3px 1px @modal-content-box-shadow-color;
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
}

.bold {
    font-weight: bold;
}

.fokus-category {
    font-size: 20px;
}

.settings-form-control {
    width: 200px;
    margin-top: 10px;
}

.bitcoins {
    text-align: center;
}

.checkbox {
    margin-top: 5px;
    margin-bottom: 5px;
}

.non-bold {
    font-weight: normal;
}

614
.settings-checkbox .settings-icon {
615
616
617
618
    margin-left: 5px;
    font-size: 12px;
}

619
.settings-btn+.settings-btn {
620
621
622
623
624
625
626
    margin-left: 10px;
}

.wikiqtextract p {
    margin-bottom: 0;
}

627
i.fa {
628
629
630
631
    background-color: transparent;
}

a.content.hidden-xs {
632
    color: @a-content-hidden-xs-color;
633
634
635
636
637
}

a.navbar-brand {
    line-height: 100%!important;
    padding: 0;
638
639
640
    position: absolute;
    z-index: 5;
    left: 10px;
641
642
}

643
644
.logo {
    height: 30px!important;
645
646
647
    &>h1 {
        font-size: 30px;
    }
648
649
}

650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
.dotlist li {
    margin-bottom: 5px;
}

form.contact {
    max-width: 500px;
}

label.select-label {
    margin-bottom: 0;
    margin-top: 10px;
}

@media print {
    .noprint {
        display: none!important;
    }
}

.donation-form-group label {
    font-weight: bold;
}

section {
    padding: 10px;
675
676
677
    box-shadow: 5px 5px 10px 0px @section-box-shadow-color;
    -moz-box-shadow: 5px 5px 10px 0px @section-box-shadow-color;
    -moz-box-shadow: 5px 5px 10px 0px @section-box-shadow-color;
678
679
680
681
682
683
684
685
686
687
688
689
690
691
}

address {
    white-space: pre;
}

code {
    white-space: pre-wrap;
    overflow-wrap: break-word;
    word-break: break-word;
}

label a {
    color: inherit;
692
693
694
695
    &:hover {
        text-decoration: none;
        color: inherit;
    }
696
697
}

698
699
700
701
702
703
704
705
706
707
708
709
710
711
footer {
    margin: 30px 0px;
    bottom: 0;
    width: 100%;
    ul.list-inline {
        width: 100%;
    }
    li {
        width: 33%;
        text-align: center;
    }
    img {
        max-width: 100%;
    }
712
713
}

Dominik Hebeler's avatar
Dominik Hebeler committed
714
main ul li:not(.lslide) {
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
    margin: 0 10px;
}

.searchform-bonus {
    list-style-type: none;
    text-align: center;
    margin-left: 0!important;
    margin-top: 10px;
}

fieldset input[type=text] {
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    border-width: 1px;
    overflow: visible;
}

main fieldset {
    border: 0;
}

Karl Hasselbring's avatar
   
Karl Hasselbring committed
737
738
.panel-title {
    font-weight: bold;
739
}