Skip to content

Gelbooru Color Code by ninjaraya

Details

Authorninjaraya

LicenseNo License

Categorygelbooru

Created

Updated

Size2.7 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

personel use

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         Gelbooru Color Code
@version      20211031.04.59
@namespace    userstyles.world/user/ninjaraya
@description  personel use
@author       ninjaraya
@license      No License
==/UserStyle== */

@-moz-document url-prefix("https://gelbooru.com/index.php?page=post&s=list&tags=") {
img[title*="rating:"] {
    border: 5px solid!important;
}
/* Images */
img[title*="rating:S"],
img[title*="rating:s"] {
    border-color: green!important;
}
img[title*="rating:Q"],
img[title*="rating:q"] {
    border-color: yellow!important;
}
img[title*="rating:E"],
img[title*="rating:e"] {
    border-color: red!important;
}
/* Animations */
img[title*="animated_gif"][title*="rating:S"],
img[title*="animated_gif"][title*="rating:s"] {
    border-color: green green green magenta!important;
}
img[title*="animated_gif"][title*="rating:Q"],
img[title*="animated_gif"][title*="rating:q"] {
    border-color: yellow yellow yellow magenta!important;
}
img[title*="animated_gif"][title*="rating:E"],
img[title*="animated_gif"][title*="rating:e"] {
    border-color: red red red magenta!important;
}
img[title*="animated_png"][title*="rating:S"],
img[title*="animated_png"][title*="rating:s"] {
    border-color: green green green cyan!important;
}
img[title*="animated_png"][title*="rating:Q"],
img[title*="animated_png"][title*="rating:q"] {
    border-color: yellow yellow yellow cyan!important;
}
img[title*="animated_png"][title*="rating:E"],
img[title*="animated_png"][title*="rating:e"] {
    border-color: red red red cyan!important;
}
img.webm[title*="rating:S"],
img.webm[title*="rating:s"] {
    border-color: green green green blue!important;
}
img.webm[title*="rating:Q"],
img.webm[title*="rating:q"] {
    border-color: yellow yellow yellow blue!important;
}
img.webm[title*="rating:E"],
img.webm[title*="rating:e"] {
    border-color: red red red blue!important;
}
/* Images non GIF */
img[title*="animated"][title*="rating:S"]:not(.webm):not([title*="animated_gif"]):not([title*="animated_png"]),
img[title*="animated"][title*="rating:s"]:not(.webm):not([title*="animated_gif"]):not([title*="animated_png"]) {
    border-color: blue green magenta!important;
}
img[title*="animated"][title*="rating:Q"]:not(.webm):not([title*="animated_gif"]):not([title*="animated_png"]),
img[title*="animated"][title*="rating:q"]:not(.webm):not([title*="animated_gif"]):not([title*="animated_png"]) {
    border-color: blue yellow magenta!important;
}
img[title*="animated"][title*="rating:E"]:not(.webm):not([title*="animated_gif"]):not([title*="animated_png"]),
img[title*="animated"][title*="rating:e"]:not(.webm):not([title*="animated_gif"]):not([title*="animated_png"]) {
    border-color: blue red magenta!important;
}
}

Reviews

No reviews yet.