From fd847fe05ca61303d3e5dedcc6e620a53d081785 Mon Sep 17 00:00:00 2001 From: Dario Giovannetti Date: Wed, 11 Mar 2015 16:22:51 +0800 Subject: ArchLinux skin: improve code,tt style, also add comments Signed-off-by: Pierre Schmitz --- skins/ArchLinux/arch.css | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/skins/ArchLinux/arch.css b/skins/ArchLinux/arch.css index 85bf5fc6..1f90aef1 100644 --- a/skins/ArchLinux/arch.css +++ b/skins/ArchLinux/arch.css @@ -30,7 +30,15 @@ pre { } code, tt { - padding: 0.3em; + /* Inline-block prevents code from wrapping when starting too close to the + end of a line; it also lets select the entire code line with a triple + click */ + display: inline-block; + padding: 0 0.3em; + /* A border would be inherited by the default style sheets, but we don't + want it */ + border-width: 0; + border-radius: 0; } ul, .portlet ul { -- cgit v1.2.3-54-g00ecf