Skip to content

Instantly share code, notes, and snippets.

@dogweather
Created September 23, 2025 23:00
Show Gist options
  • Save dogweather/03ba5495c427bc0d8ff6765b795c85e2 to your computer and use it in GitHub Desktop.
Save dogweather/03ba5495c427bc0d8ff6765b795c85e2 to your computer and use it in GitHub Desktop.
Custom CSS for the Wordpress.com SyntaxHighter
/* 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