-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
107 lines (91 loc) · 2.25 KB
/
styles.css
File metadata and controls
107 lines (91 loc) · 2.25 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
/* Allgemeine Stile */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
overflow-x: hidden; /* Horizontalen Scrollen verhindern */
}
/* Überschrift-Stil */
#headline-container {
height: 100vh; /* Volle Höhe des Viewports */
background-image: url('Bild.jpg'); /* Hintergrundbild hinzufügen */
background-size: cover;
background-position: center; /* Bild zentrieren */
display: flex;
justify-content: center;
align-items: center;
}
#headline {
color: #fff; /* Textfarbe auf Weiß setzen */
text-align: center;
z-index: 999; /* Überschrift über andere Elemente legen */
position: relative; /* Position relativ für z-index */
}
#headline h1 {
font-size: 2.5em;
}
/* Inhaltsverzeichnis-Stil */
.sidebar {
position: fixed;
top: 0;
left: 0;
width: 200px;
height: 100%;
background-color: #333; /* Dunkle Hintergrundfarbe */
padding-top: 20px;
overflow-y: auto;
color: #fff; /* Textfarbe auf Weiß setzen */
z-index: 1000; /* Die Sidebar über anderen Inhalt legen */
}
.sidebar ul {
padding: 0;
}
.sidebar ul li {
padding: 10px;
}
.sidebar ul li a {
display: block; /* Den Links Block-Element-Eigenschaft geben */
text-decoration: none;
color: #fff; /* Linkfarbe auf Weiß setzen */
font-size: 16px; /* Schriftgröße hinzugefügt */
}
.sidebar ul li a:hover {
background-color: #555; /* Hintergrundfarbe ändern, wenn der Link hervorgehoben wird */
}
/* Abschnittsstil */
.section {
margin-left: 220px; /* Breite der Sidebar plus Abstand */
padding: 20px;
}
.section h3 {
margin-top: 0; /* Obenstes Margin für Überschriften entfernen */
}
/* Button-Stil */
.button-container {
display: flex;
flex-direction: column;
align-items: stretch; /* Buttons über die gesamte Breite strecken */
}
button {
background-color: #333; /* Hintergrundfarbe wie die Sidebar */
border: none;
color: white;
padding: 10px;
text-align: center;
text-decoration: none;
font-size: 16px;
margin-bottom: 8px; /* Abstand unten hinzufügen */
}
button:last-child {
margin-bottom: 0; /* Kein Abstand nach dem letzten Button */
}
button:hover {
background-color: #555; /* Dunkleres Grau beim Hovern */
}
/* Dropdown-Stil */
#dropdown-container {
margin-top: 20px;
}
#plant-info {
margin-top: 20px;
}