Skip to content

Commit 57fcfd8

Browse files
committed
feat: mobile resp
1 parent 31e9273 commit 57fcfd8

1 file changed

Lines changed: 44 additions & 0 deletions

File tree

site/index.html

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,50 @@
135135
text-decoration: underline;
136136
}
137137

138+
@media (max-width: 480px) {
139+
body {
140+
padding: 1.5rem 1rem;
141+
justify-content: flex-start;
142+
padding-top: 3rem;
143+
}
144+
145+
.logo {
146+
height: 120px;
147+
margin-bottom: 1rem;
148+
}
149+
150+
.tagline {
151+
font-size: 1rem;
152+
}
153+
154+
.stat-badge {
155+
font-size: 0.875rem;
156+
padding: 0.4rem 1rem;
157+
}
158+
159+
.links {
160+
gap: 1rem;
161+
}
162+
163+
.files-note {
164+
text-align: center;
165+
}
166+
167+
footer {
168+
position: relative;
169+
bottom: auto;
170+
margin-top: 2rem;
171+
}
172+
}
173+
174+
@media (max-height: 600px) {
175+
footer {
176+
position: relative;
177+
bottom: auto;
178+
margin-top: 2rem;
179+
}
180+
}
181+
138182
@media (prefers-color-scheme: dark) {
139183
body {
140184
background: #18181B;

0 commit comments

Comments
 (0)