From abf2775b6e50e5b88fd5031240613c3d16c99408 Mon Sep 17 00:00:00 2001 From: anomalous69 <81135357+anomalous69@users.noreply.github.com> Date: Mon, 22 Mar 2021 19:56:07 +1300 Subject: add reply highlighting --- static/main.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/static/main.html b/static/main.html index dd9d0c0..5c39a40 100644 --- a/static/main.html +++ b/static/main.html @@ -57,6 +57,14 @@ background-color: #f0e0d6; {{ end }} } + + :target > div > .post { + {{ if .Board.Post.Actor.Restricted }} + background-color: #d6bad0; + {{ else }} + background-color: #f0c0b0; + {{ end }} + } {{ template "header" . }} -- cgit v1.2.3