diff --git a/_includes/layouts/base.njk b/_includes/layouts/base.njk index 4e0b84f..d873822 100644 --- a/_includes/layouts/base.njk +++ b/_includes/layouts/base.njk @@ -85,14 +85,21 @@ diff --git a/public/css/index.css b/public/css/index.css index b1a868d..c0fc5e1 100644 --- a/public/css/index.css +++ b/public/css/index.css @@ -75,12 +75,48 @@ body { footer { flex-shrink: 0; - padding: 1rem; + padding-top: 2em; + padding-bottom: 2em; display: flex; flex-direction: row; justify-content: space-around; } + +footer > div { + display: flex; + flex-direction: column; + flex-wrap: nowrap; + align-content: center; + justify-content: flex-start; + align-items: flex-start; +} + +@media (max-width: 576px) { + + footer { + padding-top: 1em; + flex-direction: column; + justify-content: center; + flex-wrap: nowrap; + align-content: center; + align-items: center; + } + + footer > div { + margin-bottom: 1em; + display: flex; + flex-direction: column; + flex-wrap: nowrap; + justify-content: center; + align-items: center; + } + + footer > div:last-child { + margin-bottom: 0; + } +} + /* https://www.a11yproject.com/posts/how-to-hide-content/ */ .visually-hidden { clip: rect(0 0 0 0); @@ -344,10 +380,10 @@ img { color: var(--text-color); } -#results>div { +#results > div { margin-top: 1em; } -#results>div:first-of-type { +#results > div:first-of-type { margin-top: 0 !important; } \ No newline at end of file