From: Patrick Canterino Date: Thu, 3 Feb 2022 20:30:19 +0000 (+0100) Subject: Center copyright note only on large screens X-Git-Url: https://git.p6c8.net/pcdenotes.git/commitdiff_plain/4edd814ec56ce8b215518628e4b9acce8b003baa?hp=ac8a9515bf50f6261d749539c18bafefb61e91c8 Center copyright note only on large screens --- diff --git a/notes/static/notes/style.css b/notes/static/notes/style.css index 8af1866..8336f03 100644 --- a/notes/static/notes/style.css +++ b/notes/static/notes/style.css @@ -24,19 +24,27 @@ footer { background-color: #212529; } +footer ul { + list-style-type: none; + margin-left: 0; + padding-left: 0; +} + +/* Large screens */ @media screen and (min-width: 600px) { footer div#footer-left { text-align: right; } -} -footer ul { - list-style-type: none; - margin-left: 0; - padding-left: 0; + footer #copyright { + text-align: center; + margin-top: 2em; + } } -footer #copyright { - text-align: center; - margin-top: 2em; +/* Small screens */ +@media screen and (max-width: 600px) { + footer #copyright { + margin-top: 2em; + } } \ No newline at end of file