Update NSFWtag.css (New Feature)

This commit is contained in:
Indiana Jone (Indi) 2024-04-07 10:40:57 -04:00 committed by GitHub
parent d930e3cdc8
commit 78a9131ff4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,11 +2,12 @@
* @name NFSWtag * @name NFSWtag
* @author ryan.0324, krystalskullofficial * @author ryan.0324, krystalskullofficial
* @version 2.0 * @version 2.0
* @description A tag for 'NFSW' channels so they are easier to see/notice * @description A tag for 'NFSW' channels so they are easier to see/notice. Also now recolors the small triangle too be red
*/ */
/*note: you must have the redesign icon experiment disabled for this too work*/ /*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 { [class*=linkTop_]:has(> [class*=iconContainer__] [d^="M18.09 1.63"]) > [class*=children_]::after {
content: "NSFW"; content: "NSFW";
background: var(--status-danger-background); background: var(--status-danger-background);
@ -19,3 +20,9 @@
line-height: 16px; line-height: 16px;
margin-left: 4px; margin-left: 4px;
} }
/*---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;
}