-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
124 lines (104 loc) · 1.99 KB
/
style.css
File metadata and controls
124 lines (104 loc) · 1.99 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
/* ---------- Variables ---------- */
:root {
--bg: #fafafa;
--text: #111;
--accent: #0077ff;
--muted: #666;
}
@media (prefers-color-scheme: dark) {
:root {
--bg: #111;
--text: #f5f5f5;
--accent: #5ea1ff;
--muted: #999;
}
}
/* ---------- Reset ---------- */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
/* ---------- Base ---------- */
body {
font-family: 'Inter', system-ui, -apple-system, sans-serif;
background: var(--bg);
color: var(--text);
display: flex;
flex-direction: column;
align-items: center;
padding: 2rem 1.5rem;
line-height: 1.6;
min-height: 100vh;
transition: background 0.4s ease, color 0.4s ease;
}
header, main, footer {
max-width: 700px;
width: 100%;
}
h1 {
font-size: 1.9rem;
font-weight: 600;
margin-bottom: 0.5rem;
}
h1 span { color: var(--accent); }
h2 {
margin-top: 2rem;
font-size: 1.3rem;
font-weight: 600;
}
p { color: var(--muted); }
ul {
list-style: none;
margin-top: 1rem;
}
li {
padding: 0.6rem 0;
border-bottom: 1px solid rgba(0,0,0,0.05);
}
li strong { font-weight: 600; }
.stars {
color: var(--accent);
font-family: "SF Mono", monospace;
}
/* ---------- Navigation ---------- */
nav {
margin-top: 1rem;
margin-bottom: 2rem;
}
nav a {
text-decoration: none;
color: var(--muted);
margin-right: 1rem;
transition: color 0.2s;
}
nav a:hover, nav a.active {
color: var(--accent);
}
/* ---------- Footer ---------- */
footer {
margin-top: auto;
padding-top: 2rem;
font-size: 0.9rem;
opacity: 0.6;
text-align: center;
}
/* ---------- Animations ---------- */
.fade-in {
opacity: 0;
transform: translateY(15px);
transition: all 0.8s ease;
}
.fade-in.visible {
opacity: 1;
transform: translateY(0);
}
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }
.delay-4 { transition-delay: 0.8s; }
/* ---------- Responsive ---------- */
@media (min-width: 768px) {
body { padding: 3rem; }
h1 { font-size: 2.2rem; }
}