Browse Source

Change github tab width to 4 in userContent.css

master
Riyyi 4 years ago
parent
commit
de99b79f45
  1. 3
      .emacs.d/config.org
  2. 11
      .mozilla/firefox/rick.profile/chrome/userContent.css

3
.emacs.d/config.org

@ -530,6 +530,9 @@ https://github.com/laishulu/hl-fill-column
(setq show-paren-delay 0)
(setq show-paren-style 'mixed)
;; End sentences with a single space
(setq sentence-end-double-space nil)
;; Enable line numbers
(global-display-line-numbers-mode)

11
.mozilla/firefox/rick.profile/chrome/userContent.css

@ -21,6 +21,17 @@
.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") {
/* Hide video player */
#player-theater-container {

Loading…
Cancel
Save