summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDario Giovannetti <dariogiova@gmail.com>2015-03-11 16:22:51 +0800
committerPierre Schmitz <pierre@archlinux.de>2015-05-14 19:13:04 +0200
commitfd847fe05ca61303d3e5dedcc6e620a53d081785 (patch)
treebd0d9bfb28b3d6d83743818175d482a16d6f7856
parent9bc92b62a3962606c12bf083edd04f58be2a261b (diff)
ArchLinux skin: improve code,tt style, also add comments
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
-rw-r--r--skins/ArchLinux/arch.css10
1 files changed, 9 insertions, 1 deletions
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 {