static-pages.less 15.4 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
    -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;
Karl Hasselbring's avatar
   
Karl Hasselbring committed
114
115
116
117
118
    -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
}

Karl Hasselbring's avatar
   
Karl Hasselbring committed
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
@keyframes dropdown-animation {
    0% {
        max-height: 0px;
        padding: 0px 0;
        border: none
    }
    1% {
        padding: 5px 0;
        border: 1px solid @metager-dropdown-toggle-hover-or-focus-color;
    }
    100% {
        max-height: 1000px;
        padding: 5px 0;
        border: 1px solid @metager-dropdown-toggle-hover-or-focus-color;
    }
}

.metager-dropdown:hover {
    background-color: @metager-navbar-toggle-hover-background-color;
    &>.metager-dropdown-menu {
        animation-name: dropdown-animation;
        animation-duration: 0.7s;
        animation-timing-function: ease-out;
        animation-fill-mode: forwards;
        animation-delay: 0.1s;
    }
197
198
199
}

.metager-navbar-toggle {
200
201
    color: @metager-navbar-toggle-color;
    background-color: @metager-navbar-toggle-background-color;
202
203
204
    padding: 5px 10px;
    margin: 5px 8px 5px 0;
    border-radius: 7px;
205
    border: 1px solid @metager-navbar-toggle-border-color;
206
207
208
    display: block;
    width: 36px;
    height: 30px;
209
    &:visited {
210
        color: @metager-navbar-toggle-visited-color;
211
    }
212
213
214
}

#toggle-nav-hide .metager-navbar-toggle {
215
    background-color: @toggle-nav-hide-or-metager-navbar-toggle-background-color;
216
217
}

218
@media (max-width: 979px) {
219
220
221
    #metager-static-nav-list {
        width: 100%;
        max-height: 40px;
222
        overflow: hidden;
223
224
225
226
227
        transition: max-height 1s ease;
    }
    #metager-static-nav-list:target {
        max-height: 1000px;
    }
228
    #metager-static-nav-list>li {
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
        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;
    }
}

245
246
@media (min-width: 980px) {
    .metager-navbar-toggle {
247
248
        display: none;
    }
Dominik Hebeler's avatar
Dominik Hebeler committed
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
#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);
    }
298
299
}

300
#mglogo>a {
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
    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;
}

316
317
318
319
320
321
322
#sponsors {
    a {
        font-size: 0.8em;
    }
    h2 {
        font-size: 1.5em;
    }
323
324
}

325
326
327
328
329
330
331
332
333
#moreInformation {
    box-shadow: none;
    margin-top: 5%;
    text-align: center;
    -moz-box-shadow: none;
    ul {
        padding: 0;
    }
    ul li {
334
        color: @more-information-ul-li-color;
335
336
337
338
339
    }
    &>div {
        font-size: 15px;
    }
    h2 {
340
        color: @more-information-h2-color;
341
342
343
344
345
        font-size: 25px;
    }
    a:hover {
        text-decoration: underline;
    }
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
}

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

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

361
main div#foki {
362
363
364
365
    margin: 5px 0;
    text-align: center;
}

366
367
368
369
370
371
div#top {
    padding-right: 35px;
}


div#bottom {
372
    background-color: @div-right-background-color;
373
374
    width: 100%;
    margin-right: auto;
375
376
    border-radius: 5px;
    padding: 20px;
377
    padding-top: 5px;
378
379
    p {
        white-space: normal;
380
        border-bottom: 1px solid @div-right-p-border-bottom-color;
381
382
383
        margin-bottom: 15px;
        padding-bottom: 15px;
    }
384
385
}

386
div#bottom label {
387
388
389
390
391
392
393
    display: block;
    vertical-align: middle;
    text-align: center;
    font-size: 18px; 
    color: #666;
}

394
div#bottom label:hover {
395
396
397
    color: #000;
}

398
div#bottom label::after {
399
400
401
402
403
404
405
406
407
408
  font-size: 18px;
  content: "▼";
  width: 20px;
  height: 20px;
  margin-left: 3px;
}

