From 2b08408ef29c460d7c1aaac0166ebdf944a465b2 Mon Sep 17 00:00:00 2001 From: Aevann Date: Thu, 29 Feb 2024 18:58:36 +0200 Subject: [PATCH] use author-bitten again --- files/assets/css/awards.css | 2 +- files/classes/comment.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/files/assets/css/awards.css b/files/assets/css/awards.css index d2821df2b0..73441c2efc 100644 --- a/files/assets/css/awards.css +++ b/files/assets/css/awards.css @@ -297,6 +297,6 @@ filter: invert(30%) brightness(60%) sepia(100%) hue-rotate(-50deg) contrast(2) saturate(150%); } -.grayscale { +.author-bitten { filter: grayscale(100%); } diff --git a/files/classes/comment.py b/files/classes/comment.py index ba3ea4b04c..63359f3933 100644 --- a/files/classes/comment.py +++ b/files/classes/comment.py @@ -39,7 +39,7 @@ def get_award_classes(obj, v, title=False): if not (v and v.poor): if obj.author.bite: - classes.append('grayscale') + classes.append('author-bitten') if obj.award_count('glowie', v): classes.append("glow") if obj.award_count('gold', v):