diff --git a/assets/css/_main.scss b/assets/css/_main.scss index 4fd1b1e31..43d1423a8 100644 --- a/assets/css/_main.scss +++ b/assets/css/_main.scss @@ -51,7 +51,7 @@ body { } } -.section { +.content, .section { padding: calc(var(--feather-grid-mega) * 2) 0; } @@ -348,7 +348,7 @@ br { /* Less than 600px */ @media (max-width: 600px) { - .section { + .content, .section { padding: calc(var(--feather-grid-mega) * 1.5) 0; } @@ -356,3 +356,9 @@ br { margin: 0 var(--feather-grid-medium); } } + +@media (max-width: 480px) { + .content, .section { + padding: var(--feather-grid-large) 0; + } +} diff --git a/assets/css/index.scss b/assets/css/index.scss index 5fc3c024b..ca97cdd57 100644 --- a/assets/css/index.scss +++ b/assets/css/index.scss @@ -1,5 +1,9 @@ /* Styles specific to home page */ +.content { + padding: 0; +} + .grey { background-color: var(--tw-color-gray-faint); diff --git a/assets/css/memberships.scss b/assets/css/memberships.scss index 6767ba4f0..bd8885db6 100644 --- a/assets/css/memberships.scss +++ b/assets/css/memberships.scss @@ -27,12 +27,6 @@ } } -@media (max-width: 480px) { - .section { - padding: var(--feather-grid-large) 0; - } -} - /* Membership card elements that are consistent throughout all screen sizes */ .membership { diff --git a/assets/css/projects.scss b/assets/css/projects.scss index 52e662bc8..a8fe85962 100644 --- a/assets/css/projects.scss +++ b/assets/css/projects.scss @@ -7,12 +7,6 @@ --search-bar-width: 450px; } -.all-projects { - padding-top: var(--feather-grid-mega); - padding-bottom: calc(var(--feather-grid-mega) * 2); -} - - .project-card { position: relative; padding: var(--feather-grid-mega) calc(var(--feather-grid-mega) * 1.5); diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 94b7931a7..b5c107fe2 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -8,7 +8,7 @@ {{ partial "nav.html" . }} -