From: Samir Benmendil Date: Tue, 20 May 2014 08:27:27 +0000 (+0100) Subject: dwb: add facebook css (remove right panel) X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/596edb1afe05cf4285cea23c87e0564e687a6bd2 dwb: add facebook css (remove right panel) --- diff --git a/dwb/userscripts/extension_loader.js b/dwb/userscripts/extension_loader.js index 5852b26..2301416 100644 --- a/dwb/userscripts/extension_loader.js +++ b/dwb/userscripts/extension_loader.js @@ -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 index 0000000..f1ca50b --- /dev/null +++ b/dwb/userstyles/facebook.com.css @@ -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; +}