Skip to content

Commit

Permalink
Remove font size option
Browse files Browse the repository at this point in the history
GitHub uses different font sizes in different places so we can not put
them all under one variable without unexpectedly altering layout in some
places. If this is still desirable, it should be in a separate style.
  • Loading branch information
silverwind committed Jul 18, 2020
1 parent 69ecec7 commit 1be56c0
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 7 deletions.
2 changes: 0 additions & 2 deletions github-dark.user.css
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,6 @@
}
@advanced text font-choice "Code Font" Menlo
@advanced text font-features "Code Font Features" normal
@advanced text font-size-choice "Code Font Size" 12
@advanced dropdown code-wrap "Code Wrap" {
nowrap "No Wrap" <<<EOT
EOT;
Expand Down Expand Up @@ -20188,7 +20187,6 @@
#gist-form .file .input textarea, .blob-code-inner {
font-family: "/*[[font-choice]]*/", Consolas, "Liberation Mono", Menlo, Courier, monospace !important;
font-feature-settings: /*[[font-features]]*/ !important;
font-size: /*[[font-size-choice]]*/ !important;
}
/* Base link colors */
.Header-link:focus, .Header-link:hover, table.files .octicon-file-directory,
Expand Down
3 changes: 0 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1859,9 +1859,6 @@ <h3>CodeMirror Editor (JS)</h3>
}, {
pattern: '/*[[font-choice]]*/',
replacement: config.font
}, {
pattern: '/*[[font-size-choice]]*/',
replacement: config.fontSize
}, {
pattern: '/*[[code-wrap]]*/',
replacement: config.codeWrapCss
Expand Down
1 change: 0 additions & 1 deletion src/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
#gist-form .file .input textarea, .blob-code-inner {
font-family: "/*[[font-choice]]*/", Consolas, "Liberation Mono", Menlo, Courier, monospace !important;
font-feature-settings: /*[[font-features]]*/ !important;
font-size: /*[[font-size-choice]]*/ !important;
}
/* Base link colors */
.Header-link:focus, .Header-link:hover, table.files .octicon-file-directory,
Expand Down
1 change: 0 additions & 1 deletion src/template.css
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@
}
@advanced text font-choice "Code Font" Menlo
@advanced text font-features "Code Font Features" normal
@advanced text font-size-choice "Code Font Size" 12
@advanced dropdown code-wrap "Code Wrap" {
nowrap "No Wrap" <<<EOT
EOT;
Expand Down

0 comments on commit 1be56c0

Please sign in to comment.