diff options
| author | Benjamin Southall <applemansigloo@gmail.com> | 2017-03-03 15:34:45 +0900 |
|---|---|---|
| committer | Benjamin Southall <applemansigloo@gmail.com> | 2017-03-03 15:34:45 +0900 |
| commit | a69bc13ba21482b9376cf6071425a64eed31c746 (patch) | |
| tree | ef1728218786cb63ef5454729a4f1ca0f5a8fbcf /stylesheets/code/railscasts.css | |
| parent | 2c678488eee09e51578bf67215ae4a5625af17da (diff) | |
Change code hightlighting to highlight.js from google-code prettify.js
Diffstat (limited to 'stylesheets/code/railscasts.css')
| -rw-r--r-- | stylesheets/code/railscasts.css | 106 |
1 files changed, 106 insertions, 0 deletions
diff --git a/stylesheets/code/railscasts.css b/stylesheets/code/railscasts.css new file mode 100644 index 00000000..008cdc5b --- /dev/null +++ b/stylesheets/code/railscasts.css @@ -0,0 +1,106 @@ +/* + +Railscasts-like style (c) Visoft, Inc. (Damien White) + +*/ + +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + background: #232323; + color: #e6e1dc; +} + +.hljs-comment, +.hljs-quote { + color: #bc9458; + font-style: italic; +} + +.hljs-keyword, +.hljs-selector-tag { + color: #c26230; +} + +.hljs-string, +.hljs-number, +.hljs-regexp, +.hljs-variable, +.hljs-template-variable { + color: #a5c261; +} + +.hljs-subst { + color: #519f50; +} + +.hljs-tag, +.hljs-name { + color: #e8bf6a; +} + +.hljs-type { + color: #da4939; +} + + +.hljs-symbol, +.hljs-bullet, +.hljs-built_in, +.hljs-builtin-name, +.hljs-attr, +.hljs-link { + color: #6d9cbe; +} + +.hljs-params { + color: #d0d0ff; +} + +.hljs-attribute { + color: #cda869; +} + +.hljs-meta { + color: #9b859d; +} + +.hljs-title, +.hljs-section { + color: #ffc66d; +} + +.hljs-addition { + background-color: #144212; + color: #e6e1dc; + display: inline-block; + width: 100%; +} + +.hljs-deletion { + background-color: #600; + color: #e6e1dc; + display: inline-block; + width: 100%; +} + +.hljs-selector-class { + color: #9b703f; +} + +.hljs-selector-id { + color: #8b98ab; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} + +.hljs-link { + text-decoration: underline; +} |
