-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
99 lines (85 loc) · 1.49 KB
/
Copy pathstyle.css
File metadata and controls
99 lines (85 loc) · 1.49 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
/* style.css */
/* Grundlayout */
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
margin: 0;
background: #fdf6e3;
color: #333;
}
/* Header */
header {
background-color: #27ae60; /* modernes Grün */
color: white;
text-align: center;
padding: 30px 20px;
}
header h1 {
margin: 0;
font-size: 2.5em;
}
header p {
margin-top: 5px;
font-size: 1.2em;
}
/* Navigation */
nav {
background-color: #2c3e50;
text-align: center;
padding: 12px 0;
}
nav a {
color: white;
margin: 0 15px;
text-decoration: none;
font-weight: bold;
font-size: 1.05em;
transition: color 0.3s;
}
nav a:hover {
color: #27ae60;
}
/* Container für Produktkarten */
.container {
display: flex;
flex-wrap: wrap;
justify-content: center;
padding: 30px 10px;
gap: 20px;
}
/* Produktkarten */
.card {
background-color: white;
border-radius: 12px;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
width: 250px;
padding: 20px;
text-align: center;
transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}
.card h2 {
color: #27ae60;
margin-bottom: 10px;
}
.card p {
font-size: 0.95em;
line-height: 1.4em;
}
/* Footer */
footer {
background-color: #2c3e50;
color: white;
text-align: center;
padding: 18px 10px;
margin-top: 30px;
}
/* Responsive für Handy/Tablets */
@media screen and (max-width: 768px) {
.container {
flex-direction: column;
align-items: center;
}
}