commit b7fb4cfa233e2edff95daf3dc2a58fee612ef031 (patch)
parent 799774eea45eb915f1730a2f2733dc404c0c8b18
Author: Alex Karle <alex@alexkarle.com>
Date: Tue, 26 Jan 2021 20:27:35 -0500
style.css: Add side-scroll to block displays
Without this, my-old-man is a bit awkward on mobile, given
the long make snippet which causes the regular content
to be side-scrollable too.
This patch should make the regular content not be scrollable
and only the block displays overflow.
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/style.css b/style.css
@@ -41,6 +41,11 @@ table.head { margin-bottom: 3em; }
/* hide the "miscellaneous" section bit -- too big on mobile */
td.head-vol { visibility: hidden; }
+/* scrollbars on the block-display content */
+.Bd > pre {
+ overflow-x: auto;
+}
+
/* defaults from mandoc(1)'s inlined CSS */
table.head, table.foot { width: 100%; }
td.head-rtitle, td.foot-os { text-align: right; }