aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Janzen <jjanzenn@proton.me>2024-08-08 20:59:26 -0500
committerJacob Janzen <jjanzenn@proton.me>2024-08-08 20:59:26 -0500
commitcff030d2a91968a405df985b0db39dc6ac0bda14 (patch)
tree1b26c194b32daefbb3df839f333ae6bc8f11deaf
parent3d4eff43e5b95c20a549ec719ca1d07a66665bbf (diff)
fix styling on copyright
-rw-r--r--css/stylesheet.css12
-rw-r--r--publish.el2
2 files changed, 13 insertions, 1 deletions
diff --git a/css/stylesheet.css b/css/stylesheet.css
index 34663f5..d2a9ee5 100644
--- a/css/stylesheet.css
+++ b/css/stylesheet.css
@@ -62,6 +62,18 @@ a:hover {
width: 700px;
max-width: calc(100% - 20px);
text-align: center;
+ display: grid;
+ justify-content: space-between;
+}
+
+.footer-top {
+ z-index: 2;
+ display: flex;
+ justify-content: space-between;
+}
+
+.footer-bottom {
+ z-index: 1;
display: flex;
justify-content: space-between;
}
diff --git a/publish.el b/publish.el
index 8dae58c..82564e2 100644
--- a/publish.el
+++ b/publish.el
@@ -25,7 +25,7 @@
(setq webring (json-parse-string (plz 'get "https://aidang.cc/webring/https://jjanzen.ca")))
(defun create-webring-html (plist)
- (format "<div class='footer'><div><span><a href='%s'>« %s</a></span><span>CSSA Web Ring</span><span><a href='%s'>%s »</a></span></div><div>Copyright (C) Jacob Janzen 2024</div></div>"
+ (format "<div class='footer'><div class='footer-top'><span><a href='%s'>« %s</a></span><span>CSSA Web Ring</span><span><a href='%s'>%s »</a></span></div><div class='footer-bottom'>Copyright (C) Jacob Janzen 2024</div></div>"
(gethash "url" (gethash "left" webring))
(gethash "name" (gethash "left" webring))
(gethash "url" (gethash "right" webring))