diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-03-31 20:12:42 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-03-31 20:12:42 -0700 |
commit | 4cb73a135b8ae18fa7a9eb5f34ee5bb853b8ad8f (patch) | |
tree | 3575d7fe56f49f9116c5380f1ffd4baf494b14ee | |
parent | 6937a8a4aa8b695f7affdf0fb264273519db7798 (diff) | |
download | txr-4cb73a135b8ae18fa7a9eb5f34ee5bb853b8ad8f.tar.gz txr-4cb73a135b8ae18fa7a9eb5f34ee5bb853b8ad8f.tar.bz2 txr-4cb73a135b8ae18fa7a9eb5f34ee5bb853b8ad8f.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.
-rw-r--r-- | genman.txr | 17 |
1 files changed, 11 insertions, 6 deletions
@@ -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; |