From: Samir Benmendil Date: Sat, 13 Jun 2015 00:00:59 +0000 (+0100) Subject: dwb: add xkcd css X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/04777d235de29601d324ccd62c888c2f5891ad05?ds=inline dwb: add xkcd css --- diff --git a/dwb/userscripts/extension_loader.js b/dwb/userscripts/extension_loader.js index ace1ad1..dcea6b0 100644 --- a/dwb/userscripts/extension_loader.js +++ b/dwb/userscripts/extension_loader.js @@ -124,6 +124,7 @@ domains : { "trakt.tv" : { "user-stylesheet-uri" : "file:///home/ramsi/.config/dwb/userstyles/trakt.tv.css" }, "usenet-crawler.com" : { "user-stylesheet-uri" : "" }, "wikipedia.org" : { "user-stylesheet-uri" : "file:///home/ramsi/.config/dwb/userstyles/wikipedia.org.css" }, + "xkcd.com" : { "user-stylesheet-uri" : "file:///home/ramsi/.config/dwb/userstyles/xkcd.com.css" }, }, //Settings applied based on the hostname hosts : { diff --git a/dwb/userstyles/xkcd.com.css b/dwb/userstyles/xkcd.com.css new file mode 100644 index 0000000..f06fd87 --- /dev/null +++ b/dwb/userstyles/xkcd.com.css @@ -0,0 +1,31 @@ +:not(img) { + background-color: rgba(34, 34, 34, 0.5) ! important; + background-image: none !important; + color: #D4D2CF ! important; +} + +body, html { + background-color: #222222 ! important; + background-image: none !important; +} + +.dwb_hint { + background-color: #222222 ! important; +} + +:link, :link * { + color: #5DC3D7 !important; +} + +:visited, :visited * { + color: #666665 !important; +} + +.tagContainer { + display: none; +} + +img.illustration { + -webkit-filter: invert(100%) !important; + background-color: transparent !important; +}