From: Thérèse Godefroy <godef.th@free.fr> Date: Wed, 4 Aug 2021 11:42:48 +0000 (+0200) Subject: Prevent wrapping within anchor links and <kbd>. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=2efb9409d346271ca74601e84c32495c857ae5d1;p=enc.git Prevent wrapping within anchor links and <kbd>. --- diff --git a/static/css/main.css b/static/css/main.css index 43a0885e..cb27f829 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,