-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathstyle.css
105 lines (85 loc) · 2.67 KB
/
style.css
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
html, body {
margin: 0;
height: 100%;
text-align: center;
}
section {
min-height: 100%;
width: 100%;
}
a {text-decoration: none;}
li {list-style-type: none;}
h1, h2, h3, a {
font-family: 'Roboto', sans-serif;
color: #494949;
text-transform: uppercase;
}
p {
font-family: 'Roboto', sans-serif;
color: #494949;
}
h1 {font-size: 60px;}
h2 {font-size: 20px;}
h3 {font-size: 40px;}
p {font-size: 20px;}
/* Header *************************************************/
header {width: 100%; height: 65px; position: fixed; top: 0; left: 0; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); z-index: 1;}
#Logo {float: left; margin: 5px 0 5px 10px;}
#Logo:hover {opacity: 50%;}
#Logo img {
height: 55px;
width: 55px;
margin-top: 0;
border-radius: 27.5px;
object-fit: cover;
}
header nav {float: right; margin: 10px 50px 0 0;}
header nav ul li {float: left; margin-right: 16px;}
li:hover{opacity: 50%}
/* Home *************************************************/
#home {background: url(img/img01.jpg); background-position: center center; background-size: cover;}
#home h2 {padding-top: 33%; color: azure;}
#home h1 {color: azure;}
#home img {width: 32px; opacity: 0.7;}
#home img:hover {opacity: 1;}
/* How it works *************************************************/
#howItWorks .row {
display: flex; /* Verwende Flexbox, um die Bilder nebeneinander anzuordnen */
justify-content: space-between; /* Platzieren Sie die Bilder gleichmäßig im Container */
padding-left: 15%;
padding-right: 15%;
padding-top: 5%;
}
#howItWorks .third {
flex-basis: calc(20%); /* Setze die Breite jedes Bildes auf ein Drittel des verfügbaren Platzes */
}
#howItWorks img {
max-width: 100%; /* Stelle sicher, dass die Bilder innerhalb ihrer Container bleiben */
height: auto; /* Behalte das Seitenverhältnis der Bilder bei */
}
#howItWorks img:hover{
opacity: 50%;
}
/* Locations *************************************************/
#locations .row {
display: flex;
justify-content: space-between; /* Platzieren Sie die Bilder gleichmäßig im Container */
padding-left: 15%;
padding-right: 15%;
}
#locations .third {
flex-basis: calc(30%);
position: relative;
}
#locations img {
width: 100%; /* Stelle sicher, dass die Bilder innerhalb ihrer Container bleiben */
height: 100%; /* Behalte das Seitenverhältnis der Bilder bei */
border-radius: 3%;
object-fit: cover;
}
#locations img:hover {
opacity: 50%;
}
/* Footer *************************************************/
footer {width: 100%; height: 65px; background-color: #3f3f3f;}
footer p {font-size: 12px; color: #f0f0f0; padding-top: 30px;}