helm/modules/themes/alucard/config/qutebrowser/userstyles/xkcd.scss

87 lines
2.2 KiB
SCSS
Raw Permalink Normal View History

2020-01-03 21:13:46 -08:00
[qb-domain$="xkcd.com"] {
body {
background: #282a36 !important;
color: #f8f8f2 !important;
2020-01-03 21:13:46 -08:00
}
img, div[class="self"] {
filter: hue-rotate(180deg) invert(100%) !important;
-webkit-filter: hue-rotate(180deg) invert(100%) !important;
}
/*Exceptions*/
img[alt="Stargazing"], img[alt="Flashlights"], img[alt="Google Maps"], img[alt="Alternative Energy Revolution"], img[alt="Man Page"] {
filter: invert(0%) !important;
-webkit-filter: invert(0%) !important;
}
.box {
background: #1E2029 !important;
2020-01-03 21:13:46 -08:00
}
#topLeft a {
color: #e0e0e0 !important;
2020-01-03 21:13:46 -08:00
}
ul.comicNav li a {
background: transparent linear-gradient(#3C3C3C, #2E2E2E) repeat scroll 0% 0% !important;
}
}
[qb-domain="imgs.xkcd.com"] {
img {
filter: hue-rotate(180deg) invert(100%) !important;
-webkit-filter: hue-rotate(180deg) invert(100%) !important;
}
/*Exceptions*/
img[alt="https://imgs.xkcd.com/comics/stargazing.png"],
img[alt="https://imgs.xkcd.com/comics/flashlights.png"],
img[alt="https://imgs.xkcd.com/comics/google_maps.png"],
img[alt="https://imgs.xkcd.com/comics/alternative_energy_revolution.jpg"],
img[alt="https://imgs.xkcd.com/comics/man_page.png"] {
filter: invert(0%) !important;
-webkit-filter: invert(0%) !important;
}
}
[qb-domain="m-xkcd.com"] {
body {
background: #282a36 !important;
2020-01-03 21:13:46 -08:00
}
#title {
color: #FAFAFA !important;
}
#altTextLink {
color: #CCCCCC !important;
}
#news {
color: #FAFAFA !important;
}
ul#footerLinks li a {
background: transparent linear-gradient(#3C3C3C, #2E2E2E) repeat scroll 0% 0% !important;
}
#altText {
background: #131313 !important;
color: #FAFAFA !important;
}
img {
filter: hue-rotate(180deg) invert(100%) !important;
-webkit-filter: hue-rotate(180deg) invert(100%) !important;
}
/*Exceptions*/
img[alt="Stargazing"], img[alt="Flashlights"], img[alt="Google Maps"], img[alt="Alternative Energy Revolution"], img[alt="Man Page"] {
filter: invert(0%) !important;
-webkit-filter: invert(0%) !important;
}
}