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