From 89e2dc866ce837571c5b8829f9ab1e67437fa360 Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> Date: Thu, 15 Jun 2023 23:26:50 +0800 Subject: [PATCH] Adjusted shrine footers --- shrines/asummersend/asummersend.css | 4 +++- shrines/shrine.js | 2 +- shrines/starwarskotor/starwarskotor.css | 4 +++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/shrines/asummersend/asummersend.css b/shrines/asummersend/asummersend.css index 5c938743..c948f814 100644 --- a/shrines/asummersend/asummersend.css +++ b/shrines/asummersend/asummersend.css @@ -309,8 +309,10 @@ footer { background-color: var(--content-bg); width: 100%; height: 2.5rem; - padding: 1.25rem; text-align: center; + display: flex; + justify-content: center; + align-items: center; margin-top: 1.25rem; } diff --git a/shrines/shrine.js b/shrines/shrine.js index 3fb6e6dd..ae0d522c 100644 --- a/shrines/shrine.js +++ b/shrines/shrine.js @@ -23,6 +23,6 @@ function stickyFunction() { // Generate footer content var footerHTML = ` - This shrine is made with ♥ by Leilukin +
This shrine is made with ♥ by Leilukin
`; document.querySelector("#footer").innerHTML = footerHTML; \ No newline at end of file diff --git a/shrines/starwarskotor/starwarskotor.css b/shrines/starwarskotor/starwarskotor.css index 68f3c2e4..5fbe3d03 100644 --- a/shrines/starwarskotor/starwarskotor.css +++ b/shrines/starwarskotor/starwarskotor.css @@ -309,8 +309,10 @@ footer { background-color: var(--content-bg); width: 100%; height: 2.5rem; - padding: 1.25rem; text-align: center; + display: flex; + justify-content: center; + align-items: center; margin-top: 1.25rem; }