Prevent wrapping within anchor links and <kbd>.
authorThérèse Godefroy <godef.th@free.fr>
Wed, 4 Aug 2021 11:42:48 +0000 (13:42 +0200)
committerThérèse Godefroy <godef.th@free.fr>
Wed, 4 Aug 2021 11:42:48 +0000 (13:42 +0200)
static/css/main.css

index 43a0885e6c07da55f167b5a84d029764dd6071fc..cb27f829d2ebe90122f20ed0a6f8dd42cd5cb627 100644 (file)
@@ -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,