[PATCH v3] docs: restore and reflow footer on narrow screens

Rito Rhymes posted 1 patch 1 week ago
Documentation/sphinx-static/custom.css | 9 +++++++++
1 file changed, 9 insertions(+)
[PATCH v3] docs: restore and reflow footer on narrow screens
Posted by Rito Rhymes 1 week ago
Alabaster hides the documentation footer below its 65em breakpoint.

Add a local override in custom.css so the footer remains visible on
narrow screens. Adjust its layout to better fit mobile screens without
the sidebar.

Signed-off-by: Rito Rhymes <rito@ritovision.com>
Assisted-by: Codex:GPT-5.4
---
v3: switch to a CSS-only override; no footer replacement

 Documentation/sphinx-static/custom.css | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/Documentation/sphinx-static/custom.css b/Documentation/sphinx-static/custom.css
index db24f4344..397780b39 100644
--- a/Documentation/sphinx-static/custom.css
+++ b/Documentation/sphinx-static/custom.css
@@ -169,3 +169,12 @@ a.manpage {
 	font-weight: bold;
 	font-family: "Courier New", Courier, monospace;
 }
+
+@media screen and (max-width: 65em) {
+    div.footer {
+        display: block;
+        width: auto;
+        margin: 30px 0 0px 0;
+        text-align: center;
+    }
+}
-- 
2.51.0