From 04777d235de29601d324ccd62c888c2f5891ad05 Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Sat, 13 Jun 2015 01:00:59 +0100 Subject: [PATCH] dwb: add xkcd css --- dwb/userscripts/extension_loader.js | 1 + dwb/userstyles/xkcd.com.css | 31 +++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 dwb/userstyles/xkcd.com.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; +} -- 2.48.1