summaryrefslogtreecommitdiff
path: root/firefox
diff options
context:
space:
mode:
Diffstat (limited to 'firefox')
-rw-r--r--firefox/userChrome.css11
1 files changed, 11 insertions, 0 deletions
diff --git a/firefox/userChrome.css b/firefox/userChrome.css
new file mode 100644
index 0000000..73835da
--- /dev/null
+++ b/firefox/userChrome.css
@@ -0,0 +1,11 @@
+/* https://www.reddit.com/r/FirefoxCSS/comments/8ruy2d/numbered_tabs_revisited/ */
+#tabbrowser-tabs{
+ counter-reset: n_tabs 0;
+}
+.tabbrowser-tab .tab-content{padding-left: 2px;}
+.tabbrowser-tab .tab-content::before{
+ display: -moz-box;
+ padding-right:4px;
+ counter-increment: n_tabs;
+ content: counter(n_tabs);
+}