summaryrefslogtreecommitdiffstats
path: root/genman.txr
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-03-31 20:12:42 -0700
committerKaz Kylheku <kaz@kylheku.com>2021-03-31 20:12:42 -0700
commit90cfa3a1a7a7b5c28a97e54d05cfe597563f129d (patch)
tree3575d7fe56f49f9116c5380f1ffd4baf494b14ee /genman.txr
parent826adac3ad4c7db50e322360f1be8bad5e9e74b7 (diff)
downloadtxr-90cfa3a1a7a7b5c28a97e54d05cfe597563f129d.tar.gz
txr-90cfa3a1a7a7b5c28a97e54d05cfe597563f129d.tar.bz2
txr-90cfa3a1a7a7b5c28a97e54d05cfe597563f129d.zip
doc: style items better, without grid style.
* genman.txr: Use an alternative solution for dl.items elemens which places short items to the left of their definining text, while allowing long items to overhang.
Diffstat (limited to 'genman.txr')
-rw-r--r--genman.txr17
1 files changed, 11 insertions, 6 deletions
diff --git a/genman.txr b/genman.txr
index 81c7f2f6..a2161d68 100644
--- a/genman.txr
+++ b/genman.txr
@@ -178,17 +178,22 @@ This document was created by
.disambiguations dl {
margin-bottom: 2048px;
}
-dl.items {
- display: grid;
- grid-template-columns: max-content auto;
+dl.items dd:-moz-only-whitespace::after {
+ content: "\00A0";
}
-dl.items dt {
- grid-column-start: 1;
+dl.items dd:empty:after {
+ content: "\00A0";
}
dl.items dd {
- grid-column-start: 2;
+ overflow: auto;
+ min-width: calc(100% - 3em);
+ margin-left: 3em;
margin-bottom: 1ex;
}
+dl.items dt {
+ float: left;
+ padding-right: 1ex;
+}
</style>
<script type="text/javascript">
var xpanded = false;