From ebd6636167f2868ec6b8174ff2ead185ed4ab1e1 Mon Sep 17 00:00:00 2001 From: r Date: Thu, 19 Dec 2019 15:24:33 +0000 Subject: Use css :target to highlight current post --- static/main.css | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/static/main.css b/static/main.css index 7f8cd90..3ad86e8 100644 --- a/static/main.css +++ b/static/main.css @@ -1,5 +1,11 @@ .status-container-container { margin: 16px 0; + padding: 0 4px; + border-left: 4px solid transparent; +} + +.status-container-container:target { + border-color: #777777; } .status-container { @@ -145,8 +151,8 @@ } .notification-container { - margin: 4px 0; - padding: 4px 4px; + margin: 16px 0; + padding: 0 4px; border-left: 4px solid transparent; } -- cgit v1.2.3