diff --git a/NSFWtag.css b/NSFWtag.css index 7e2ebdb..957a853 100644 --- a/NSFWtag.css +++ b/NSFWtag.css @@ -7,9 +7,9 @@ /*note: you must have the redesign icon experiment disabled for this too work*/ -/*---Label---*/ -[class*=linkTop_]:has(> [class*=iconContainer__] [d^="M18.09 1.63"]) > [class*=children_]::after { - content: "NSFW"; +/*---'NSFW' Label---*/ +[class*=linkTop_]:has([class*=iconContainer__] [d^="M18.09 1.63"]) > [class*=children_]::after { + content: "NSFW"; background: var(--status-danger-background); color: var(--status-danger-text); padding: 0 6px; @@ -21,7 +21,7 @@ margin-left: 4px; } -/*---Icon Recolor---*/ +/*---Warning Icon Recolor---*/ .icon__67ab4:has(path[d^="M18.09 1.63"]) path[d^="M18.09 1.63"] { fill: var(--text-danger) !important; border: 1px solid rebeccapurple !important;