]> git.rmz.io Git - dotfiles.git/commitdiff
dwb: add facebook css (remove right panel)
authorSamir Benmendil <samir.benmendil@gmail.com>
Tue, 20 May 2014 08:27:27 +0000 (09:27 +0100)
committerSamir Benmendil <samir.benmendil@gmail.com>
Tue, 20 May 2014 08:33:58 +0000 (09:33 +0100)
dwb/userscripts/extension_loader.js
dwb/userstyles/facebook.com.css [new file with mode: 0644]

index 5852b2638056a2dc0acf23c94a2df98d0b6c1e9f..23014167b31f332a59ff371f6ae9e9d89e924316 100644 (file)
@@ -106,6 +106,7 @@ defaults: {
 // Settings applied based on the second level domain
 domains : {
     "duckduckgo.com" :     { "user-stylesheet-uri" : "" },
+    "facebook.com" :       { "user-stylesheet-uri" : "file:///home/ramsi/.config/dwb/userstyles/facebook.com.css" },
     "github.com" :         { "user-stylesheet-uri" : "file:///home/ramsi/.config/dwb/userstyles/github.com.css" },
     "humblebundle.com" :   { "user-stylesheet-uri" : "" },
     "stackoverflow.com" :  { "user-stylesheet-uri" : "file:///home/ramsi/.config/dwb/userstyles/stackoverflow.com.css" },
diff --git a/dwb/userstyles/facebook.com.css b/dwb/userstyles/facebook.com.css
new file mode 100644 (file)
index 0000000..f1ca50b
--- /dev/null
@@ -0,0 +1,64 @@
+:not(img) {
+    background-color: #222222 ! important;
+    color: #D4D2CF ! important;
+}
+
+:link, :link * {
+    color: #5DC3D7!important;
+}
+
+:visited, :visited * {
+    color: #666665 !important;
+}
+
+.tagContainer {
+    display: none;
+}
+
+#rightCol, .UIStandardFrame_SidebarAds {
+    display: none;
+}
+
+/*Attemt to still show new members link*/
+#groupsNewMembersLink {
+    display: block !important;
+}
+
+.hasLeftCol #contentArea, .hasLeftCol .uiStreamHomepage {
+    width: 785px !important;
+}
+
+.hasLeftCol .storyContent .shareRedesign, .hasLeftCol .mainWrapper .fbUfi, .hasLeftCol .mainWrapper .uiUfi {
+    width: 640px !important;
+}
+
+.storyContent .shareRedesignVideo > iframe {
+    width: 640px !important;
+    height: 360px !important;
+    margin-left: auto;
+    margin-right: auto;
+}
+
+.commentContent .uiStreamAttachments .swfObject {
+    width: 100% !important;
+    height: 100% !important;
+    margin-left: auto;
+    margin-right: auto;
+}
+
+iframe, embed {
+    width: 100% !important;
+    height: 360px !important;
+}
+
+.mainWrapper, .storyInnerContent {
+    width: 640px;
+}
+
+#leftCol, #pagelet_bluebar {
+    position: fixed;
+}
+
+#globalContainer {
+    padding-top: 37px;
+}