aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pentadactyl/chrome.css52
-rw-r--r--pentadactyl/colors/wikipedia.org.penta115
2 files changed, 167 insertions, 0 deletions
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 <<EOF
+body {
+ background: #EFEFEE !important;
+ text-align: justify !important;
+ font-family: "Linux Libertine O" !important;
+ font-size: 1.2em !important;
+}
+
+span.mw-editsection {
+ display: none !important;
+}
+
+h1 {
+ font-size: 2.2em !important;
+ font-weight: bold !important;
+ font-style: italic !important;
+ font-family: "Heuristica" !important;
+ color: #888889 !important;
+ overflow: visible !important;
+}
+
+h2 {
+ font-size: 2em !important;
+ font-weight: bold !important;
+ font-style: italic !important;
+ font-family: "Heuristica" !important;
+ color: #888889 !important;
+ overflow: visible !important;
+}
+
+h3 {
+ font-size: 1em !important;
+ font-weight: bold !important;
+ font-style: italic !important;
+ font-family: "Heuristica" !important;
+ color: #888889 !important;
+ overflow: visible !important;
+}
+
+
+table.vertical-navbox.nowraplinks {
+ width: 0em !important;
+ border: none !important;
+ padding: 0em !important;
+ border-spacing: none !important;
+}
+
+#mw-page-base {
+ background: #EFEFEE !important;
+ background-image: none !important;
+}
+
+div#mw-panel,div#mw-head {
+ display: none !important;
+}
+
+div#toc.toc {
+ border: none !important;
+ display: block !important;
+ background: inherit !important;
+}
+
+table.ambox {
+ display: none !important;
+}
+
+div#content {
+ margin-left: 6em !important;
+ margin-right: 6em !important;
+ color: #444448 !important;
+ background: #EEEEDE !important;
+ box-shadow: inset 0 0 0.5em #AAA !important;
+ border-color: #666667 !important;
+ border-style: none !important;
+ border-radius: 0.1em;
+}
+
+div#toctitle {
+ text-align: left !important;
+}
+
+span.toctoggle {
+ display: none !important;
+}
+
+div#footer {
+ margin-left: 6em !important;
+ margin-right: 6em !important;
+}
+
+table.infobox td {
+ text-align: right !important;
+}
+
+table.infobox tr td:nth-child(1) {
+ text-align: left !important;
+}
+
+table.infobox,
+table.infobox.vcard {
+ border: none !important;
+ margin: -0 0 0 0 !important;
+ padding: none !important;
+ background: none !important;
+ float: none !important;
+ color: inherit !important;
+ width: 100% !important;
+}
+
+div#siteSub,
+div#contentSub {
+ font-style: italic !important;
+ margin: -0 0 0 0 !important;
+}
+EOF