summaryrefslogtreecommitdiffstats
path: root/genman.txr
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-03-30 07:13:00 -0700
committerKaz Kylheku <kaz@kylheku.com>2021-03-30 07:13:00 -0700
commit5bab12e49fb7eddbf99d445b4965db2019457ebb (patch)
treea37972f83c072c7143b388c27f3fc7ecedb527eb /genman.txr
parentcddf617ef0875c4954aab360ea6b971411f57515 (diff)
downloadtxr-5bab12e49fb7eddbf99d445b4965db2019457ebb.tar.gz
txr-5bab12e49fb7eddbf99d445b4965db2019457ebb.tar.bz2
txr-5bab12e49fb7eddbf99d445b4965db2019457ebb.zip
doc: add grid styling to itemized lists.
* genman.txr: add CSS rules targeting <dl class="items">, which are now supported in man2html.
Diffstat (limited to 'genman.txr')
-rw-r--r--genman.txr15
1 files changed, 14 insertions, 1 deletions
diff --git a/genman.txr b/genman.txr
index a99996b6..81c7f2f6 100644
--- a/genman.txr
+++ b/genman.txr
@@ -175,7 +175,20 @@ This document was created by
<head><title>Manpage for TXR @VERSION</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style>
-.disambiguations dl { margin-bottom: 2048px; }
+.disambiguations dl {
+ margin-bottom: 2048px;
+}
+dl.items {
+ display: grid;
+ grid-template-columns: max-content auto;
+}
+dl.items dt {
+ grid-column-start: 1;
+}
+dl.items dd {
+ grid-column-start: 2;
+ margin-bottom: 1ex;
+}
</style>
<script type="text/javascript">
var xpanded = false;