Change highlightjs code style
This commit is contained in:
parent
220060ccef
commit
35aad3f1a8
@ -210,8 +210,8 @@ h6 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
background: #fdf6e3;
|
background: #f5f2f0;
|
||||||
color: #657b83;
|
color: #333;
|
||||||
line-height: 1.5em;
|
line-height: 1.5em;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
border: none;
|
border: none;
|
||||||
|
115
src/css/theme_daux/vendor/highlight.scss
vendored
115
src/css/theme_daux/vendor/highlight.scss
vendored
@ -1,88 +1,79 @@
|
|||||||
/* ===========================================================================================
|
/**
|
||||||
Code Highlighting
|
* GitHub Gist Theme
|
||||||
============================================================================================== */
|
* Author : Anthony Attard - https://github.com/AnthonyAttard
|
||||||
|
* Author : Louis Barranqueiro - https://github.com/LouisBarranqueiro
|
||||||
/*
|
*/
|
||||||
|
|
||||||
Orginal Style from ethanschoonover.com/solarized (c) Jeremy Hull <sourdrums@gmail.com>
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
.hljs {
|
.hljs {
|
||||||
display: block;
|
display: block;
|
||||||
|
//background: white;
|
||||||
|
//padding: 0.5em;
|
||||||
|
color: #333333;
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
padding: 0.5em;
|
|
||||||
background: #fdf6e3;
|
|
||||||
color: #657b83;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.hljs-comment,
|
.hljs-comment,
|
||||||
.hljs-quote {
|
.hljs-meta {
|
||||||
color: #93a1a1;
|
color: #969896;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Solarized Green */
|
|
||||||
.hljs-keyword,
|
|
||||||
.hljs-selector-tag,
|
|
||||||
.hljs-addition {
|
|
||||||
color: #859900;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Solarized Cyan */
|
|
||||||
.hljs-number,
|
|
||||||
.hljs-string,
|
|
||||||
.hljs-meta .hljs-meta-string,
|
|
||||||
.hljs-literal,
|
|
||||||
.hljs-doctag,
|
|
||||||
.hljs-regexp {
|
|
||||||
color: #2aa198;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Solarized Blue */
|
|
||||||
.hljs-title,
|
|
||||||
.hljs-section,
|
|
||||||
.hljs-name,
|
|
||||||
.hljs-selector-id,
|
|
||||||
.hljs-selector-class {
|
|
||||||
color: #268bd2;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Solarized Yellow */
|
|
||||||
.hljs-attribute,
|
|
||||||
.hljs-attr,
|
|
||||||
.hljs-variable,
|
.hljs-variable,
|
||||||
.hljs-template-variable,
|
.hljs-template-variable,
|
||||||
.hljs-class .hljs-title,
|
.hljs-strong,
|
||||||
.hljs-type {
|
.hljs-emphasis,
|
||||||
color: #b58900;
|
.hljs-quote {
|
||||||
|
color: #df5000;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Solarized Orange */
|
.hljs-keyword,
|
||||||
|
.hljs-selector-tag,
|
||||||
|
.hljs-type {
|
||||||
|
color: #d73a49;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-literal,
|
||||||
.hljs-symbol,
|
.hljs-symbol,
|
||||||
.hljs-bullet,
|
.hljs-bullet,
|
||||||
.hljs-subst,
|
.hljs-attribute {
|
||||||
.hljs-meta,
|
color: #0086b3;
|
||||||
.hljs-meta .hljs-keyword,
|
}
|
||||||
|
|
||||||
|
.hljs-section,
|
||||||
|
.hljs-name {
|
||||||
|
color: #63a35c;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-tag {
|
||||||
|
color: #333333;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-title,
|
||||||
|
.hljs-attr,
|
||||||
|
.hljs-selector-id,
|
||||||
|
.hljs-selector-class,
|
||||||
.hljs-selector-attr,
|
.hljs-selector-attr,
|
||||||
.hljs-selector-pseudo,
|
.hljs-selector-pseudo {
|
||||||
.hljs-link {
|
color: #6f42c1;
|
||||||
color: #cb4b16;
|
}
|
||||||
|
|
||||||
|
.hljs-addition {
|
||||||
|
color: #55a532;
|
||||||
|
background-color: #eaffea;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Solarized Red */
|
|
||||||
.hljs-built_in,
|
|
||||||
.hljs-deletion {
|
.hljs-deletion {
|
||||||
color: #dc322f;
|
color: #bd2c00;
|
||||||
|
background-color: #ffecec;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hljs-formula {
|
.hljs-link {
|
||||||
background: #eee8d5;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hljs-emphasis {
|
.hljs-number {
|
||||||
font-style: italic;
|
color: #005cc5;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hljs-strong {
|
.hljs-string {
|
||||||
font-weight: bold;
|
color: #032f62;
|
||||||
}
|
}
|
||||||
|
@ -199,8 +199,8 @@ h6 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
background: #fdf6e3;
|
background: #f5f2f0;
|
||||||
color: #657b83;
|
color: #333;
|
||||||
line-height: 1.5em;
|
line-height: 1.5em;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
|
159
src/css/theme_daux_singlepage/vendor/highlight.scss
vendored
159
src/css/theme_daux_singlepage/vendor/highlight.scss
vendored
@ -1,90 +1,79 @@
|
|||||||
/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
|
/**
|
||||||
|
* GitHub Gist Theme
|
||||||
|
* Author : Anthony Attard - https://github.com/AnthonyAttard
|
||||||
|
* Author : Louis Barranqueiro - https://github.com/LouisBarranqueiro
|
||||||
|
*/
|
||||||
|
|
||||||
/* Tomorrow Comment */
|
.hljs {
|
||||||
.hljs-comment {
|
|
||||||
color: hsl(207, 35%, 35%);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Tomorrow Red */
|
|
||||||
.hljs-variable,
|
|
||||||
.hljs-attribute,
|
|
||||||
.hljs-tag,
|
|
||||||
.hljs-regexp,
|
|
||||||
.ruby .hljs-constant,
|
|
||||||
.xml .hljs-tag .hljs-title,
|
|
||||||
.xml .hljs-pi,
|
|
||||||
.xml .hljs-doctype,
|
|
||||||
.html .hljs-doctype,
|
|
||||||
.css .hljs-id,
|
|
||||||
.css .hljs-class,
|
|
||||||
.css .hljs-pseudo {
|
|
||||||
color: #c82829;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Tomorrow Orange */
|
|
||||||
.hljs-number,
|
|
||||||
.hljs-preprocessor,
|
|
||||||
.hljs-pragma,
|
|
||||||
.hljs-built_in,
|
|
||||||
.hljs-literal,
|
|
||||||
.hljs-constant,
|
|
||||||
.hljs-function .hljs-title {
|
|
||||||
color: hsl(50, 100%, 60%);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Tomorrow Yellow */
|
|
||||||
.ruby .hljs-class .hljs-title,
|
|
||||||
.css .hljs-rules .hljs-attribute {
|
|
||||||
color: #eab700;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Tomorrow Green */
|
|
||||||
.hljs-string,
|
|
||||||
.hljs-value,
|
|
||||||
.hljs-inheritance,
|
|
||||||
.hljs-header,
|
|
||||||
.ruby .hljs-symbol,
|
|
||||||
.xml .hljs-cdata {
|
|
||||||
color: hsl(0, 100%, 70%);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Tomorrow Aqua */
|
|
||||||
.css .hljs-hexcolor {
|
|
||||||
color: #3e999f;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Tomorrow Blue */
|
|
||||||
.hljs-function .keyword,
|
|
||||||
.python .hljs-decorator,
|
|
||||||
.python .hljs-title,
|
|
||||||
.ruby .hljs-function .hljs-title,
|
|
||||||
.ruby .hljs-title .hljs-keyword,
|
|
||||||
.perl .hljs-sub,
|
|
||||||
.javascript .hljs-title,
|
|
||||||
.coffeescript .hljs-title {
|
|
||||||
color: hsl(207, 70%, 60%);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Tomorrow Purple */
|
|
||||||
.hljs-keyword,
|
|
||||||
.javascript .hljs-function {
|
|
||||||
color: hsl(207, 95%, 70%);
|
|
||||||
}
|
|
||||||
|
|
||||||
.hljs {
|
|
||||||
display: block;
|
display: block;
|
||||||
background: white;
|
//background: white;
|
||||||
color: #4d4d4c;
|
//padding: 0.5em;
|
||||||
padding: 0.5em;
|
color: #333333;
|
||||||
font-family: "Anonymous Pro", "Inconsolata", "Monaco", monospace;
|
overflow-x: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.coffeescript .javascript,
|
.hljs-comment,
|
||||||
.javascript .xml,
|
.hljs-meta {
|
||||||
.tex .hljs-formula,
|
color: #969896;
|
||||||
.xml .javascript,
|
}
|
||||||
.xml .vbscript,
|
|
||||||
.xml .css,
|
.hljs-variable,
|
||||||
.xml .hljs-cdata {
|
.hljs-template-variable,
|
||||||
opacity: 0.5;
|
.hljs-strong,
|
||||||
|
.hljs-emphasis,
|
||||||
|
.hljs-quote {
|
||||||
|
color: #df5000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-keyword,
|
||||||
|
.hljs-selector-tag,
|
||||||
|
.hljs-type {
|
||||||
|
color: #d73a49;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-literal,
|
||||||
|
.hljs-symbol,
|
||||||
|
.hljs-bullet,
|
||||||
|
.hljs-attribute {
|
||||||
|
color: #0086b3;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-section,
|
||||||
|
.hljs-name {
|
||||||
|
color: #63a35c;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-tag {
|
||||||
|
color: #333333;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-title,
|
||||||
|
.hljs-attr,
|
||||||
|
.hljs-selector-id,
|
||||||
|
.hljs-selector-class,
|
||||||
|
.hljs-selector-attr,
|
||||||
|
.hljs-selector-pseudo {
|
||||||
|
color: #6f42c1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-addition {
|
||||||
|
color: #55a532;
|
||||||
|
background-color: #eaffea;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-deletion {
|
||||||
|
color: #bd2c00;
|
||||||
|
background-color: #ffecec;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-link {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-number {
|
||||||
|
color: #005cc5;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-string {
|
||||||
|
color: #032f62;
|
||||||
}
|
}
|
||||||
|
2
themes/daux/css/theme-blue.min.css
vendored
2
themes/daux/css/theme-blue.min.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
themes/daux/css/theme-green.min.css
vendored
2
themes/daux/css/theme-green.min.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
themes/daux/css/theme-navy.min.css
vendored
2
themes/daux/css/theme-navy.min.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
themes/daux/css/theme-red.min.css
vendored
2
themes/daux/css/theme-red.min.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
4
themes/daux_singlepage/css/main.min.css
vendored
4
themes/daux_singlepage/css/main.min.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user