mobile layout

Zoe Kim 8 months ago
parent adba21bc64 commit 5f5b8486cd6268a38c81df9141d8354407d957a9
1 changed files with 3 additions and 0 deletions
+3-0css/style.css
View File
@@ -2,3 +2,6 @@
22 body { margin: 0; font-family: system-ui, sans-serif; line-height: 1.6; }
33 header { padding: 4rem 2rem; background: var(--accent); color: white; }
44 section { padding: 2rem; max-width: 50rem; margin: auto; }
5+@media (max-width: 600px) {
6+ header { padding: 2rem 1rem; }
7+}