From 4edd814ec56ce8b215518628e4b9acce8b003baa Mon Sep 17 00:00:00 2001 From: Patrick Canterino Date: Thu, 3 Feb 2022 21:30:19 +0100 Subject: [PATCH 1/1] Center copyright note only on large screens --- notes/static/notes/style.css | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) 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 -- 2.34.1