percolate_soup
Fri, Sep 11 '15, 23:28
Tag type coloration
Ohai guise,

I see you too are doing the artist:xxxxxxxx series:xxxxxxxx tagging thing.
I recently borrowed a bit of CSS magic from vinebooru that colors such tags by type, adapted it to my needs and thought you might also like the idea.

[code]

/*general tag*/
ul.post-info>li>a[href*="&tags="],div#tag_list span>a[href*="&tags="] {
color: #006ffa !important;
font-weight: bold !important;
}
ul.post-info>li>a[href*="&tags="]:hover,div#tag_list span>a[href*="&tags="]:hover {
color: #9093FF !important;
}
/*artist:*/
ul.post-info>li>a[href*="&tags=artist:"],ul.post-info>li>a[href*="&tags=artist%3A"],div#tag_list span>a[href*="&tags=artist:"],div#tag_list span>a[href*="&tags=artist%3A"] {
color: #A00 !important;
}
/*char:*/
ul.post-info>li>a[href*="&tags=char:"],ul.post-info>li>a[href*="&tags=char%3A"],div#tag_list span>a[href*="&tags=char:"],div#tag_list span>a[href*="&tags=char%3A"] {
color: #0A0 !important;
}
/*copy:*/
ul.post-info>li>a[href*="&tags=copy:"],ul.post-info>li>a[href*="&tags=copy%3A"],div#tag_list span>a[href*="&tags=copy:"],div#tag_list span>a[href*="&tags=copy%3A"] {
color: #A0A !important;
}
/*species:*/
ul.post-info>li>a[href*="&tags=species:"],ul.post-info>li>a[href*="&tags=species%3A"],div#tag_list span>a[href*="&tags=species:"],div#tag_list span>a[href*="&tags=species%3A"] {
color: #403000 !important;
}
/*----*/

[/code]

It's a bloody mess, I know.
refinder
Sat, Oct 03 '15, 03:46
I wish we could implement something like that around here.
1


Reply | New Topic | Help | Forum Index