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/idea.css | |
| parent | 2c678488eee09e51578bf67215ae4a5625af17da (diff) | |
Change code hightlighting to highlight.js from google-code prettify.js
Diffstat (limited to 'stylesheets/code/idea.css')
| -rw-r--r-- | stylesheets/code/idea.css | 97 |
1 files changed, 97 insertions, 0 deletions
diff --git a/stylesheets/code/idea.css b/stylesheets/code/idea.css new file mode 100644 index 00000000..3bf1892b --- /dev/null +++ b/stylesheets/code/idea.css @@ -0,0 +1,97 @@ +/* + +Intellij Idea-like styling (c) Vasily Polovnyov <vast@whiteants.net> + +*/ + +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + color: #000; + background: #fff; +} + +.hljs-subst, +.hljs-title { + font-weight: normal; + color: #000; +} + +.hljs-comment, +.hljs-quote { + color: #808080; + font-style: italic; +} + +.hljs-meta { + color: #808000; +} + +.hljs-tag { + background: #efefef; +} + +.hljs-section, +.hljs-name, +.hljs-literal, +.hljs-keyword, +.hljs-selector-tag, +.hljs-type, +.hljs-selector-id, +.hljs-selector-class { + font-weight: bold; + color: #000080; +} + +.hljs-attribute, +.hljs-number, +.hljs-regexp, +.hljs-link { + font-weight: bold; + color: #0000ff; +} + +.hljs-number, +.hljs-regexp, +.hljs-link { + font-weight: normal; +} + +.hljs-string { + color: #008000; + font-weight: bold; +} + +.hljs-symbol, +.hljs-bullet, +.hljs-formula { + color: #000; + background: #d0eded; + font-style: italic; +} + +.hljs-doctag { + text-decoration: underline; +} + +.hljs-variable, +.hljs-template-variable { + color: #660e7a; +} + +.hljs-addition { + background: #baeeba; +} + +.hljs-deletion { + background: #ffc8bd; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} |
