aboutsummaryrefslogtreecommitdiff
path: root/static/main.html
diff options
context:
space:
mode:
authorFChannel0 <77419041+FChannel0@users.noreply.github.com>2021-04-08 23:43:38 -0700
committerGitHub <noreply@github.com>2021-04-08 23:43:38 -0700
commit7ea1b2b642569e34cc860a9adbfe70e6299c4ed7 (patch)
tree1fc2961e30cb204b9c5e6eda0b0bf45783c81452 /static/main.html
parent5f431087cfd28519ea969e4c62c6506a9c05e582 (diff)
parentabf2775b6e50e5b88fd5031240613c3d16c99408 (diff)
Merge pull request #3 from anomalous69/reply-highlight
Reply highlighting
Diffstat (limited to 'static/main.html')
-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>