summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2019-11-29 18:41:19 +0200
committerLars Wirzenius <liw@liw.fi>2019-11-29 18:41:19 +0200
commitc331b83ebf55e9a36492c29142443fba43c08d54 (patch)
tree343c1a78e3dbfd60e56b2fa4b336f33fe52cd833
parent0fcad833c45c9aee0f7ba8f27ae7898d03174b5c (diff)
downloadick.liw.fi-c331b83ebf55e9a36492c29142443fba43c08d54.tar.gz
Fix: rendering of news item list, when using pandoc plugin
-rw-r--r--local.css7
1 files changed, 7 insertions, 0 deletions
diff --git a/local.css b/local.css
index 9780c48..ba5431a 100644
--- a/local.css
+++ b/local.css
@@ -43,7 +43,14 @@ li.L8 { list-style: decimal; }
/* make list of news items look like a list */
+
.newslist p {
display: list-item;
margin-left: 2em;
}
+
+/* with pandoc plugin we get a weird empty p as first and last element
+ under the news item list; hide them */
+.newslist p:first-child, .newslist p:last-child {
+ display: none;
+}