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 @@ libreddit. + v{{ env!("CARGO_PKG_VERSION") }} {% block subscriptions %}{% endblock %} {% block search %}{% endblock %} @@ -53,6 +54,13 @@ + + code + + code + + + @@ -63,16 +71,10 @@ {% endblock %} {% endblock %} - - {% block footer %}