Is there a way to make the color of my username different for light mode and dark mode?
Instead of using something like:
a[href$="/Username"] { color: red; }
Do something like this:
.theme-fandomdesktop-dark a[href$="/Username"] { color: red; } .theme-fandomdesktop-light a[href$="/Username"] { color: blue; }
(it's href$= , not url$= )
(Probaby side effect of our other discussion lol)
Ok, thank you!
If I have multiple “a[href$=“ lines, do I have to put the “.theme” for all of them? (Using underscores for spaces and %20 for spaces.)
Yes, unfortunately. Each selector sequence in CSS stands for itself.
What do you think?