Created
November 12, 2014 20:13
-
-
Save rebolyte/8576c269b289dc760161 to your computer and use it in GitHub Desktop.
Upstream TextMate theme ported for use with Alex Gorbatchev's SyntaxHighlighter. See demo here: http://rebolyte.pancakeapps.com/syntax-highlighting.html
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
| /** | |
| * SyntaxHighlighter | |
| * http://alexgorbatchev.com/SyntaxHighlighter | |
| * Version 3.0.83 (July 02 2010) | |
| * Copyright (C) 2004-2010 Alex Gorbatchev. | |
| * Dual licensed under the MIT and GPL licenses. | |
| * | |
| * Upstream theme originally by Media Upstream: | |
| * https://github.com/mediaupstream/Upstream-Textmate-Themes/tree/master/Upstream | |
| * Ported to SyntaxHighlighter by James Irwin (@rebolyte). | |
| * 12-Nov-2014 | |
| */ | |
| /* Overriding the default font in shCore.css. This stylesheet must be included | |
| AFTER the main stylesheet, so this !important actually overrides the main | |
| stylesheet's !important. */ | |
| .syntaxhighlighter a, | |
| .syntaxhighlighter div, | |
| .syntaxhighlighter code, | |
| .syntaxhighlighter table, | |
| .syntaxhighlighter table td, | |
| .syntaxhighlighter table tr, | |
| .syntaxhighlighter table tbody, | |
| .syntaxhighlighter table thead, | |
| .syntaxhighlighter table caption, | |
| .syntaxhighlighter textarea { | |
| font-family: "Monaco", "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; | |
| font-size: 9pt !important; | |
| line-height: 12pt !important; | |
| } | |
| .syntaxhighlighter { | |
| background-color: black !important; | |
| } | |
| .syntaxhighlighter .line.alt1 { | |
| background-color: black !important; | |
| } | |
| .syntaxhighlighter .line.alt2 { | |
| background-color: black !important; | |
| } | |
| .syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 { | |
| background-color: #222 !important; | |
| } | |
| .syntaxhighlighter .line.highlighted.number { | |
| color: #DDD !important; | |
| } | |
| .syntaxhighlighter table caption { | |
| color: white !important; | |
| } | |
| .syntaxhighlighter .gutter { | |
| color: #444 !important; | |
| } | |
| .syntaxhighlighter .gutter .line { | |
| border-right: 3px solid #222 !important; | |
| } | |
| .syntaxhighlighter .gutter .line.highlighted { | |
| background-color: #222 !important; | |
| color: #CCC !important; | |
| } | |
| .syntaxhighlighter.printing .line .content { | |
| border: none !important; | |
| } | |
| .syntaxhighlighter.collapsed { | |
| overflow: visible !important; | |
| } | |
| .syntaxhighlighter.collapsed .toolbar { | |
| color: blue !important; | |
| background: white !important; | |
| border: 1px solid #6ce26c !important; | |
| } | |
| .syntaxhighlighter.collapsed .toolbar a { | |
| color: blue !important; | |
| } | |
| .syntaxhighlighter.collapsed .toolbar a:hover { | |
| color: red !important; | |
| } | |
| .syntaxhighlighter .toolbar { | |
| color: white !important; | |
| background: #6ce26c !important; | |
| border: none !important; | |
| } | |
| .syntaxhighlighter .toolbar a { | |
| color: white !important; | |
| } | |
| .syntaxhighlighter .toolbar a:hover { | |
| color: black !important; | |
| } | |
| .syntaxhighlighter .plain, .syntaxhighlighter .plain a { | |
| color: white !important; | |
| } | |
| .syntaxhighlighter .comments, .syntaxhighlighter .comments a { | |
| color: #555 !important; | |
| font-style: italic; | |
| } | |
| .syntaxhighlighter .string, .syntaxhighlighter .string a { | |
| color: #939F84 !important; | |
| } | |
| .syntaxhighlighter .keyword { | |
| color: #B75C4C !important; | |
| } | |
| .syntaxhighlighter .preprocessor { | |
| color: gray !important; | |
| } | |
| .syntaxhighlighter .variable { | |
| color: #4F6489 !important; | |
| } | |
| .syntaxhighlighter .value { | |
| color: #529C08 !important; | |
| } | |
| .syntaxhighlighter .functions { | |
| color: #FFD767 !important; | |
| } | |
| .syntaxhighlighter .constants { | |
| color: #4F9B00 !important; | |
| } | |
| .syntaxhighlighter .script { | |
| font-weight: bold !important; | |
| color: #006699 !important; | |
| background-color: none !important; | |
| } | |
| .syntaxhighlighter .color1, .syntaxhighlighter .color1 a { | |
| color: #194A87 !important; | |
| } | |
| .syntaxhighlighter .color2, .syntaxhighlighter .color2 a { | |
| color: #BCBE42 !important; | |
| } | |
| .syntaxhighlighter .color3, .syntaxhighlighter .color3 a { | |
| color: #529C08 !important; | |
| } | |
| .syntaxhighlighter .keyword { | |
| font-weight: bold !important; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment