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/ascetic.css | |
| parent | 2c678488eee09e51578bf67215ae4a5625af17da (diff) | |
Change code hightlighting to highlight.js from google-code prettify.js
Diffstat (limited to 'stylesheets/code/ascetic.css')
| -rw-r--r-- | stylesheets/code/ascetic.css | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/stylesheets/code/ascetic.css b/stylesheets/code/ascetic.css new file mode 100644 index 00000000..48397e88 --- /dev/null +++ b/stylesheets/code/ascetic.css @@ -0,0 +1,45 @@ +/* + +Original style from softwaremaniacs.org (c) Ivan Sagalaev <Maniac@SoftwareManiacs.Org> + +*/ + +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + background: white; + color: black; +} + +.hljs-string, +.hljs-variable, +.hljs-template-variable, +.hljs-symbol, +.hljs-bullet, +.hljs-section, +.hljs-addition, +.hljs-attribute, +.hljs-link { + color: #888; +} + +.hljs-comment, +.hljs-quote, +.hljs-meta, +.hljs-deletion { + color: #ccc; +} + +.hljs-keyword, +.hljs-selector-tag, +.hljs-section, +.hljs-name, +.hljs-type, +.hljs-strong { + font-weight: bold; +} + +.hljs-emphasis { + font-style: italic; +} |
