diff --git a/themes/buha/assets/scss/footer.scss b/themes/buha/assets/scss/footer.scss index f1c4e25..0b852d0 100644 --- a/themes/buha/assets/scss/footer.scss +++ b/themes/buha/assets/scss/footer.scss @@ -1,32 +1,34 @@ .footer { - flex-grow: 0; display: flex; - justify-content: space-between; - flex-wrap: wrap; - margin-top: 1rem; + flex-direction: column; width: 98vw; margin-left: auto; margin-right: auto; - flex-direction: column-reverse; .infobox { display: flex; flex-direction: column; text-align: center; - a { - margin-top: 1em; - } } + a { + margin-top: .8em; + } } + @media (min-width: 640px) { .footer { max-width: 89%; margin-left: auto; margin-right: auto; flex-direction: row; + justify-content: space-between; .infobox { text-align: left; + flex-direction: column; } + .a { order: 2;} + .b { order: 3;} + .c { order: 1;} } } diff --git a/themes/buha/layouts/partials/snippets/footer.html b/themes/buha/layouts/partials/snippets/footer.html index 228d15c..69ba02e 100644 --- a/themes/buha/layouts/partials/snippets/footer.html +++ b/themes/buha/layouts/partials/snippets/footer.html @@ -1,15 +1,5 @@ -{{- if eq site.Params.contact true }} -