Change github tab width to 4 in userContent.css

This commit is contained in:
Riyyi
2020-07-20 22:38:06 +02:00
parent 31334fcd51
commit de99b79f45
2 changed files with 14 additions and 0 deletions
+3
View File
@@ -530,6 +530,9 @@ https://github.com/laishulu/hl-fill-column
(setq show-paren-delay 0) (setq show-paren-delay 0)
(setq show-paren-style 'mixed) (setq show-paren-style 'mixed)
;; End sentences with a single space
(setq sentence-end-double-space nil)
;; Enable line numbers ;; Enable line numbers
(global-display-line-numbers-mode) (global-display-line-numbers-mode)
@@ -21,6 +21,17 @@
.postContainer.replyContainer .post.reply { width: 100% } .postContainer.replyContainer .post.reply { width: 100% }
} }
@-moz-document domain("github.com") {
:root{
--tab-size: 4;
}
.blob-code-inner, pre, code, tt {
-moz-tab-size: var(--tab-size);
tab-size: var(--tab-size);
}
}
@-moz-document domain("youtube.com") { @-moz-document domain("youtube.com") {
/* Hide video player */ /* Hide video player */
#player-theater-container { #player-theater-container {