/* ==UserStyle==
@name          GitHub Tab-Size
@description   Customize tab-width in GitHub code views
@version       1.1.0
@license       CC0-1.0
@author        Jim Myhrberg (https://jimeh.me/)
@namespace     jimeh.me
@homepageURL   https://github.com/jimeh/dotfiles/blob/main/userstyles/github-tab-size.user.css
@updateURL     https://github.com/jimeh/dotfiles/raw/main/userstyles/github-tab-size.user.css
@preprocessor  stylus

@var range ghts-tab-size "Code Tab Size" [4, 1, 12, 1]
==/UserStyle== */
@-moz-document domain("github.com") {
  pre,
  .highlight,
  .diff-table,
  .tab-size,
  .blob-code,
  .line-data {
    -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;
  }
}

@-moz-document domain("cs.github.com") {
  body {
    -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;
  }
}
