Created
September 23, 2025 23:00
-
-
Save dogweather/03ba5495c427bc0d8ff6765b795c85e2 to your computer and use it in GitHub Desktop.
Custom CSS for the Wordpress.com SyntaxHighter
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* My best attempt at GitHub Gist CSS */ | |
/* for the Wordpress Syntax Highlighter. */ | |
div.line > code { | |
font-family: | |
ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, | |
"Liberation Mono", monospace !important; | |
font-size: 0.7em !important; | |
font-weight: 400 !important; | |
line-height: 1.8em !important; | |
} | |
td.gutter > div.line { | |
font-family: | |
ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, | |
"Liberation Mono", monospace !important; | |
font-size: 0.7em !important; | |
font-weight: 400 !important; | |
line-height: 1.83em !important; | |
} | |
div.syntaxhighlighter { | |
border-radius: 0.375rem !important; | |
border: 1px solid #ddd !important; | |
padding-top: 4px !important; | |
padding-bottom: 4px !important; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment