From f2d18ce750575de18fd49dd1753df09ee58413f3 Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Fri, 3 Nov 2023 18:59:12 +0100 Subject: [PATCH 1/4] Replace 'baseUrl' with 'baseURL' for hugo --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 986036f8c..a08200ad6 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ build: hugo server: - hugo server --baseUrl=http://127.0.0.1:1313 --buildDrafts --buildFuture + hugo server --baseURL=http://127.0.0.1:1313 --buildDrafts --buildFuture From bf1c4ab35d3d4a811e5149cc4fd1e65bba681fe1 Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Fri, 3 Nov 2023 18:59:23 +0100 Subject: [PATCH 2/4] Refresh footer --- assets/css/master.css | 61 +++++++------- layouts/_default/baseof.html | 103 ++++++++++++------------ static/images/logos/facebook.png | Bin 307 -> 0 bytes static/images/logos/facebook.svg | 3 + static/images/logos/instagram.png | Bin 495 -> 0 bytes static/images/logos/instagram.svg | 3 + static/images/logos/mastodon-brands.png | Bin 509 -> 0 bytes static/images/logos/mastodon.svg | 3 + static/images/logos/twitter.png | Bin 404 -> 0 bytes static/images/logos/twitter.svg | 3 + static/images/logos/youtube.png | Bin 515 -> 0 bytes static/images/logos/youtube.svg | 3 + 12 files changed, 96 insertions(+), 83 deletions(-) delete mode 100644 static/images/logos/facebook.png create mode 100644 static/images/logos/facebook.svg delete mode 100644 static/images/logos/instagram.png create mode 100644 static/images/logos/instagram.svg delete mode 100644 static/images/logos/mastodon-brands.png create mode 100644 static/images/logos/mastodon.svg delete mode 100644 static/images/logos/twitter.png create mode 100644 static/images/logos/twitter.svg delete mode 100644 static/images/logos/youtube.png create mode 100644 static/images/logos/youtube.svg diff --git a/assets/css/master.css b/assets/css/master.css index 8bc78bc7a..c93c14f7e 100644 --- a/assets/css/master.css +++ b/assets/css/master.css @@ -37,21 +37,22 @@ footer { font-family: "Fira Sans", sans-serif; } -.footer-section-title { - font-weight: bold; -} - footer a { color: #fff; opacity: 0.5; - display: block; - padding: 2px 0; - margin: 2px 0; + text-decoration: none; + transition: .1s ease-in-out; } + footer a:hover { - color: #fff; + color: inherit; opacity: 1; - text-decoration: none; + text-decoration: inherit; +} + +.footer-section-title { + font-weight: bold; + margin-bottom: 4px; } .footer-links-social { @@ -59,35 +60,29 @@ footer a:hover { padding: 0; } -.footer-links-social li { - display: inline-block; - padding: 0; - margin: 0 10px 0 0; -} +.footer-link { + display: block; + padding: 4px 0 2px; + margin: 2px 0; + } -.footer-links-social a { - overflow: hidden; - text-indent: 120%; - display: block; - background-repeat: no-repeat; - height: 16px; - width: 16px; +.footer-social-links { + margin: 0; + padding: 0; } -.footer-links-social a.twitter { - background-image: url('/images/logos/twitter.png'); -} -.footer-links-social a.youtube { - background-image: url('/images/logos/youtube.png'); -} -.footer-links-social a.facebook { - background-image: url('/images/logos/facebook.png'); +.footer-social-links li { + display: inline-block; + padding: 0; + margin: 6px 10px 0 0; } -.footer-links-social a.instagram { - background-image: url('/images/logos/instagram.png'); + +.footer-copyright { + font-size: 0.875em; } -.footer-links-social a.mastodon { - background-image: url('/images/logos/mastodon-brands.png'); + +.footer-copyright a { + display: inline; } diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 68e0cc3dc..7fd32c05d 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -112,72 +112,75 @@