summaryrefslogtreecommitdiff
path: root/local.css
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2019-09-08 18:03:38 +0300
committerLars Wirzenius <liw@liw.fi>2019-09-08 18:03:38 +0300
commit137df8449f3212d9e32dc13c920373bcd7026c84 (patch)
tree5efd3fa03b781bdf1fdb94cd982ad7bdd44260c4 /local.css
parentec92c5318f64e6e88fd64b96704267e0a44d3fc5 (diff)
downloadsubplot.liw.fi-137df8449f3212d9e32dc13c920373bcd7026c84.tar.gz
Fix: display of news items list
Pandoc, for some reason, injects some empty p elements and this hides them from display.
Diffstat (limited to 'local.css')
-rw-r--r--local.css5
1 files changed, 5 insertions, 0 deletions
diff --git a/local.css b/local.css
index 9780c48..6847d26 100644
--- a/local.css
+++ b/local.css
@@ -43,7 +43,12 @@ li.L8 { list-style: decimal; }
/* make list of news items look like a list */
+
.newslist p {
display: list-item;
margin-left: 2em;
}
+
+.newslist p:empty {
+ display: none;
+}