-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Major update for highlight-js: Added agate.css to better control how …
…it renders Signed-off-by: Pascal Andy <[email protected]>
- Loading branch information
1 parent
af3c5b9
commit cfb365d
Showing
3 changed files
with
138 additions
and
6 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
/*! | ||
* Agate by Taufik Nurrohman <https://github.com/tovic> | ||
* <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.14.2/styles/agate.min.css"> | ||
* <!-- Line number is not supported > http://highlightjs.readthedocs.io/en/latest/line-numbers.html --> | ||
* | ||
* ---------------------------------------------------- | ||
* | ||
* #ade5fc | ||
* #a2fca2 | ||
* #c6b4f0 | ||
* #d36363 | ||
* #fcc28c | ||
* #fc9b9b | ||
* #ffa | ||
* #fff | ||
* #333 | ||
* #62c8f3 | ||
* #888 | ||
* | ||
*/ | ||
|
||
.hljs { | ||
display: block !important; | ||
overflow-x: auto !important; | ||
background: #333 !important; | ||
color: white !important; | ||
padding: 40px 20px 40px 20px !important; | ||
font-size: 17px !important; | ||
} | ||
|
||
.hljs-name, | ||
.hljs-strong { | ||
font-weight: bold | ||
} | ||
|
||
.hljs-code, | ||
.hljs-emphasis { | ||
font-style: italic | ||
} | ||
|
||
.hljs-tag { | ||
color: #62c8f3 | ||
} | ||
|
||
.hljs-variable, | ||
.hljs-template-variable, | ||
.hljs-selector-id, | ||
.hljs-selector-class { | ||
color: #ade5fc | ||
} | ||
|
||
.hljs-string, | ||
.hljs-bullet { | ||
color: #a2fca2 | ||
} | ||
|
||
.hljs-type, | ||
.hljs-title, | ||
.hljs-section, | ||
.hljs-attribute, | ||
.hljs-quote, | ||
.hljs-built_in, | ||
.hljs-builtin-name { | ||
color: #ffa | ||
} | ||
|
||
.hljs-number, | ||
.hljs-symbol, | ||
.hljs-bullet { | ||
color: #d36363 | ||
} | ||
|
||
.hljs-keyword, | ||
.hljs-selector-tag, | ||
.hljs-literal { | ||
color: #fcc28c | ||
} | ||
|
||
.hljs-comment, | ||
.hljs-deletion, | ||
.hljs-code { | ||
color: #888 | ||
} | ||
|
||
.hljs-regexp, | ||
.hljs-link { | ||
color: #c6b4f0 | ||
} | ||
|
||
.hljs-meta { | ||
color: #fc9b9b | ||
} | ||
|
||
.hljs-deletion { | ||
background-color: #fc9b9b; | ||
color: #333 | ||
} | ||
|
||
.hljs-addition { | ||
background-color: #a2fca2; | ||
color: #333 | ||
} | ||
|
||
.hljs a { | ||
color: inherit | ||
} | ||
|
||
.hljs a:focus, | ||
.hljs a:hover { | ||
color: inherit; | ||
text-decoration: underline | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/*! | ||
* Agate by Taufik Nurrohman <https://github.com/tovic> | ||
* <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.14.2/styles/agate.min.css"> | ||
* <!-- Line number is not supported > http://highlightjs.readthedocs.io/en/latest/line-numbers.html --> | ||
* | ||
* ---------------------------------------------------- | ||
* | ||
* #ade5fc | ||
* #a2fca2 | ||
* #c6b4f0 | ||
* #d36363 | ||
* #fcc28c | ||
* #fc9b9b | ||
* #ffa | ||
* #fff | ||
* #333 | ||
* #62c8f3 | ||
* #888 | ||
* | ||
*/.hljs{display:block!important;overflow-x:auto!important;background:#333!important;color:#fff!important;padding:40px 20px!important;font-size:17px!important}.hljs-name,.hljs-strong{font-weight:700}.hljs-code,.hljs-emphasis{font-style:italic}.hljs-tag{color:#62c8f3}.hljs-selector-class,.hljs-selector-id,.hljs-template-variable,.hljs-variable{color:#ade5fc}.hljs-bullet,.hljs-string{color:#a2fca2}.hljs-attribute,.hljs-built_in,.hljs-builtin-name,.hljs-quote,.hljs-section,.hljs-title,.hljs-type{color:#ffa}.hljs-bullet,.hljs-number,.hljs-symbol{color:#d36363}.hljs-keyword,.hljs-literal,.hljs-selector-tag{color:#fcc28c}.hljs-code,.hljs-comment,.hljs-deletion{color:#888}.hljs-link,.hljs-regexp{color:#c6b4f0}.hljs-meta{color:#fc9b9b}.hljs-deletion{background-color:#fc9b9b;color:#333}.hljs-addition{background-color:#a2fca2;color:#333}.hljs a{color:inherit}.hljs a:focus,.hljs a:hover{color:inherit;text-decoration:underline} |