diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-03-30 07:13:00 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-03-30 07:13:00 -0700 |
commit | 5bab12e49fb7eddbf99d445b4965db2019457ebb (patch) | |
tree | a37972f83c072c7143b388c27f3fc7ecedb527eb /genman.txr | |
parent | cddf617ef0875c4954aab360ea6b971411f57515 (diff) | |
download | txr-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.txr | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -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; |