summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDan Allen <dan@opendevise.com>2018-02-10 02:39:49 -0700
committerDan Allen <dan@opendevise.com>2018-02-10 02:39:49 -0700
commit3d532540cce297fc63ee96f0f5d326ff7914a10c (patch)
tree940f2255255a51dcdcbee47057065640bce952b5 /src
parent5124eff48e9be1f8a01710e48eccfb2bd5c9fe9b (diff)
downloadalpine-antora-theme-3d532540cce297fc63ee96f0f5d326ff7914a10c.tar.bz2
alpine-antora-theme-3d532540cce297fc63ee96f0f5d326ff7914a10c.tar.xz
fix size and alignment of ordered list numerations
Diffstat (limited to 'src')
-rw-r--r--src/css/doc.css5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/css/doc.css b/src/css/doc.css
index 5ddc58e..b7fe29a 100644
--- a/src/css/doc.css
+++ b/src/css/doc.css
@@ -311,11 +311,12 @@
.doc ol > li::before {
font-weight: 500;
+ font-size: 0.95em;
display: inline-block;
width: 1em;
direction: rtl;
- /* NOTE the browser using -1.25em as left offset */
- margin: -1.25px 0.5em 0 -1.5em;
+ /* NOTE the browser uses -1.25em as left offset */
+ margin: -0.025em 0.5em 0 -1.5em;
text-align: right;
position: absolute;
}