Skip to content

Instantly share code, notes, and snippets.

@btleffler
Last active October 21, 2015 13:16
Show Gist options
  • Save btleffler/7a32abac58e4f61af57a to your computer and use it in GitHub Desktop.
Save btleffler/7a32abac58e4f61af57a to your computer and use it in GitHub Desktop.
Github Code Style Overrides
.tab-size-3, .tab-size-4, .tab-size-5, .tab-size-6, .tab-size-7, .tab-size-8,
.tab-size-9, .tab-size-10, .tab-size-11, .tab-size-12 {
tab-size: 2 !important;
}
.line-numbers, .file-content.code .line-numbers a, .file-data, .data,
.diff-line-code, .blob-line-num, .blob-line-code, .blob-num, .blob-code,
pre, code {
font-family: "Hack", "Menlo", "Liberation Mono", "Consolas", "DejaVu Sans Mono", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace !important;
font-size: 12pt !important;
tab-size: 2 !important;
}
@btleffler
Copy link
Author

I'm a jerk who doesn't like the way Github displays code.

@btleffler
Copy link
Author

For Stylish I match domains with the regular expression .*github.*. It even works on gists, and raw view.

@btleffler
Copy link
Author

This also works for Gitlab.

.*gitlab.*

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment