From 267652a7e48568e17d2c66537a8776d70d911209 Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Sun, 24 Aug 2025 03:44:20 -0500 Subject: [PATCH] Use specific class for website footer instead of generic tag selector Just in case I ever want to use the footer tag anywhere else on the page. I'm not sure if I'm reading this right, but it sounds like it would make sense to put all the buttons at the bottom of the content pages as a footer as well. I will have to reconsider this again in the future. --- assets/css/bobastyle.css | 4 ++-- layouts/baseof.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/css/bobastyle.css b/assets/css/bobastyle.css index faa59d7..4d22809 100644 --- a/assets/css/bobastyle.css +++ b/assets/css/bobastyle.css @@ -302,13 +302,13 @@ body { max-width: calc(720px + 2 * var(--page-margin)); /* padding is included in the element's width */ } -footer { +.site-footer { margin: var(--page-margin) 0; text-align: center; font-size: smaller; } -footer p { +.site-footer p { margin: 0; } diff --git a/layouts/baseof.html b/layouts/baseof.html index 87d4e25..f8e32df 100644 --- a/layouts/baseof.html +++ b/layouts/baseof.html @@ -20,7 +20,7 @@ {{ if or .Site.Copyright .Site.Params.footer }} -