aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoranomalous69 <81135357+anomalous69@users.noreply.github.com>2021-03-22 19:56:07 +1300
committerGitHub <noreply@github.com>2021-03-22 19:56:07 +1300
commitabf2775b6e50e5b88fd5031240613c3d16c99408 (patch)
treed2346b81e4e42218091f64e097234a783042e4df
parent1b68144b2c8bfc6f1c32b9c4b6128b361e443c45 (diff)
add reply highlighting
-rw-r--r--static/main.html8
1 files changed, 8 insertions, 0 deletions
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 }}
+ }
</style>
{{ template "header" . }}
</head>