From e3df3a947010cfc97887e638c8a3f2351cb50924 Mon Sep 17 00:00:00 2001 From: Spike <19519553+spikecodes@users.noreply.github.com> Date: Sun, 19 Feb 2023 18:00:56 +0000 Subject: [PATCH] Move unimportant links to footer --- static/style.css | 23 ++++++++--------------- templates/base.html | 18 ++++++++---------- 2 files changed, 16 insertions(+), 25 deletions(-) diff --git a/static/style.css b/static/style.css index 52a5b4d..b831615 100644 --- a/static/style.css +++ b/static/style.css @@ -142,12 +142,6 @@ nav #links svg { display: none; } -nav #version { - opacity: 50%; - vertical-align: -2px; - margin-right: 10px; -} - nav #libreddit { vertical-align: -2px; } @@ -292,22 +286,22 @@ main { body > footer { display: flex; justify-content: center; - margin: 20px; + align-items: center; + width: 100vw; + position: absolute; + bottom: 0; + background: var(--post); } -.info-button { +.footer-button { align-items: center; border-radius: .25rem; box-sizing: border-box; color: var(--text); cursor: pointer; display: inline-flex; - font-size: 150%; - padding: 0.5em; -} - -.info-button > a:hover { - text-decoration: none; + padding-left: 1em; + opacity: 0.8; } /* / Body footer. */ @@ -1551,7 +1545,6 @@ td, th { @media screen and (max-width: 480px) { body { padding-top: 100px; } - #version { display: none; } .post { grid-template: "post_header post_header post_thumbnail" auto diff --git a/templates/base.html b/templates/base.html index dbbff89..af539f8 100644 --- a/templates/base.html +++ b/templates/base.html @@ -32,7 +32,6 @@ @@ -71,10 +63,16 @@ {% endblock %} {% endblock %} + + {% block footer %} {% endblock %}