From aaad35338f4ecfdd27919b064d31bc582b80a6dd Mon Sep 17 00:00:00 2001
From: gravel
Date: Tue, 24 Jan 2023 21:58:30 +0100
Subject: [PATCH] Fix footer layout
---
output/styles2.css | 13 ++++++++++++-
sites/index.php | 12 +++++-------
2 files changed, 17 insertions(+), 8 deletions(-)
diff --git a/output/styles2.css b/output/styles2.css
index 5d40936a..c7241900 100644
--- a/output/styles2.css
+++ b/output/styles2.css
@@ -1,3 +1,12 @@
+html.js .noscript {
+ display: none;
+}
+
+/* Dead style */
+html:not(.js) .js-only {
+ display: none;
+}
+
header {
display: flex;
direction: row;
@@ -81,7 +90,9 @@ footer p {
}
footer nav a {
- margin: 0 .5ch;
+ display: inline-block;
+ margin: .25em;
+ white-space: nowrap;
}
/* */
diff --git a/sites/index.php b/sites/index.php
index 24f64783..307070c5 100644
--- a/sites/index.php
+++ b/sites/index.php
@@ -57,13 +57,11 @@
objectionable or illegal content, but
you should still proceed with caution.
-
+
+ This site works fine without JavaScript.
+ However, some interactive features are
+ only available with JS enabled.
+