- .columned .h2:not(:only-child) {
- float: left;
- margin: 0 40px;
- }
-
- .columned .h2:not(:only-child) h2 {
- width: 14.6em;
- }
-
- .columned .h2:not(:only-child) .h3,
- .columned .h2:not(:only-child) li,
- .columned .h2:not(:only-child) p {
- width: 24em;
- }
-
- .columned .h2:not(:only-child) pre { width: 25em }
-
- header {
- float: left;
- margin-top: 1.2em;
+ .h2:not(:only-child) {
+ float: left;
+ margin: 0 60px 0 0;
+
+ h2 { max-width: 14.6em }
+ .h3,
+ li,
+ p { max-width: 24em }
+ pre { max-width: 25em }
+ }
+
+ .h2:first-of-type {
+ columns: 3;
+ width: 24em;
+
+ pre[role="img"]:first-of-type { margin-top: 1.64em }
+ h2:empty {display: none}
+ h2,
+ pre,
+ ul,
+ p:not(.a) { column-span: all }
+ p { break-after: column }
+ p.a { break-after: avoid }
+ }