From 7d70d841205dba595193b77c6c6dc8fafbde8e47 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Fri, 15 Jan 2021 23:09:27 +0100 Subject: Always define footer the same way --- commun.css | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/commun.css b/commun.css index 4daa0b0..081c7a9 100644 --- a/commun.css +++ b/commun.css @@ -34,6 +34,14 @@ header.banner:hover h1 { color: #d82; } +footer.legal { + grid-column: 1 / -1; + width: 100%; + text-align: center; + margin: auto; + font-size: 75%; +} + @media (min-width: 40em) { .togglable > input.toggle, .togglable > img.button, @@ -173,14 +181,6 @@ header.banner:hover h1 { margin: 0; padding: 1em 0.5em; } - - footer.legal { - grid-column: 1 / -1; - width: 100%; - text-align: center; - margin: auto; - font-size: 75%; - } } @media (max-width: 40em) { @@ -208,7 +208,6 @@ header.banner:hover h1 { } footer.legal { grid-row: 4; - grid-column: 1 / -1; } main { grid-row: 3; -- cgit v1.2.3