-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
72 lines (64 loc) · 1.29 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
:root {
color-scheme: light dark;
--primary-color: light-dark(#646cff, #a5a9ff);
--secondary-color: light-dark(#535bf2, #8f94ff);
--bg-color: light-dark(#f8f9fa, #1a1a1a);
--text-color: light-dark(#213547, #ffffff);
--card-bg: light-dark(#ffffff, #242424);
}
body {
margin: 0;
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
background-color: var(--bg-color);
color: var(--text-color);
line-height: 1.6;
}
main {
max-width: 1200px;
margin: 0 auto;
padding: 2rem;
text-wrap: balance;
}
h1 {
font-size: 3rem;
text-align: center;
margin-bottom: 0.5rem;
}
h1,
h2 {
text-wrap: balance;
}
.intro {
text-align: center;
font-size: 1.2rem;
margin-bottom: 3rem;
}
.episode-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
padding: 1rem;
}
.episode-card {
background: var(--card-bg);
border-radius: 8px;
padding: 1.5rem;
text-decoration: none;
color: var(--text-color);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
transition:
transform 0.2s,
box-shadow 0.2s;
}
.episode-card:hover {
transform: translateY(-4px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.episode-card h2 {
margin: 0 0 1rem 0;
color: var(--primary-color);
}
.episode-card p {
margin: 0;
opacity: 0.8;
}