mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 13:26:40 +00:00
feat(userstyle/github): add fixed-width textarea
This commit is contained in:
20
userstyles/github-fixed-width-textarea.user.css
Normal file
20
userstyles/github-fixed-width-textarea.user.css
Normal file
@@ -0,0 +1,20 @@
|
||||
/* ==UserStyle==
|
||||
@name GitHub Fixed-Width Textarea
|
||||
@description Enforce fixed-width font and font-size in GitHub textareas
|
||||
@version 1.0.0
|
||||
@license CC0-1.0
|
||||
@author Jim Myhrberg (https://jimeh.me/)
|
||||
@namespace jimeh.me
|
||||
@homepageURL https://github.com/jimeh/dotfiles/blob/main/userstyles/github-fixed-width-textarea.user.css
|
||||
@updateURL https://github.com/jimeh/dotfiles/raw/main/userstyles/github-fixed-width-textarea.user.css
|
||||
@preprocessor stylus
|
||||
|
||||
@var text ghfwt-font-size "Font Size" 12px
|
||||
==/UserStyle== */
|
||||
@-moz-document domain("github.com") {
|
||||
textarea {
|
||||
font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier,
|
||||
monospace !important;
|
||||
font-size: ghfwt-font-size !important;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user