-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
108 lines (95 loc) · 1.83 KB
/
style.css
File metadata and controls
108 lines (95 loc) · 1.83 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
108
html, body {
height: 100%;
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Roboto", sans-serif;
background-color: #011a26;
color: white;
display: grid;
grid-template-rows: auto 1fr auto;
}
h1 {
text-align: center;
margin: 20px 0;
}
header {
display: flex;
align-items: center;
height: 50px;
padding: 0 20px;
background-color: #012534;
color: white;
}
footer {
display: flex;
flex-direction: column;
justify-content: space-around;
align-items: center;
padding: 10px;
background-color: #012534;
}
/* Bücher-Karten */
.books {
background-color: #fff;
color: #012534;
max-width: 650px;
margin: 10px auto;
padding: 16px;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
transition: transform 0.2s, box-shadow 0.2s;
}
.books:hover {
transform: translateY(-5px);
box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}
/* Herz-Icon */
.heart {
height: 30px;
cursor: pointer;
vertical-align: middle;
transition: transform 0.2s;
}
.heart:hover {
transform: scale(1.2);
}
/* Kommentarbereich */
.comment-input {
display: flex;
gap: 8px;
margin-top: 12px;
}
.comment-input input {
flex: 1;
padding: 6px 10px;
border: 1px solid #ddd;
border-radius: 6px;
font-size: 0.95rem;
}
.comment-input button {
padding: 6px 12px;
background-color: #007bff;
color: white;
border: none;
border-radius: 6px;
cursor: pointer;
transition: background-color 0.2s;
}
.comment-input button:hover {
background-color: #0056b3;
}
/* Padding/Gaps für Sections (Responsiv) */
.section_pad {
padding: 32px 64px;
}
.section_gap {
gap: 16px;
}
@media screen and (max-width: 480px) {
.section_pad { padding: 16px 32px; }
.section_gap { gap: 16px; }
}
@media screen and (max-width: 1024px) and (min-width: 481px) {
.section_pad { padding: 32px 64px; }
.section_g_