Project

General

Profile

1
/** Allgemeine Formatierungen *
2

    
3
body {
4
    color: white;
5
    font-family: "Arial", sans-serif;
6
    font-size: 14px;
7
    text-transform: uppercase;
8
    margin: 0px;
9
}
10
 */
11

    
12
/** Formatierung für mobile Ansicht **/
13

    
14
/** Navigation wird als vertikale Liste über die komplette Breite dargestellt **/
15

    
16
nav {
17
    display: none;
18
}
19

    
20
nav ul {
21
     padding: 0px;
22
     margin: 0px;
23
     width: 100%;
24
}
25
 
26
nav ul li {
27
    list-style: none;
28
    padding: 20px 10px;
29
    border: 1px solid white;
30
    background: #b0d4e3; /* Old browsers */
31
    background: -moz-linear-gradient(top, #b0d4e3 0%, #88bacf 100%); /* FF3.6+ */
32
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#b0d4e3), color-stop(100%,#88bacf)); /* Chrome,Safari4+ */
33
    background: -webkit-linear-gradient(top, #b0d4e3 0%,#88bacf 100%); /* Chrome10+,Safari5.1+ */
34
    background: -o-linear-gradient(top, #b0d4e3 0%,#88bacf 100%); /* Opera 11.10+ */
35
    background: -ms-linear-gradient(top, #b0d4e3 0%,#88bacf 100%); /* IE10+ */
36
    background: linear-gradient(to bottom, #b0d4e3 0%,#88bacf 100%); /* W3C */
37
}
38

    
39

    
40
/** Anpassungen Checkbox+Label (Button) **/
41

    
42
input#open-menu {
43
    display: none;
44
}
45

    
46
input[type=checkbox]:checked ~ nav {
47
    display: block;
48
}
49
    
50
label.open-menu-label {
51
    background: #63b6db; /* Old browsers */
52
    background: -moz-linear-gradient(top, #63b6db 0%, #309dcf 100%); /* FF3.6+ */
53
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#63b6db), color-stop(100%,#309dcf)); /* Chrome,Safari4+ */
54
    background: -webkit-linear-gradient(top, #63b6db 0%,#309dcf 100%); /* Chrome10+,Safari5.1+ */
55
    background: -o-linear-gradient(top, #63b6db 0%,#309dcf 100%); /* Opera 11.10+ */
56
    background: -ms-linear-gradient(top, #63b6db 0%,#309dcf 100%); /* IE10+ */
57
    background: linear-gradient(to bottom, #63b6db 0%,#309dcf 100%); /* W3C */
58
    padding: 20px 10px;
59
    border: 1px solid white;
60
    display: block;
61

    
62
}
63

    
64

    
65
/** Formatierung für Tablet und Desktopansicht **/
66

    
67
@media only screen and (min-width: 760px) {
68

    
69
    /** Navigation wird als einfarbiger, horizontaler Balken dargestellt **/
70
    
71
    nav {
72
        display: block;
73
        text-align: center;
74
        padding: 20px;
75
        background: #63b6db; /* Old browsers */
76
        background: -moz-linear-gradient(top, #63b6db 0%, #309dcf 100%); /* FF3.6+ */
77
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#63b6db), color-stop(100%,#309dcf)); /* Chrome,Safari4+ */
78
        background: -webkit-linear-gradient(top, #63b6db 0%,#309dcf 100%); /* Chrome10+,Safari5.1+ */
79
        background: -o-linear-gradient(top, #63b6db 0%,#309dcf 100%); /* Opera 11.10+ */
80
        background: -ms-linear-gradient(top, #63b6db 0%,#309dcf 100%); /* IE10+ */
81
        background: linear-gradient(to bottom, #63b6db 0%,#309dcf 100%); /* W3C */
82
    }
83
    
84
    nav ul li {
85
        display:inline;
86
        width: 25%;
87
        border: 1px solid white;
88
        background: #63b6db; /* Old browsers */
89
        background: -moz-linear-gradient(top, #63b6db 0%, #309dcf 100%); /* FF3.6+ */
90
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#63b6db), color-stop(100%,#309dcf)); /* Chrome,Safari4+ */
91
        background: -webkit-linear-gradient(top, #63b6db 0%,#309dcf 100%); /* Chrome10+,Safari5.1+ */
92
        background: -o-linear-gradient(top, #63b6db 0%,#309dcf 100%); /* Opera 11.10+ */
93
        background: -ms-linear-gradient(top, #63b6db 0%,#309dcf 100%); /* IE10+ */
94
        background: linear-gradient(to bottom, #63b6db 0%,#309dcf 100%); /* W3C */
95
    }
96
    
97
    /** Label wird ausgeblendet **/
98
    label.open-menu-label {
99
        display: none;
100
    }
101
}
102

    
103

    
(11-11/20)