From fe62590fabeca7c697f0b627d6a51cf4dbc64595 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Mon, 4 Aug 2014 23:33:43 +0200 Subject: pentadactyl: add chrome.css and wikipedia.org penta Courtesy of Earnestly --- pentadactyl/chrome.css | 52 +++++++++++++++ pentadactyl/colors/wikipedia.org.penta | 115 +++++++++++++++++++++++++++++++++ 2 files changed, 167 insertions(+) create mode 100644 pentadactyl/chrome.css create mode 100644 pentadactyl/colors/wikipedia.org.penta diff --git a/pentadactyl/chrome.css b/pentadactyl/chrome.css new file mode 100644 index 0000000..2f56681 --- /dev/null +++ b/pentadactyl/chrome.css @@ -0,0 +1,52 @@ +/* ~/.config/pentadactyl/chrome.css */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* Get rid of the bottom border */ +#TabsToolbar:after { + border-bottom: 0px !important; +} + +/* Hide the new curved tab edges */ +.tab-background { + opacity: 0 !important; +} + +/* Hide the little graphic seperator between inactive tabs */ +.tabbrowser-tab:before, +.tabbrowser-tab:after { + visibility: hidden !important; +} + + +/* Reduce the padding around the contents of a tab */ +.tabbrowser-tab .tab-content, +.tabbrowser-tab[selected] .tab-content { + padding: 0 2px 2px 4px !important; +} + +#TabsToolbar { + -moz-appearance: none !important; + background: #dedede !important; +} + +/* Mostly hacks to try deal with tab overflow, it's not pretty */ +#tabbrowser-tabs { + margin-left: -15px !important; + margin-right: -15px !important; +} + +#tabbrowser-tabs ~ #alltabs-button { + padding-left: 15px !important; +} + +/* Make the tab expand to fill the maximum width */ +.tabbrowser-tab { + max-width: 100% !important; + color: #000 !important; +} + +.tabbrowser-tab[selected] { + background: #787777 !important; + color: #efefef !important; +} diff --git a/pentadactyl/colors/wikipedia.org.penta b/pentadactyl/colors/wikipedia.org.penta new file mode 100644 index 0000000..5bc15ad --- /dev/null +++ b/pentadactyl/colors/wikipedia.org.penta @@ -0,0 +1,115 @@ +style -append wikipedia.org <