-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
65 lines (57 loc) · 1.24 KB
/
styles.css
File metadata and controls
65 lines (57 loc) · 1.24 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
:root {
--primary-color: #2563eb;
--bg-color: #f8fafc;
--text-color: #1e293b;
--card-bg: #ffffff;
--card-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
--card-hover-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
background-color: var(--bg-color);
color: var(--text-color);
margin: 0;
display: flex;
justify-content: center;
min-height: 100vh;
}
main {
width: 100%;
max-width: 800px;
padding: 2rem;
}
h1 {
text-align: center;
color: var(--text-color);
margin-bottom: 3rem;
font-weight: 800;
font-size: 2.5rem;
}
ul {
list-style: none;
padding: 0;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
gap: 1.5rem;
}
li {
background: var(--card-bg);
border-radius: 0.75rem;
box-shadow: var(--card-shadow);
transition: transform 0.2s, box-shadow 0.2s;
}
li:hover {
transform: translateY(-4px);
box-shadow: var(--card-hover-shadow);
}
a {
display: block;
padding: 1.5rem;
text-decoration: none;
color: var(--text-color);
font-weight: 600;
text-align: center;
}
a:hover {
color: var(--primary-color);
}