diff --git a/assets/styles/site.css b/assets/styles/site.css index 4350363..13632d4 100644 --- a/assets/styles/site.css +++ b/assets/styles/site.css @@ -24,8 +24,15 @@ body { } main { - display: table; - margin: 2rem auto; + width: 100%; + padding: 2rem 1rem; +} + +@media (min-width: 426px) { + main { + width: 29vw; + margin: 2rem auto; + } } @@ -106,7 +113,6 @@ nav > ul > li:before { section { margin-bottom: 2rem; - max-width: 320px; } section:last-child { diff --git a/index.html b/index.html index 4103156..fab02d6 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@
- +