perl: grid columns only on sectioned dls
authorMischa POSLAWSKY <perl@shiar.org>
Mon, 22 May 2023 23:36:41 +0000 (01:36 +0200)
committerMischa POSLAWSKY <perl@shiar.org>
Tue, 30 May 2023 17:47:59 +0000 (19:47 +0200)
Keep original behaviour on sc and keyboard legends.

base.css

index 46f6e35f2014dbee7799cd42c0dfb365950e4fee..a2a7d165da272e7734da1b5c26440b529297e773 100644 (file)
--- a/base.css
+++ b/base.css
@@ -132,17 +132,17 @@ h2 small {
        padding-top: .17ex;
 }
 
-dl {
+.section dl {
        display: grid;
        grid: auto-flow / 1fr 1fr;
        clear: both;
 }
 @media (max-width: 42em) {
-       dl {
+       .section dl {
                grid: auto-flow / minmax(8em, 1fr) minmax(20em, 1fr);
        }
 }
-dl > dt {
+.section dl > dt {
        grid-column: 1;
        text-align: right;
 }