git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
perl: margin between possibly multiline list items
[sheet.git]
/
base.css
diff --git
a/base.css
b/base.css
index c349bdedfcaa0ed90cf55426a6635761e117fea7..061ca166fcf06ab0fdcc70881bbdea3eb823ab3e 100644
(file)
--- a/
base.css
+++ b/
base.css
@@
-138,11
+138,6
@@
h2 small {
grid: auto-flow / 1fr 1fr;
clear: both;
}
grid: auto-flow / 1fr 1fr;
clear: both;
}
-@media (max-width: 42em) {
- .section dl {
- grid: auto-flow / minmax(8em, 1fr) minmax(20em, 1fr);
- }
-}
.section dl > dt {
grid-column: 1;
text-align: right;
.section dl > dt {
grid-column: 1;
text-align: right;
@@
-154,7
+149,15
@@
dl > dd {
grid-column: 2;
text-align: left;
padding-left: 1em;
grid-column: 2;
text-align: left;
padding-left: 1em;
- margin: 0;
+ margin: 0 0 .5ex;
+}
+@media (max-width: 42em) {
+ .section dl {
+ grid: auto-flow / minmax(8em, 1fr) minmax(20em, 1fr);
+ }
+ dl > dd {
+ margin-bottom: 1ex; /* distinguish rows more as dts can wrap */
+ }
}
/* "keyboard" (list of keys) */
}
/* "keyboard" (list of keys) */