aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>