main.css: prevent wrapping within anchor links and <kbd>.
authorThérèse Godefroy <godef.th@free.fr>
Thu, 5 Aug 2021 07:07:32 +0000 (09:07 +0200)
committerThérèse Godefroy <godef.th@free.fr>
Thu, 5 Aug 2021 07:07:32 +0000 (09:07 +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,