From 03da11737a11a90aadfd2f7d6199c5232287b0d6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Th=C3=A9r=C3=A8se=20Godefroy?= Date: Thu, 5 Aug 2021 09:07:32 +0200 Subject: [PATCH] main.css: prevent wrapping within anchor links and . --- static/css/main.css | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/static/css/main.css b/static/css/main.css index 43a0885..cb27f82 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -208,6 +208,7 @@ b, i, em { color: #905300; } +/* Commands and options */ code, kbd, samp { @@ -215,10 +216,17 @@ samp { font-family: monospace; padding: 0 .2em; } -code { +code, +kbd { display: inline-block; } +/* Prevent wrapping within anchor links. */ +a[href^="#section"], +a[href^="#step"] { + white-space: nowrap; +} + /* Guide Sections Background */ /* Blue*/ #section1, -- 2.25.1