diff --git a/assets/styles/site.css b/assets/styles/site.css index edb2964..4350363 100644 --- a/assets/styles/site.css +++ b/assets/styles/site.css @@ -24,15 +24,8 @@ body { } main { - width: 100%; - margin: 2rem 1rem; -} - -@media (min-width: 426px) { - main { - width: 29vw; - margin: 2rem auto; - } + display: table; + margin: 2rem auto; } @@ -67,7 +60,6 @@ a:hover { header { width: 100%; margin: 2rem auto 2rem auto; - text-align: center; } header > img, @@ -114,6 +106,7 @@ nav > ul > li:before { section { margin-bottom: 2rem; + max-width: 320px; } section:last-child {