-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
95 lines (88 loc) · 1.65 KB
/
style.css
File metadata and controls
95 lines (88 loc) · 1.65 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
/* Base */
:root{
--bg:#f6f1f3;
--card:#ffffff;
--border:#ececec;
--ink:#1f2937;
--muted:#6b7280;
}
*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; color:var(--ink); background:var(--bg); }
/* Card list */
.cards{
list-style:none;
margin: 24px auto;
padding: 0 16px;
max-width: 920px;
display: grid;
gap: 20px;
}
@media (min-width: 700px){
.cards{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
/* Card */
.cards__item{
background: var(--card);
border: 1px solid var(--border);
border-radius: 14px;
padding: 20px 22px;
box-shadow: 0 1px 0 rgba(0,0,0,.03);
}
/* Title */
.card__title{
margin: 0 0 10px 0;
font-weight: 700;
font-size: 22px;
letter-spacing: .02em;
}
/* Text area + facts list */
.card__text{ margin: 0; }
.card__facts{
list-style:none;
margin: 0;
padding: 0;
display: grid;
gap: 8px;
}
.card__fact{
position: relative;
padding-left: 18px;
line-height: 1.55;
}
.card__fact::before{
content: "•";
position: absolute;
left: 0;
top: 0;
color: var(--muted);
}
.card__fact .label{
font-weight: 700;
margin-right: 6px;
}
/* Empty state (no results / API-Fehler) */
.empty{
max-width: 920px;
margin: 24px auto;
padding: 20px 22px;
background: var(--card);
border: 1px dashed var(--border);
border-radius: 14px;
box-shadow: 0 1px 0 rgba(0,0,0,.03);
color: var(--ink);
}
.empty h2{
margin: 0 0 8px;
font-weight: 700;
font-size: 22px;
letter-spacing: .02em;
}
.empty p{
margin: 0;
line-height: 1.55;
color: var(--muted);
}
.empty__hint{
margin-top: 6px;
font-size: .95rem;
}