Skip to content

Instantly share code, notes, and snippets.

@antife-yinyue
Created May 22, 2012 08:09
Show Gist options
  • Save antife-yinyue/2767500 to your computer and use it in GitHub Desktop.
Save antife-yinyue/2767500 to your computer and use it in GitHub Desktop.
The theme for shjs
/**
* Highlight
* Railscasts from Textmate
* More: http://shjs.sourceforge.net/
*/
pre[class^='sh_'], .sh_sourcecode {
overflow-x: auto;
margin-top: 1em;
padding: 8px 12px;
border: 1px solid #e8e8e8;
border-left-width: 6px;
border-radius: 0 4px 4px 0;
background: #f8f8f8;
text-shadow: 0 -1px rgba(0, 0, 0, .1);
}
.sh_sourcecode {
.sh_type, .sh_keyword, .sh_selector, .sh_preproc {
color: #e8bf69;
}
.sh_string, .sh_regexp, .sh_number, .sh_specialchar {
color: #a5c160;
}
.sh_property, .sh_value {
color: #6e9cbd;
}
.sh_function {
color: #da4938;
}
.sh_comment {
color: #bc9357;
font-style: italic;
text-shadow: none;
}
}
.sh_commands code::before {
margin-right: 10px;
content: '$';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment