mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 06:46:40 +00:00
chore(userstyle): simplify userstyles
This commit is contained in:
@@ -1,17 +1,16 @@
|
||||
/* ==UserStyle==
|
||||
@name GitHub Tab-Size
|
||||
@description Customize tab-width in GitHub code views
|
||||
@version 1.0.1
|
||||
@version 1.0.2
|
||||
@license MIT
|
||||
@author Jim Myhrberg (https://jimeh.me/)
|
||||
@namespace jimeh.me
|
||||
@homepageURL https://github.com/jimeh/dotfiles/blob/master/userstyles/github-tab-size.user.css
|
||||
@updateURL https://github.com/jimeh/dotfiles/raw/master/userstyles/github-tab-size.user.css
|
||||
@preprocessor default
|
||||
@preprocessor stylus
|
||||
|
||||
@var range ghts-tab-size "Code Tab Size" [4, 1, 12, 1]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain("github.com") {
|
||||
pre,
|
||||
.highlight,
|
||||
@@ -19,9 +18,9 @@
|
||||
.tab-size,
|
||||
.blob-code,
|
||||
.line-data {
|
||||
-moz-tab-size: var(--ghts-tab-size) !important;
|
||||
-webkit-tab-size: var(--ghts-tab-size) !important;
|
||||
-o-tab-size: var(--ghts-tab-size) !important;
|
||||
tab-size: var(--ghts-tab-size) !important;
|
||||
-moz-tab-size: ghts-tab-size !important;
|
||||
-webkit-tab-size: ghts-tab-size !important;
|
||||
-o-tab-size: ghts-tab-size !important;
|
||||
tab-size: ghts-tab-size !important;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user