div#expand {
  max-height: 0px;
  overflow: hidden; 
409
410
411
412
  -webkit-transition: max-height 0.5s;
  -moz-transition: max-height 0.5s;
  -o-transition: max-height 0.5s;
  transition: max-height 0.5s;
413
414
415
416
417
418
419
420
421
422
423
424
}

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

input#toggle {
    display: none;
    visibility: hidden;
}
input#toggle:checked ~ label::after {
  content: "▲";
425
426
427
428
429
430
431
432
433
434
}

textarea#message {
    height: 200px;
}

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

435
#plugin-modal ol>li {
436
437
438
439
440
441
442
443
    margin-bottom: 5px;
}

.quicktip {
    margin-bottom: 15px;
    padding: 10px;
    line-height: 1.2 !important;
    font-family: Georgia, "Times New Roman", Palatino, Times, serif;
444
445
    color: @quicktip-color;
    border-left: 3px solid @quicktip-border-left-color;
446
    font-size: 14px;
447
448
449
450
451
    h1 {
        font-size: 22px;
        margin-top: 0px;
    }
    &.aufruf {
452
453
        color: @quicktip-aufruf-color;
        border-left: 3px solid @quicktip-aufruf-border-left-color;
454
    }
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
}

.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 {
479
    background-color: @navbar-default-background-color;
480
481
482
483
484
485
486
487
488
489
490
491
492
493
    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;
494
    background-color: @mg-panel-background-color;
495
496
497
    -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);
498
499
500
501
    @media (max-width: 768px) {
        margin: 0px;
        box-shadow: none;
    }
502
503
504
505
506
507
508
509
510
}

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

.form-group {
    font-family: sans-serif;
    font-size: 16px;
511
    color: @form-group-color;
512
513
514
515
516
517
518
519
520
521
522
523
524
525
    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;
526
527
    color: @metager-searchinput-color;
    background-color: @metager-searchinput-background-color;
528
    background-image: none;
529
    border: 1px solid @metager-searchinput-border-color;
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
    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;
545
546
547
    color: @metager-searchbutton-color;
    background-color: @metager-searchbutton-background-color;
    border: 1px solid @metager-searchbutton-border-color;
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
    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;
566
567
568
    &:visited {
        color: inherit;
    }
569
570
}

571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
.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;
597
598
599
    -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;
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
}

.bold {
    font-weight: bold;
}

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

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

.bitcoins {
    text-align: center;
617
    padding: 30px;
618
619
620
621
622
623
624
625
626
627
628
}

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

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

629
.settings-checkbox .settings-icon {
630
631
632
633
    margin-left: 5px;
    font-size: 12px;
}

634
.settings-btn+.settings-btn {
635
636
637
638
639
640
641
    margin-left: 10px;
}

.wikiqtextract p {
    margin-bottom: 0;
}

642
i.fa {
643
644
645
646
    background-color: transparent;
}

a.content.hidden-xs {
647
    color: @a-content-hidden-xs-color;
648
649
650
651
652
}

a.navbar-brand {
    line-height: 100%!important;
    padding: 0;
653
654
655
    position: absolute;
    z-index: 5;
    left: 10px;
656
657
}

658
659
.logo {
    height: 30px!important;
660
661
662
    &>h1 {
        font-size: 30px;
    }
663
664
}

665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
.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;
690
691
692
    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;
693
694
695
696
697
698
699
700
701
702
703
704
705
706
}

address {
    white-space: pre;
}

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

label a {
    color: inherit;
707
708
709
710
    &:hover {
        text-decoration: none;
        color: inherit;
    }
711
712
}

713
714
715
716
717
718
719
720
721
722
723
724
725
726
footer {
    margin: 30px 0px;
    bottom: 0;
    width: 100%;
    ul.list-inline {
        width: 100%;
    }
    li {
        width: 33%;
        text-align: center;
    }
    img {
        max-width: 100%;
    }
727
728
}

Dominik Hebeler's avatar
Dominik Hebeler committed
729
main ul li:not(.lslide) {
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
    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
752
753
.panel-title {
    font-weight: bold;
754
}