]> git.rmz.io Git - dotfiles.git/commitdiff
dwb: add xkcd css
authorSamir Benmendil <me@rmz.io>
Sat, 13 Jun 2015 00:00:59 +0000 (01:00 +0100)
committerSamir Benmendil <me@rmz.io>
Sat, 13 Jun 2015 00:00:59 +0000 (01:00 +0100)
dwb/userscripts/extension_loader.js
dwb/userstyles/xkcd.com.css [new file with mode: 0644]

index ace1ad13ad558c1b2dd78207419a5530529be2c4..dcea6b0ed65f5321962188185e8af31b1795b1f9 100644 (file)
@@ -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 (file)
index 0000000..f06fd87
--- /dev/null
@@ -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;
+}