From: Mischa POSLAWSKY Date: Mon, 22 May 2023 23:36:41 +0000 (+0200) Subject: perl: grid columns only on sectioned dls X-Git-Tag: v1.14~17 X-Git-Url: http://git.shiar.nl/sheet.git/commitdiff_plain/2b137fb228bb4cf979a2c63f863c4020ae399d43 perl: grid columns only on sectioned dls Keep original behaviour on sc and keyboard legends. --- diff --git a/base.css b/base.css index 46f6e35..a2a7d16 100644 --- 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; }