@ -0,0 +1,27 @@ | |||
{ | |||
// Use IntelliSense to learn about possible attributes. | |||
// Hover to view descriptions of existing attributes. | |||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |||
"version": "0.2.0", | |||
"configurations": [ | |||
{ | |||
"name": "Listen for XDebug", | |||
"type": "php", | |||
"request": "launch", | |||
"port": 9000, | |||
"pathMappings": { // "容器中对应的项目地址": "本机项目地址" // 绝对路径 | |||
"/app/":"/var/www/app2"} | |||
}, | |||
{ | |||
"name": "Launch currently open script", | |||
"type": "php", | |||
"request": "launch", | |||
"program": "${file}", | |||
"cwd": "${fileDirname}", | |||
"port": 9000 | |||
} | |||
] | |||
} |
@ -0,0 +1,56 @@ | |||
FROM webdevops/php-nginx-dev | |||
RUN apt-get update \ | |||
&& echo "\033[34m apt-get update finished \033[0m" \ | |||
# Install python3 | |||
&& apt-get install -y python3 \ | |||
&& echo "\033[34m install python3 finished \033[0m" \ | |||
# Install pip | |||
#&& apt-get install -y wget \ | |||
#&& wget -O /tmp/get-pip.py https://bootstrap.pypa.io/get-pip.py \ | |||
#&& python3 /tmp/get-pip.py \ | |||
&& apt-get install -y python3-pip \ | |||
&& echo "\033[34m install python3-pip finished \033[0m" \ | |||
&& pip3 install --upgrade pip \ | |||
&& echo "\033[34m upgrade pip finished \033[0m" \ | |||
# Install other libs | |||
&& pip3 install -U -i https://pypi.tuna.tsinghua.edu.cn/simple/ requests \ | |||
&& echo "\033[34m pip3 install requests finished \033[0m" \ | |||
&& pip3 install -U -i https://pypi.tuna.tsinghua.edu.cn/simple/ numpy==1.14.2 \ | |||
&& echo "\033[34m pip3 install numpy==1.14.2 finished\033[0m" \ | |||
&& pip3 install -U -i https://pypi.tuna.tsinghua.edu.cn/simple/ tqdm==4.11.2 \ | |||
&& echo "\033[34m pip3 install tqdm finished \033[0m" \ | |||
&& pip3 install -U -i https://pypi.tuna.tsinghua.edu.cn/simple/ opencv-python==3.4.0.12 \ | |||
&& echo "\033[34m pip3 install opencv-python==3.4.0.12 finished \033[0m" \ | |||
&& pip3 install -U -i https://pypi.tuna.tsinghua.edu.cn/simple/ Shapely==1.6.4.post1 \ | |||
&& echo "\033[34m pip3 install Shapely==1.6.4.post1 finished\033[0m" \ | |||
&& pip3 install -U -i https://pypi.tuna.tsinghua.edu.cn/simple/ matplotlib==1.5.3 \ | |||
&& echo "\033[34m pip3 install matplotlib==1.5.3 finished \033[0m" \ | |||
&& pip3 install -U -i https://pypi.tuna.tsinghua.edu.cn/simple/ tensorflow==1.4.0 \ | |||
&& echo "\033[34m pip3 install tensorflow==1.4.0 finished \033[0m" \ | |||
&& pip3 install -U -i https://pypi.tuna.tsinghua.edu.cn/simple/ Cython==0.24.1 \ | |||
&& echo "\033[34m pip3 install Cython==0.24.1 finished\033[0m" \ | |||
&& pip3 install -U -i https://pypi.tuna.tsinghua.edu.cn/simple/ ipython==5.1.0 \ | |||
&& echo "\033[34m pip3 install ipython==5.1.0 finished \033[0m" \ | |||
&& pip3 install -U -i https://pypi.tuna.tsinghua.edu.cn/simple/ scipy==1.1.0 \ | |||
&& echo "\033[34m pip3 install scipy==1.1.0 finished \033[0m" \ | |||
&& pip3 install -U -i https://pypi.tuna.tsinghua.edu.cn/simple/ nltk \ | |||
&& echo "\033[34m pip3 install nltk finished\033[0m" \ | |||
&& pip3 install -U -i https://pypi.tuna.tsinghua.edu.cn/simple/ pillow \ | |||
&& echo "\033[34m pip3 install pillow finished \033[0m" \ | |||
&& pip3 install -U -i https://pypi.tuna.tsinghua.edu.cn/simple/ distance \ | |||
&& echo "\033[34m pip3 install distance finished \033[0m" \ | |||
&& pip3 install -U -i https://pypi.tuna.tsinghua.edu.cn/simple/ scikit-image \ | |||
&& echo "\033[34m pip3 install scikit-image finished \033[0m" \ | |||
&& pip3 install -U -i https://pypi.tuna.tsinghua.edu.cn/simple/ six \ | |||
&& echo "\033[34m pip3 install six finished\033[0m" \ | |||
&& pip3 install -U -i https://pypi.tuna.tsinghua.edu.cn/simple/ click \ | |||
&& echo "\033[34m pip3 install click finished \033[0m" \ | |||
COPY php.ini /opt/docker/etc/php/php.ini | |||
@ -0,0 +1,331 @@ | |||
/*! | |||
* Bootstrap Reboot v4.3.1 (https://getbootstrap.com/) | |||
* Copyright 2011-2019 The Bootstrap Authors | |||
* Copyright 2011-2019 Twitter, Inc. | |||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | |||
* Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md) | |||
*/ | |||
*, | |||
*::before, | |||
*::after { | |||
box-sizing: border-box; | |||
} | |||
html { | |||
font-family: sans-serif; | |||
line-height: 1.15; | |||
-webkit-text-size-adjust: 100%; | |||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0); | |||
} | |||
article, aside, figcaption, figure, footer, header, hgroup, main, nav, section { | |||
display: block; | |||
} | |||
body { | |||
margin: 0; | |||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; | |||
font-size: 1rem; | |||
font-weight: 400; | |||
line-height: 1.5; | |||
color: #212529; | |||
text-align: left; | |||
background-color: #fff; | |||
} | |||
[tabindex="-1"]:focus { | |||
outline: 0 !important; | |||
} | |||
hr { | |||
box-sizing: content-box; | |||
height: 0; | |||
overflow: visible; | |||
} | |||
h1, h2, h3, h4, h5, h6 { | |||
margin-top: 0; | |||
margin-bottom: 0.5rem; | |||
} | |||
p { | |||
margin-top: 0; | |||
margin-bottom: 1rem; | |||
} | |||
abbr[title], | |||
abbr[data-original-title] { | |||
text-decoration: underline; | |||
-webkit-text-decoration: underline dotted; | |||
text-decoration: underline dotted; | |||
cursor: help; | |||
border-bottom: 0; | |||
-webkit-text-decoration-skip-ink: none; | |||
text-decoration-skip-ink: none; | |||
} | |||
address { | |||
margin-bottom: 1rem; | |||
font-style: normal; | |||
line-height: inherit; | |||
} | |||
ol, | |||
ul, | |||
dl { | |||
margin-top: 0; | |||
margin-bottom: 1rem; | |||
} | |||
ol ol, | |||
ul ul, | |||
ol ul, | |||
ul ol { | |||
margin-bottom: 0; | |||
} | |||
dt { | |||
font-weight: 700; | |||
} | |||
dd { | |||
margin-bottom: .5rem; | |||
margin-left: 0; | |||
} | |||
blockquote { | |||
margin: 0 0 1rem; | |||
} | |||
b, | |||
strong { | |||
font-weight: bolder; | |||
} | |||
small { | |||
font-size: 80%; | |||
} | |||
sub, | |||
sup { | |||
position: relative; | |||
font-size: 75%; | |||
line-height: 0; | |||
vertical-align: baseline; | |||
} | |||
sub { | |||
bottom: -.25em; | |||
} | |||
sup { | |||
top: -.5em; | |||
} | |||
a { | |||
color: #007bff; | |||
text-decoration: none; | |||
background-color: transparent; | |||
} | |||
a:hover { | |||
color: #0056b3; | |||
text-decoration: underline; | |||
} | |||
a:not([href]):not([tabindex]) { | |||
color: inherit; | |||
text-decoration: none; | |||
} | |||
a:not([href]):not([tabindex]):hover, a:not([href]):not([tabindex]):focus { | |||
color: inherit; | |||
text-decoration: none; | |||
} | |||
a:not([href]):not([tabindex]):focus { | |||
outline: 0; | |||
} | |||
pre, | |||
code, | |||
kbd, | |||
samp { | |||
font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; | |||
font-size: 1em; | |||
} | |||
pre { | |||
margin-top: 0; | |||
margin-bottom: 1rem; | |||
overflow: auto; | |||
} | |||
figure { | |||
margin: 0 0 1rem; | |||
} | |||
img { | |||
vertical-align: middle; | |||
border-style: none; | |||
} | |||
svg { | |||
overflow: hidden; | |||
vertical-align: middle; | |||
} | |||
table { | |||
border-collapse: collapse; | |||
} | |||
caption { | |||
padding-top: 0.75rem; | |||
padding-bottom: 0.75rem; | |||
color: #6c757d; | |||
text-align: left; | |||
caption-side: bottom; | |||
} | |||
th { | |||
text-align: inherit; | |||
} | |||
label { | |||
display: inline-block; | |||
margin-bottom: 0.5rem; | |||
} | |||
button { | |||
border-radius: 0; | |||
} | |||
button:focus { | |||
outline: 1px dotted; | |||
outline: 5px auto -webkit-focus-ring-color; | |||
} | |||
input, | |||
button, | |||
select, | |||
optgroup, | |||
textarea { | |||
margin: 0; | |||
font-family: inherit; | |||
font-size: inherit; | |||
line-height: inherit; | |||
} | |||
button, | |||
input { | |||
overflow: visible; | |||
} | |||
button, | |||
select { | |||
text-transform: none; | |||
} | |||
select { | |||
word-wrap: normal; | |||
} | |||
button, | |||
[type="button"], | |||
[type="reset"], | |||
[type="submit"] { | |||
-webkit-appearance: button; | |||
} | |||
button:not(:disabled), | |||
[type="button"]:not(:disabled), | |||
[type="reset"]:not(:disabled), | |||
[type="submit"]:not(:disabled) { | |||
cursor: pointer; | |||
} | |||
button::-moz-focus-inner, | |||
[type="button"]::-moz-focus-inner, | |||
[type="reset"]::-moz-focus-inner, | |||
[type="submit"]::-moz-focus-inner { | |||
padding: 0; | |||
border-style: none; | |||
} | |||
input[type="radio"], | |||
input[type="checkbox"] { | |||
box-sizing: border-box; | |||
padding: 0; | |||
} | |||
input[type="date"], | |||
input[type="time"], | |||
input[type="datetime-local"], | |||
input[type="month"] { | |||
-webkit-appearance: listbox; | |||
} | |||
textarea { | |||
overflow: auto; | |||
resize: vertical; | |||
} | |||
fieldset { | |||
min-width: 0; | |||
padding: 0; | |||
margin: 0; | |||
border: 0; | |||
} | |||
legend { | |||
display: block; | |||
width: 100%; | |||
max-width: 100%; | |||
padding: 0; | |||
margin-bottom: .5rem; | |||
font-size: 1.5rem; | |||
line-height: inherit; | |||
color: inherit; | |||
white-space: normal; | |||
} | |||
progress { | |||
vertical-align: baseline; | |||
} | |||
[type="number"]::-webkit-inner-spin-button, | |||
[type="number"]::-webkit-outer-spin-button { | |||
height: auto; | |||
} | |||
[type="search"] { | |||
outline-offset: -2px; | |||
-webkit-appearance: none; | |||
} | |||
[type="search"]::-webkit-search-decoration { | |||
-webkit-appearance: none; | |||
} | |||
::-webkit-file-upload-button { | |||
font: inherit; | |||
-webkit-appearance: button; | |||
} | |||
output { | |||
display: inline-block; | |||
} | |||
summary { | |||
display: list-item; | |||
cursor: pointer; | |||
} | |||
template { | |||
display: none; | |||
} | |||
[hidden] { | |||
display: none !important; | |||
} | |||
/*# sourceMappingURL=bootstrap-reboot.css.map */ |
@ -0,0 +1,8 @@ | |||
/*! | |||
* Bootstrap Reboot v4.3.1 (https://getbootstrap.com/) | |||
* Copyright 2011-2019 The Bootstrap Authors | |||
* Copyright 2011-2019 Twitter, Inc. | |||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | |||
* Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md) | |||
*/*,::after,::before{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}article,aside,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:left;background-color:#fff}[tabindex="-1"]:focus{outline:0!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem}p{margin-top:0;margin-bottom:1rem}abbr[data-original-title],abbr[title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;border-bottom:0;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#007bff;text-decoration:none;background-color:transparent}a:hover{color:#0056b3;text-decoration:underline}a:not([href]):not([tabindex]){color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus,a:not([href]):not([tabindex]):hover{color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus{outline:0}code,kbd,pre,samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:1em}pre{margin-top:0;margin-bottom:1rem;overflow:auto}figure{margin:0 0 1rem}img{vertical-align:middle;border-style:none}svg{overflow:hidden;vertical-align:middle}table{border-collapse:collapse}caption{padding-top:.75rem;padding-bottom:.75rem;color:#6c757d;text-align:left;caption-side:bottom}th{text-align:inherit}label{display:inline-block;margin-bottom:.5rem}button{border-radius:0}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}select{word-wrap:normal}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{padding:0;border-style:none}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=date],input[type=datetime-local],input[type=month],input[type=time]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;max-width:100%;padding:0;margin-bottom:.5rem;font-size:1.5rem;line-height:inherit;color:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item;cursor:pointer}template{display:none}[hidden]{display:none!important} | |||
/*# sourceMappingURL=bootstrap-reboot.min.css.map */ |
@ -0,0 +1,17 @@ | |||
<?php | |||
##回调方法 | |||
$img_url = $_GET['img_url']; | |||
// 返回数据给回调页面 | |||
//echo " | |||
//<script>window.parent.document.getElementById('cover_img_url').value='{$img_url}';</script> | |||
//"; | |||
echo" | |||
<script src='test7.js' type='text/javascript'></script> | |||
<script> | |||
append_img('{$img_url}'); | |||
</script> | |||
"; |
@ -0,0 +1,33 @@ | |||
<?php | |||
require_once "pdo.php"; | |||
session_start(); | |||
if(isset($_POST['comment'])&&isset($_POST['id'])&&isset($_POST['article_id'])) | |||
{ | |||
if (strlen($_POST['comment']) < 1 ) { | |||
$_SESSION['error'] = '输入不能为空'; | |||
header( 'Location: view.php?article_id='.$_POST['article_id']) ; | |||
return; | |||
} | |||
$sql = "INSERT INTO commentsss (comment_id,article_id,name,user_id,content) | |||
VALUES (:comment_id,:article_id,:name,:user_id,:comment)"; | |||
$stmt = $pdo->prepare($sql); | |||
try{ | |||
$stmt->execute(array( | |||
':comment_id' => $_POST['id'], | |||
':article_id' => $_POST['article_id'], | |||
':name' => $_SESSION['name'], | |||
':user_id' => $_SESSION['user_id'], | |||
':comment' => $_POST['comment'] | |||
)); | |||
}catch (Exception $e) { | |||
$_SESSION['error'] = '非法'; | |||
header( 'Location:view.php?article_id='.$_POST['article_id'] ) ; | |||
return; | |||
} | |||
$_SESSION['success'] = 'Record Added'; | |||
header( 'Location: view.php?article_id='.$_POST['article_id']) ; | |||
return; | |||
} |
@ -0,0 +1,499 @@ | |||
a, | |||
a:hover, | |||
a:focus { | |||
text-decoration: none; | |||
} | |||
a:focus { | |||
outline: none; | |||
} | |||
body{ | |||
margin:0; | |||
padding:0; | |||
background-image:url(../images/back.jpg); | |||
background-repeat:no-repeat; | |||
background-size:100% 100%; | |||
font-family: 'Open Sans', sans-serif; | |||
font-size: 16px; | |||
font-weight:300; | |||
min-height:70em; | |||
} | |||
.mytitle{ | |||
text-decoration:none; | |||
color:#fff; | |||
font-size: 20px; | |||
font-weight: 300; | |||
} | |||
.row { | |||
margin-right: 0px; | |||
margin-left: 0px; | |||
} | |||
p { | |||
margin: 0 0 20px; | |||
} | |||
.tm-image { | |||
width: 100%; | |||
height: 100%; | |||
} | |||
.fixed-header{ | |||
width:100%; | |||
float:left; | |||
/*background-color:#023D69;*/ | |||
position:fixed; | |||
top:0; | |||
z-index:111; | |||
transition:all 0.4s; | |||
-webkit-transition:all 0.4s; | |||
padding: 5px 0px; | |||
padding-top:30px; | |||
} | |||
.navbar-toggle { | |||
position: absolute; | |||
top: 8px; | |||
right: 17px; | |||
margin: 0; | |||
z-index: 99999999; | |||
color: #fff; | |||
padding: 10px 10px; | |||
background-color: #006699; | |||
border: none; | |||
font-weight: bold; | |||
display:none; | |||
} | |||
.navbar-brand { | |||
color: #fff; | |||
font-weight:300; | |||
font-size: 38px; | |||
} | |||
.navbar-brand:hover, | |||
.navbar-brand:focus { | |||
color: #93FAFF; | |||
} | |||
.fixed-header ul{ | |||
padding:0; | |||
float:right; | |||
margin:0; | |||
} | |||
.fixed-header ul li{ | |||
display:inline-block; | |||
padding: 15px 0px; | |||
} | |||
.fixed-header ul li a{ | |||
text-decoration:none; | |||
color:#fff; | |||
font-size: 20px; | |||
font-weight: 300; | |||
padding: 10px 30px 0; | |||
} | |||
.fixed-header ul li a:hover, | |||
.fixed-header ul li .current{ | |||
color: #93FAFF; | |||
border-top:2px solid #93FAFF; | |||
} | |||
.fixed-header { | |||
background: transparent; | |||
} | |||
.fixed-header.scroll { | |||
background: rgba(2, 61, 105, 0.80); | |||
padding: 0; | |||
} | |||
.fixed-header.scroll .navbar-brand { | |||
font-size: 30px; | |||
} | |||
#home { | |||
padding-top: 8em; | |||
} | |||
.top{ | |||
padding-top:9em; | |||
} | |||
.content { | |||
padding-right: 0px; | |||
padding-left: 0px; | |||
} | |||
.content-item { | |||
padding-right: 0px; | |||
padding-left: 0px; | |||
min-height:570px !important; | |||
} | |||
.content-item p:last-child { | |||
margin-bottom: 0; | |||
} | |||
.background.content-item-1 { | |||
padding: 60px 65px; | |||
} | |||
.background.content-item-2 { | |||
padding: 0px 0px; | |||
} | |||
.last { | |||
padding-right: 0px; | |||
padding-left: 0px; | |||
min-height:284px !important; | |||
} | |||
.background { | |||
background-color: #fff; | |||
padding: 55px 45px; | |||
} | |||
.about-text-container { | |||
font-style: italic; | |||
display: -webkit-flex; | |||
display: -ms-flexbox; | |||
display: flex; | |||
-webkit-flex-direction: column; | |||
-ms-flex-direction: column; | |||
flex-direction: column; | |||
-webkit-justify-content: center; | |||
-ms-flex-pack: center; | |||
justify-content: center; | |||
} | |||
.about-text { | |||
margin-bottom: 0; | |||
line-height: 1.6; | |||
} | |||
.main-title { | |||
font-weight: 300; | |||
font-size: 34px; | |||
line-height: 1.4; | |||
margin-top: 70px; | |||
margin-bottom: 5px; | |||
} | |||
.section-title { | |||
font-size: 1.5em; | |||
margin-top: 0; | |||
margin-bottom: 25px; | |||
} | |||
.dark-blue-text { | |||
color: #006699; | |||
} | |||
.light-blue-text { | |||
color: #2FACFF; | |||
} | |||
.dark-blue-bordered-btn:hover, | |||
.dark-blue-bordered-btn:focus, | |||
.dark-blue-btn { | |||
background: #006699; | |||
color: white; | |||
} | |||
.dark-blue-btn:hover, | |||
.dark-blue-btn:focus, | |||
.dark-blue-bordered-btn { | |||
background: none; | |||
border: 1px solid #006699; | |||
color: #006699; | |||
} | |||
.section-text { | |||
line-height: 1.6; | |||
font-size: 1em; | |||
margin-bottom: 15px; | |||
} | |||
.background ul { | |||
margin-bottom:20px; | |||
} | |||
.background li { | |||
list-style: none; | |||
font-size: 16px; | |||
line-height: 27px; | |||
} | |||
.btn { | |||
border-radius:0px; | |||
padding: 10px 25px; | |||
margin-top: 20px; | |||
font-size: 20px; | |||
font-weight: 300; | |||
margin-right: 15px; | |||
transition:all 0.3s; | |||
-webkit-transition:all 0.3s; | |||
} | |||
.btn:last-child { | |||
margin-right: 0; | |||
} | |||
.dark-blue-btn2:hover, | |||
.dark-blue-btn2:focus, | |||
.dark-blue-btn3 { | |||
background: none; | |||
border: 1px solid #fff; | |||
color: #fff; | |||
} | |||
.btn2 { | |||
background:#006699; | |||
color: #fff; | |||
border-style: none; | |||
padding: 10px 25px; | |||
font-size: 20px; | |||
font-weight: 300; | |||
margin-right: 15px; | |||
transition:all 0.3s; | |||
-webkit-transition:all 0.3s; | |||
white-space: nowrap; | |||
} | |||
.btn-big { | |||
padding: 10px 40px; | |||
min-width: 176px; | |||
} | |||
.btn-contact { | |||
font-size: 17px; | |||
padding: 10px 35px; | |||
color: #807D7D; | |||
font-weight: 300; | |||
margin-top: 0; | |||
transition: all 0.3s ease; | |||
} | |||
.btn-contact:hover, | |||
.btn-contact:focus { | |||
color: white; | |||
background-color: rgba(47,47,47,0.5); | |||
} | |||
.no-bg { | |||
background: none; | |||
border: 1px solid #aaa; | |||
} | |||
.yellow-btn { | |||
background:#ACA633; | |||
border:1px solid #ACA633; | |||
color:#fff; | |||
} | |||
.yellow-btn:hover, | |||
.yellow-btn:focus { | |||
background: none; | |||
color: #ACA633; | |||
} | |||
.green-btn { | |||
background:#168887; | |||
border:1px solid #168887; | |||
color:#fff; | |||
} | |||
.green-btn:hover, | |||
.green-btn:focus { | |||
background: none; | |||
color: #168887; | |||
} | |||
.normal-btn { | |||
font-size: 16px; | |||
font-weight: 300; | |||
min-width: 145px; | |||
} | |||
.form-control { | |||
box-shadow: none; | |||
font-size: 16px; | |||
height: auto; | |||
padding: 8px 12px; | |||
} | |||
.form-group { | |||
margin-bottom: 18px; | |||
} | |||
.contact-form { | |||
overflow: hidden; | |||
margin-left: -15px; | |||
margin-right: -15px; | |||
} | |||
.content-item input, .content-item textarea { | |||
border-radius:0px; | |||
} | |||
.contact-field { | |||
padding-left: 0; | |||
padding-right: 0; | |||
} | |||
.footer { | |||
color:#fff; | |||
font-size: 14px; | |||
font-weight: 400; | |||
padding:48px 0; | |||
} | |||
.footer a { | |||
color: #FF6; | |||
} | |||
.margin-b-0 { | |||
margin-bottom: 0; | |||
} | |||
.flexbox { | |||
display: -webkit-flex; | |||
display: -ms-flexbox; | |||
display: flex; | |||
-webkit-flex-direction: column; | |||
-ms-flex-direction: column; | |||
flex-direction: column; | |||
-webkit-justify-content: center; | |||
-ms-flex-pack: center; | |||
justify-content: center; | |||
} | |||
.pad-l-3 { | |||
padding-left: 3px; | |||
} | |||
.margin-b-25 { | |||
margin-bottom: 25px; | |||
} | |||
@media screen and (max-width:1199px){ | |||
.content-item { | |||
min-height: 470px !important; | |||
} | |||
.content-item img { | |||
min-height: 470px !important; | |||
} | |||
.background p { | |||
line-height: 22px; | |||
} | |||
.background p, | |||
.background li { | |||
font-size: 13px; | |||
} | |||
.background h2 { | |||
margin-bottom: 15px !important; | |||
} | |||
p { | |||
margin: 0 0 10px; | |||
} | |||
.btn { | |||
margin-top: 15px; | |||
} | |||
.background { | |||
background-color: #fff; | |||
} | |||
.last { | |||
min-height: 235px !important; | |||
} | |||
textarea#message { | |||
height: 125px; | |||
} | |||
} | |||
@media screen and (max-width: 1199px) and (min-width: 992px) { | |||
.background { | |||
padding: 25px; | |||
} | |||
.background.content-item-1 { | |||
padding: 0 40px; | |||
} | |||
.btn { | |||
margin-top: 10px; | |||
} | |||
.btn-contact { | |||
margin-top: 0; | |||
} | |||
.form-control { | |||
font-size: 0.9em; | |||
} | |||
} | |||
@media screen and (max-width:991px){ | |||
.content-item { | |||
min-height: inherit !important; | |||
} | |||
.content-item img { | |||
min-height: inherit !important; | |||
} | |||
.fixed-header ul li a { | |||
padding: 0px 15px; | |||
} | |||
.background p { | |||
line-height: 27px; | |||
} | |||
.background p, | |||
.background li { | |||
font-size: 16px; | |||
} | |||
.background h2 { | |||
margin-bottom: 20px; | |||
} | |||
p { | |||
margin: 0 0 20px; | |||
} | |||
.btn { | |||
margin-top: 20px; | |||
} | |||
.last { | |||
min-height: 284px !important; | |||
} | |||
textarea#message { | |||
height: inherit; | |||
} | |||
} | |||
@media screen and (max-width:767px){ | |||
.last { | |||
min-height: inherit !important; | |||
} | |||
.fixed-header.scroll .navbar-brand { | |||
padding: 12px 15px 0; | |||
} | |||
.navbar-toggle { | |||
display:block; | |||
top: 15px; | |||
background-color: white; | |||
} | |||
.fixed-header.scroll .navbar-toggle { | |||
top: 8px; | |||
} | |||
.navbar-toggle .icon-bar { | |||
background-color: #006699; | |||
} | |||
.fixed-header ul li a:hover, | |||
.fixed-header ul li .current { | |||
border-top: none; | |||
} | |||
.fixed-header { | |||
padding: 5px 0; | |||
} | |||
.fixed-header ul li a { | |||
font-size: 1em; | |||
} | |||
.main-menu ul { | |||
width: 100%; | |||
background-color: #023D69; | |||
} | |||
.main-menu { | |||
max-height: 0; | |||
transition: max-height 0.3s; | |||
overflow: hidden; | |||
} | |||
/* http://css3.bradshawenterprises.com/animating_height/ */ | |||
.main-menu.show { | |||
max-height: 250px; | |||
overflow: auto; | |||
} | |||
.main-menu ul li { | |||
display: block; | |||
padding: 10px 0px; | |||
width: 100%; | |||
float:left; | |||
} | |||
.main-menu ul li a { | |||
padding: 0px 0px; | |||
width: 100%; | |||
float: left; | |||
} | |||
#home { | |||
padding-top: 62px; | |||
} | |||
.pad-l-3 { | |||
padding-left: 15px; | |||
} | |||
} | |||
@media screen and (max-width:500px) { | |||
.btn { | |||
margin-top: 10px; | |||
} | |||
} | |||
@media screen and (max-width: 480px) { | |||
.background.content-item-1 { | |||
padding: 40px 45px; | |||
} | |||
} | |||
@media screen and (max-width: 420px) { | |||
.background { | |||
padding: 40px 35px; | |||
} | |||
.background.content-item-1 { | |||
padding: 20px 25px; | |||
} | |||
} | |||
@ -0,0 +1,364 @@ | |||
<!doctype html> | |||
<?php | |||
require_once "pdo.php"; | |||
session_start(); | |||
if ( isset($_SESSION['error']) ) { | |||
echo '<p style="color:red">'.$_SESSION['error']."</p>\n"; | |||
unset($_SESSION['error']); | |||
} | |||
if (isset($_GET['article_id']) ) | |||
{ | |||
$stmt = $pdo->prepare('SELECT content, headline,user_id,public,category FROM article WHERE article_id = :article_id'); | |||
$stmt->execute(array( ':article_id' => $_GET["article_id"])); | |||
$row = $stmt->fetch(PDO::FETCH_ASSOC); | |||
if ( $row == false ) { | |||
header('Location: index.php'); | |||
} | |||
} | |||
?> | |||
<html> | |||
<head> | |||
<meta charset="utf-8"/> | |||
<link rel="stylesheet" type="text/css" href="css/templatemo-style.css?t={{time()}}"> | |||
<link type="text/css" href="highlight/styles/a11y-light.css?t={{time()}}" rel="stylesheet"> | |||
<script src="highlight/highlight.pack.js"></script> | |||
<script src="js/jquery.min.js"></script> | |||
<script src="extra.js"></script> | |||
<script src="js/setting.js"></script> | |||
<script src="js/bootstrap.min.js"></script> | |||
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |||
<meta name="viewport" content="width=device-width, initial-scale=1"> | |||
<script src="js/jquery.singlePageNav.min.js"></script> | |||
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script> | |||
<script src="https://cdn.staticfile.org/popper.js/1.12.5/umd/popper.min.js"></script> | |||
<script src="require.js" ></script> | |||
<script> | |||
/*require.config({ | |||
paths : { | |||
"marked" : ["https://cdn.jsdelivr.net/npm/marked/marked.min"], | |||
"highlight" : "highlight/highlight.pack" | |||
} | |||
})*/ | |||
function load() | |||
{ | |||
$('#article_id').val(<?php if(isset($_GET['article_id'])){echo($_GET['article_id']);} ?>); | |||
var str=<?=json_encode($row['content'])?>; | |||
$('#article').val(str); | |||
var str2=<?=json_encode($row['headline'])?>; | |||
$('#title').val(str2); | |||
$('#article_type').val(`<?php if(isset($_GET['article_id'])){echo($row['public']);} ?>`); | |||
$('#category').val(`<?php if(isset($_GET['article_id'])){echo(htmlentities($row['category']));} ?>`); | |||
} | |||
</script> | |||
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css"> | |||
<style type="text/css"> | |||
#for_image{ | |||
background: url(image/image-4x.png) no-repeat; | |||
} | |||
#code{ | |||
background: url(image/code.svg) no-repeat; | |||
background-size:2.3em 2.3em; | |||
} | |||
.nav-button{ | |||
vertical-align:middle; | |||
background-attachment:fixed; | |||
background-position:center!important; | |||
background-size:2.3em 2.3em; | |||
width:2.3em; height:5em; | |||
border-style: none; | |||
padding-top:2em; | |||
margin-right:1em; | |||
margin-left:1em; | |||
filter: invert(100%); | |||
} | |||
.nav-button:hover{ | |||
color: #6C0500; | |||
border-top:0.2em solid #6C0500; | |||
} | |||
#file-upload{ | |||
display:none; | |||
} | |||
#file-upload2{ | |||
display:none; | |||
} | |||
#article{ | |||
margin:1em; | |||
width:100%; | |||
height:46em; | |||
} | |||
#md_render{ | |||
margin:1em; | |||
height:50em; | |||
} | |||
.nav-icon{ | |||
vertical-align:middle; | |||
width:1em; height:1.5em; | |||
border-style: none; | |||
background: transparent; | |||
color:#fff; | |||
font-size: 3em; | |||
font-weight: 400; | |||
} | |||
.nav-icon:hover{ | |||
color: #93FAFF; | |||
border-top:0.1em solid #93FAFF; | |||
} | |||
h1{ | |||
text-align:center; | |||
} | |||
</style> | |||
</head> | |||
<body> | |||
<div class="fixed-header"> | |||
<div class="container"> | |||
<div class="navbar-header"> | |||
<button type="button" class="navbar-toggle"> | |||
<span class="icon-bar"></span> | |||
<span class="icon-bar"></span> | |||
<span class="icon-bar"></span> | |||
</button> | |||
<input id="file-upload" type="file" name="file" accept="image/*"/> | |||
<button class="nav-button" id="for_image" onclick="imageupload()"></button> | |||
<button onclick="bold()" class="nav-icon"><i>B</i></button> | |||
<button onclick="titlee()" class="nav-icon"><i>T</i></button> | |||
<input id="file-upload2" type="file" name="file2" accept="image/*"/> | |||
<button onclick="ocr()" class="nav-icon"><i>O</i></button> | |||
<button class="nav-button" id="code" onclick="code()"></button> | |||
</div> | |||
<nav class="main-menu"> | |||
<ul> | |||
<li> <button class="btn2 dark-blue-btn2" onclick="save()">提交</button> </li> | |||
<li><a href="index.php" class=" external">取消</a></li> | |||
</ul> | |||
</nav> | |||
</div> | |||
</div> | |||
<div class="container-fluid"> | |||
<section class="col-md-12 content" > | |||
<div class="col-lg-12 col-md-12 top" > | |||
<form id="edit_finish" style="text-align:center;margin: 0 auto;" role="form" method="POST" action="save_article.php"> | |||
<input type="text" style="box-shadow: none; margin-right:1em; font-size: 16px;height: auto;" name="title" placeholder="标题" id="title"> | |||
<input type="text" style="box-shadow: none; margin-right:1em; font-size: 16px;height: auto;" name="category" placeholder="分类" id="category"> | |||
<input type="hidden" name="article_id" id="article_id" > | |||
<select name="article_type" style="font-size: 16px; box-sizing:border-box;" id="article_type"> | |||
<option value="public">公开</option> | |||
<option value="private">私密</option> | |||
</select> | |||
<br/> | |||
<br/> | |||
</div> | |||
</section> | |||
<section class="col-md-12 content"> | |||
<div class="row "> | |||
<div class="col-lg-6 col-md-6 content-item content-item-2 "> | |||
<textarea id="article" name="article" class="form-control" > | |||
</textarea></form> | |||
<?php | |||
if (isset($_GET['article_id']) ) | |||
{ | |||
echo(" | |||
<script> | |||
load(); | |||
</script>" | |||
); | |||
} | |||
?> | |||
</div> | |||
<div class="col-lg-6 col-md-6 content-item content-item-2 "> | |||
<pre id="md_render"> | |||
</pre> | |||
<div> | |||
</div> | |||
</section> | |||
<div class="text-center footer"> | |||
<div class="container"> NOTEBOOK</div> | |||
</div> | |||
</body> | |||
</html> | |||
<script> | |||
require.config({ | |||
paths : { | |||
"marked" : ["https://cdn.jsdelivr.net/npm/marked/marked.min"], | |||
"highlight" : "highlight/highlight.pack" | |||
} | |||
}) | |||
function code(){ | |||
$('#article').val($('#article').val()+"\n"+"```"+"\n"+"\n"+"```"); | |||
} | |||
require(["marked","highlight"], function (marked,highlight) { | |||
var rendererMD = new marked.Renderer(); | |||
marked.setOptions({ | |||
renderer: rendererMD, | |||
gfm: true, | |||
tables: true, | |||
breaks: false, | |||
pedantic: false, | |||
sanitize: false, | |||
smartLists: true, | |||
smartypants: false | |||
}); | |||
marked.setOptions({ | |||
highlight: function (code) { | |||
return highlight.highlightAuto(code).value; | |||
} | |||
}); | |||
$('#article').keyup(function(){ | |||
$('#md_render').html(marked($('#article').val())); | |||
$('#md_render').html(marked($('#article').val())); | |||
}) | |||
}); | |||
function imageupload(){ | |||
$("#file-upload").click(); | |||
} | |||
function ocr(){ | |||
$("#file-upload2").click(); | |||
} | |||
function save(){ | |||
article = document.getElementById('article').value; | |||
title = document.getElementById('title').value; | |||
type = document.getElementById('article_type').value; | |||
category=document.getElementById('category').value; | |||
if (article == null || article == "" || title == null || title == ""||type==null||category==null||category=="") { | |||
alert("信息不能为空"); | |||
return false; | |||
} | |||
$("#edit_finish").submit(); | |||
} | |||
function titlee(){ | |||
$("#article"). iAddFieldbefore("# "); | |||
} | |||
function bold(){ | |||
a=$("#article"). iGetFieldPos(); | |||
start=a[0]; | |||
end=a[1]; | |||
$("#article"). iAddFieldboth("**"); | |||
} | |||
</script> | |||
<script type="text/javascript"> | |||
/*var article=$("#article").html; | |||
$.post( 'edit_article.php', { 'val': article }, | |||
function( data ) { | |||
window.console && console.log(data); | |||
} | |||
).error( function() { | |||
alert("Dang!"); | |||
}); | |||
$(document).ready(function (e) {*/ | |||
$("#file-upload").on('input', function () { | |||
var file_data = $('#file-upload').prop('files')[0]; | |||
window.console && console.log(file_data); | |||
var form_data = new FormData(); | |||
form_data.append('file', file_data); | |||
$.ajax({ | |||
url: 'test9.php', // point to server-side controller method | |||
dataType: 'text', // what to expect back from the server | |||
cache: false, | |||
contentType: false, | |||
processData: false, | |||
data: form_data, | |||
type: 'post', | |||
success: function (response) { | |||
if(response) | |||
{ | |||
var currentVal = $('#article').val(); | |||
$('textarea').val(currentVal + '<img src="'+response+'" width="50%" height="50%" />\n\n'); | |||
/* <img src='"+response+" '/>*/ | |||
} | |||
//$('#msg').html(response); // display success response from the server | |||
console.log(response); | |||
}, | |||
error: function (response) { | |||
$('#msg').html(response); // display error response from the server | |||
} | |||
}); | |||
//$('#img').attr('src',file_data); | |||
}); | |||
$("#file-upload2").on('input', function () { | |||
var file_data = $('#file-upload2').prop('files')[0]; | |||
window.console && console.log(file_data); | |||
var form_data = new FormData(); | |||
form_data.append('file', file_data); | |||
$.ajax({ | |||
url: 'test10.php', // point to server-side controller method | |||
dataType: 'text', // what to expect back from the server | |||
cache: false, | |||
contentType: false, | |||
processData: false, | |||
data: form_data, | |||
type: 'post', | |||
success: function (response) { | |||
if(response) | |||
{ | |||
//var obj = eval('(' + response + ')'); | |||
var currentVal = $('#article').val(); | |||
$('textarea').val(currentVal + response); | |||
/* <img src='"+response+" '/>*/ | |||
} | |||
//$('#msg').html(response); // display success response from the server | |||
console.log(response); | |||
}, | |||
error: function (response) { | |||
$('#msg').html(response); // display error response from the server | |||
} | |||
}); | |||
//$('#img').attr('src',file_data); | |||
}); | |||
/* } | |||
);*/ | |||
</script> |
@ -0,0 +1,123 @@ | |||
(function ($) { | |||
/* | |||
* 文本域光标操作(选、添、删、取)的jQuery扩展 @Mr.Think http://mrthink.net/text-field-jquery-extend/ | |||
*/ | |||
$.fn.extend({ | |||
/* | |||
* 获取光标所在位置 | |||
*/ | |||
iGetFieldPos: function () { | |||
var field = this.get(0); | |||
if (document.selection) { | |||
//IE | |||
$(this).focus(); | |||
var sel = document.selection; | |||
var range = sel.createRange(); | |||
var dupRange = range.duplicate(); | |||
dupRange.moveToElementText(field); | |||
dupRange.setEndPoint('EndToEnd', range); | |||
field.selectionStart = dupRange.text.length - range.text.length; | |||
field.selectionEnd = field.selectionStart + range.text.length; | |||
} | |||
return [field.selectionStart,field.selectionEnd]; | |||
}, | |||
/* | |||
* 选中指定位置内字符 || 设置光标位置 | |||
* --- 从start起选中(含第start个),到第end结束(不含第end个) | |||
* --- 若不输入end值,即为设置光标的位置(第start字符后) | |||
*/ | |||
iSelectField: function (start, end) { | |||
var field = this.get(0); | |||
//end未定义,则为设置光标位置 | |||
if (arguments[1] == undefined) { | |||
end = start; | |||
} | |||
if (document.selection) { | |||
//IE | |||
var range = field.createTextRange(); | |||
range.moveEnd('character', -$(this).val().length); | |||
range.moveEnd('character', end); | |||
range.moveStart('character', start); | |||
range.select(); | |||
} else { | |||
//非IE | |||
field.setSelectionRange(start, end); | |||
$(this).focus(); | |||
} | |||
}, | |||
/* | |||
* 选中指定字符串 | |||
*/ | |||
iSelectStr: function (str) { | |||
var field = this.get(0); | |||
var i = $(this).val().indexOf(str); | |||
i != -1 ? $(this).iSelectField(i, i + str.length) : false; | |||
}, | |||
/* | |||
* 在光标之后插入字符串 | |||
*/ | |||
iAddFieldbefore: function (str) { | |||
var field = this.get(0); | |||
var v = $(this).val(); | |||
var len = $(this).val().length; | |||
if (document.selection) { | |||
//IE | |||
$(this).focus(); | |||
document.selection.createRange().text = str; | |||
} else { | |||
//非IE | |||
var selPos = field.selectionStart; | |||
$(this).val($(this).val().slice(0, field.selectionStart) + str + $(this).val().slice(field.selectionStart, len)); | |||
this.iSelectField(selPos + str.length); | |||
}; | |||
}, | |||
iAddFieldafter: function (str) { | |||
var field = this.get(0); | |||
var v = $(this).val(); | |||
var len = $(this).val().length; | |||
if (document.selection) { | |||
//IE | |||
$(this).focus(); | |||
document.selection.createRange().text = str; | |||
} else { | |||
//非IE | |||
var selPos = field.selectionEnd; | |||
$(this).val($(this).val().slice(0, field.selectionEnd) + str + $(this).val().slice(field.selectionEnd, len)); | |||
this.iSelectField(selPos + str.length); | |||
}; | |||
}, | |||
iAddFieldboth: function (str) { | |||
var field = this.get(0); | |||
var v = $(this).val(); | |||
var len = $(this).val().length; | |||
if (document.selection) { | |||
//IE | |||
$(this).focus(); | |||
document.selection.createRange().text = str; | |||
} else { | |||
//非IE | |||
var selPos = field.selectionFirst; | |||
var selPos = field.selectionEnd; | |||
$(this).val($(this).val().slice(0, field.selectionStart) + str + $(this).val().slice(field.selectionStart, field.selectionEnd)+str+$(this).val().slice(field.selectionEnd, len)); | |||
this.iSelectField(selPos + str.length); | |||
}; | |||
}, | |||
/* | |||
* 删除光标前面(-)或者后面(+)的n个字符 | |||
*/ | |||
iDelField: function (n) { | |||
var field = this.get(0); | |||
var pos = $(this).iGetFieldPos(); | |||
var v = $(this).val(); | |||
//大于0则删除后面,小于0则删除前面 | |||
if(pos>0){ | |||
$(this).val(n > 0 ? v.slice(0, pos - n) + v.slice(pos) : v.slice(0, pos) + v.slice(pos - n)); | |||
$(this).iSelectField(pos - (n < 0 ? 0 : n)); | |||
} | |||
} | |||
}); | |||
})(jQuery); |
@ -0,0 +1,35 @@ | |||
<?php | |||
require_once "pdo.php"; | |||
session_start(); | |||
if(isset($_POST['feedback'])&&isset($_POST['feedback_id'])&&isset($_POST['comment_id'])&&isset($_POST['article_id'])) | |||
{ | |||
if (strlen($_POST['feedback']) < 1 ) { | |||
$_SESSION['error'] = '输入不能为空'; | |||
header( 'Location: view.php?article_id='.$_POST['article_id']) ; | |||
return; | |||
} | |||
$sql = "INSERT INTO commentsss (comment_id,article_id,name,user_id,content,feedback_id) | |||
VALUES (:comment_id,:article_id,:name,:user_id,:comment,:feedback_id)"; | |||
$stmt = $pdo->prepare($sql); | |||
try{ | |||
$stmt->execute(array( | |||
':comment_id' => $_POST['comment_id'], | |||
':article_id' => $_POST['article_id'], | |||
':name' => $_SESSION['name'], | |||
':user_id' => $_SESSION['user_id'], | |||
':comment' => $_POST['feedback'], | |||
'feedback_id'=>$_POST['feedback_id'] | |||
)); | |||
}catch (Exception $e) { | |||
$_SESSION['error'] = '非法'; | |||
header( 'Location:view.php?article_id='.$_POST['article_id'] ) ; | |||
return; | |||
} | |||
$_SESSION['success'] = 'Record Added'; | |||
header( 'Location: view.php?article_id='.$_POST['article_id']) ; | |||
return; | |||
} |
@ -0,0 +1,24 @@ | |||
Copyright (c) 2006, Ivan Sagalaev | |||
All rights reserved. | |||
Redistribution and use in source and binary forms, with or without | |||
modification, are permitted provided that the following conditions are met: | |||
* Redistributions of source code must retain the above copyright | |||
notice, this list of conditions and the following disclaimer. | |||
* Redistributions in binary form must reproduce the above copyright | |||
notice, this list of conditions and the following disclaimer in the | |||
documentation and/or other materials provided with the distribution. | |||
* Neither the name of highlight.js nor the names of its contributors | |||
may be used to endorse or promote products derived from this software | |||
without specific prior written permission. | |||
THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY | |||
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | |||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | |||
DISCLAIMED. IN NO EVENT SHALL THE REGENTS AND CONTRIBUTORS BE LIABLE FOR ANY | |||
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | |||
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | |||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | |||
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | |||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
@ -0,0 +1,188 @@ | |||
# Highlight.js | |||
[![Build Status](https://travis-ci.org/highlightjs/highlight.js.svg?branch=master)](https://travis-ci.org/highlightjs/highlight.js) [![Greenkeeper badge](https://badges.greenkeeper.io/highlightjs/highlight.js.svg)](https://greenkeeper.io/) | |||
Highlight.js is a syntax highlighter written in JavaScript. It works in | |||
the browser as well as on the server. It works with pretty much any | |||
markup, doesn’t depend on any framework, and has automatic language | |||
detection. | |||
## Getting Started | |||
The bare minimum for using highlight.js on a web page is linking to the | |||
library along with one of the styles and calling | |||
[`initHighlightingOnLoad`][1]: | |||
```html | |||
<link rel="stylesheet" href="/path/to/styles/default.css"> | |||
<script src="/path/to/highlight.pack.js"></script> | |||
<script>hljs.initHighlightingOnLoad();</script> | |||
``` | |||
This will find and highlight code inside of `<pre><code>` tags; it tries | |||
to detect the language automatically. If automatic detection doesn’t | |||
work for you, you can specify the language in the `class` attribute: | |||
```html | |||
<pre><code class="html">...</code></pre> | |||
``` | |||
The list of supported language classes is available in the [class | |||
reference][2]. Classes can also be prefixed with either `language-` or | |||
`lang-`. | |||
To make arbitrary text look like code, but without highlighting, use the | |||
`plaintext` class: | |||
```html | |||
<pre><code class="plaintext">...</code></pre> | |||
``` | |||
To disable highlighting altogether use the `nohighlight` class: | |||
```html | |||
<pre><code class="nohighlight">...</code></pre> | |||
``` | |||
## Custom Initialization | |||
When you need a bit more control over the initialization of | |||
highlight.js, you can use the [`highlightBlock`][3] and [`configure`][4] | |||
functions. This allows you to control *what* to highlight and *when*. | |||
Here’s an equivalent way to calling [`initHighlightingOnLoad`][1] using | |||
vanilla JS: | |||
```js | |||
document.addEventListener('DOMContentLoaded', (event) => { | |||
document.querySelectorAll('pre code').forEach((block) => { | |||
hljs.highlightBlock(block); | |||
}); | |||
}); | |||
``` | |||
You can use any tags instead of `<pre><code>` to mark up your code. If | |||
you don't use a container that preserves line breaks you will need to | |||
configure highlight.js to use the `<br>` tag: | |||
```js | |||
hljs.configure({useBR: true}); | |||
document.querySelectorAll('div.code').forEach((block) => { | |||
hljs.highlightBlock(block); | |||
}); | |||
``` | |||
For other options refer to the documentation for [`configure`][4]. | |||
## Web Workers | |||
You can run highlighting inside a web worker to avoid freezing the browser | |||
window while dealing with very big chunks of code. | |||
In your main script: | |||
```js | |||
addEventListener('load', () => { | |||
const code = document.querySelector('#code'); | |||
const worker = new Worker('worker.js'); | |||
worker.onmessage = (event) => { code.innerHTML = event.data; } | |||
worker.postMessage(code.textContent); | |||
}); | |||
``` | |||
In worker.js: | |||
```js | |||
onmessage = (event) => { | |||
importScripts('<path>/highlight.pack.js'); | |||
const result = self.hljs.highlightAuto(event.data); | |||
postMessage(result.value); | |||
}; | |||
``` | |||
## Getting the Library | |||
You can get highlight.js as a hosted, or custom-build, browser script or | |||
as a server module. Right out of the box the browser script supports | |||
both AMD and CommonJS, so if you wish you can use RequireJS or | |||
Browserify without having to build from source. The server module also | |||
works perfectly fine with Browserify, but there is the option to use a | |||
build specific to browsers rather than something meant for a server. | |||
Head over to the [download page][5] for all the options. | |||
**Don't link to GitHub directly.** The library is not supposed to work straight | |||
from the source, it requires building. If none of the pre-packaged options | |||
work for you refer to the [building documentation][6]. | |||
**The CDN-hosted package doesn't have all the languages.** Otherwise it'd be | |||
too big. If you don't see the language you need in the ["Common" section][5], | |||
it can be added manually: | |||
```html | |||
<script | |||
charset="UTF-8" | |||
src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/languages/go.min.js"></script> | |||
``` | |||
**On Almond.** You need to use the optimizer to give the module a name. For | |||
example: | |||
```bash | |||
r.js -o name=hljs paths.hljs=/path/to/highlight out=highlight.js | |||
``` | |||
### CommonJS | |||
You can import Highlight.js as a CommonJS-module: | |||
```bash | |||
npm install highlight.js --save | |||
``` | |||
In your application: | |||
```js | |||
import hljs from 'highlight.js'; | |||
``` | |||
The default import imports all languages! Therefore it is likely to be more efficient to import only the library and the languages you need: | |||
```js | |||
import hljs from 'highlight.js/lib/highlight'; | |||
import javascript from 'highlight.js/lib/languages/javascript'; | |||
hljs.registerLanguage('javascript', javascript); | |||
``` | |||
To set the syntax highlighting style, if your build tool processes CSS from your JavaScript entry point, you can import the stylesheet directly into your CommonJS-module: | |||
```js | |||
import hljs from 'highlight.js/lib/highlight'; | |||
import 'highlight.js/styles/github.css'; | |||
``` | |||
## License | |||
Highlight.js is released under the BSD License. See [LICENSE][7] file | |||
for details. | |||
## Links | |||
The official site for the library is at <https://highlightjs.org/>. | |||
Further in-depth documentation for the API and other topics is at | |||
<http://highlightjs.readthedocs.io/>. | |||
Authors and contributors are listed in the [AUTHORS.en.txt][8] file. | |||
[1]: http://highlightjs.readthedocs.io/en/latest/api.html#inithighlightingonload | |||
[2]: http://highlightjs.readthedocs.io/en/latest/css-classes-reference.html | |||
[3]: http://highlightjs.readthedocs.io/en/latest/api.html#highlightblock-block | |||
[4]: http://highlightjs.readthedocs.io/en/latest/api.html#configure-options | |||
[5]: https://highlightjs.org/download/ | |||
[6]: http://highlightjs.readthedocs.io/en/latest/building-testing.html | |||
[7]: https://github.com/highlightjs/highlight.js/blob/master/LICENSE | |||
[8]: https://github.com/highlightjs/highlight.js/blob/master/AUTHORS.en.txt |
@ -0,0 +1,142 @@ | |||
# Highlight.js | |||
Highlight.js — это инструмент для подсветки синтаксиса, написанный на JavaScript. Он работает | |||
и в браузере, и на сервере. Он работает с практически любой HTML разметкой, не | |||
зависит от каких-либо фреймворков и умеет автоматически определять язык. | |||
## Начало работы | |||
Минимум, что нужно сделать для использования highlight.js на веб-странице — это | |||
подключить библиотеку, CSS-стили и вызывать [`initHighlightingOnLoad`][1]: | |||
```html | |||
<link rel="stylesheet" href="/path/to/styles/default.css"> | |||
<script src="/path/to/highlight.pack.js"></script> | |||
<script>hljs.initHighlightingOnLoad();</script> | |||
``` | |||
Библиотека найдёт и раскрасит код внутри тегов `<pre><code>`, попытавшись | |||
автоматически определить язык. Когда автоопределение не срабатывает, можно явно | |||
указать язык в атрибуте class: | |||
```html | |||
<pre><code class="html">...</code></pre> | |||
``` | |||
Список поддерживаемых классов языков доступен в [справочнике по классам][2]. | |||
Класс также можно предварить префиксами `language-` или `lang-`. | |||
Чтобы отключить подсветку для какого-то блока, используйте класс `nohighlight`: | |||
```html | |||
<pre><code class="nohighlight">...</code></pre> | |||
``` | |||
## Инициализация вручную | |||
Чтобы иметь чуть больше контроля за инициализацией подсветки, вы можете | |||
использовать функции [`highlightBlock`][3] и [`configure`][4]. Таким образом | |||
можно управлять тем, *что* и *когда* подсвечивать. | |||
Вот пример инициализации, эквивалентной вызову [`initHighlightingOnLoad`][1], но | |||
с использованием `document.addEventListener`: | |||
```js | |||
document.addEventListener('DOMContentLoaded', (event) => { | |||
document.querySelectorAll('pre code').forEach((block) => { | |||
hljs.highlightBlock(block); | |||
}); | |||
}); | |||
``` | |||
Вы можете использовать любые теги разметки вместо `<pre><code>`. Если | |||
используете контейнер, не сохраняющий переводы строк, вам нужно сказать | |||
highlight.js использовать для них тег `<br>`: | |||
```js | |||
hljs.configure({useBR: true}); | |||
document.querySelectorAll('div.code').forEach((block) => { | |||
hljs.highlightBlock(block); | |||
}); | |||
``` | |||
Другие опции можно найти в документации функции [`configure`][4]. | |||
## Web Workers | |||
Подсветку можно запустить внутри web worker'а, чтобы окно | |||
браузера не подтормаживало при работе с большими кусками кода. | |||
В основном скрипте: | |||
```js | |||
addEventListener('load', () => { | |||
const code = document.querySelector('#code'); | |||
const worker = new Worker('worker.js'); | |||
worker.onmessage = (event) => { code.innerHTML = event.data; } | |||
worker.postMessage(code.textContent); | |||
}); | |||
``` | |||
В worker.js: | |||
```js | |||
onmessage = (event) => { | |||
importScripts('<path>/highlight.pack.js'); | |||
const result = self.hljs.highlightAuto(event.data); | |||
postMessage(result.value); | |||
}; | |||
``` | |||
## Установка библиотеки | |||
Highlight.js можно использовать в браузере прямо с CDN хостинга или скачать | |||
индивидуальную сборку, а также установив модуль на сервере. На | |||
[странице загрузки][5] подробно описаны все варианты. | |||
**Не подключайте GitHub напрямую.** Библиотека не предназначена для | |||
использования в виде исходного кода, а требует отдельной сборки. Если вам не | |||
подходит ни один из готовых вариантов, читайте [документацию по сборке][6]. | |||
**Файл на CDN содержит не все языки.** Иначе он будет слишком большого размера. | |||
Если нужного вам языка нет в [категории "Common"][5], можно дообавить его | |||
вручную: | |||
```html | |||
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.4.0/languages/go.min.js"></script> | |||
``` | |||
**Про Almond.** Нужно задать имя модуля в оптимизаторе, например: | |||
``` | |||
r.js -o name=hljs paths.hljs=/path/to/highlight out=highlight.js | |||
``` | |||
## Лицензия | |||
Highlight.js распространяется под лицензией BSD. Подробнее читайте файл | |||
[LICENSE][7]. | |||
## Ссылки | |||
Официальный сайт билиотеки расположен по адресу <https://highlightjs.org/>. | |||
Более подробная документация по API и другим темам расположена на | |||
<http://highlightjs.readthedocs.io/>. | |||
Авторы и контрибьюторы перечислены в файле [AUTHORS.ru.txt][8] file. | |||
[1]: http://highlightjs.readthedocs.io/en/latest/api.html#inithighlightingonload | |||
[2]: http://highlightjs.readthedocs.io/en/latest/css-classes-reference.html | |||
[3]: http://highlightjs.readthedocs.io/en/latest/api.html#highlightblock-block | |||
[4]: http://highlightjs.readthedocs.io/en/latest/api.html#configure-options | |||
[5]: https://highlightjs.org/download/ | |||
[6]: http://highlightjs.readthedocs.io/en/latest/building-testing.html | |||
[7]: https://github.com/highlightjs/highlight.js/blob/master/LICENSE | |||
[8]: https://github.com/highlightjs/highlight.js/blob/master/AUTHORS.ru.txt |
@ -0,0 +1,98 @@ | |||
/* a11y-dark theme */ | |||
/* Based on the Tomorrow Night Eighties theme: https://github.com/isagalaev/highlight.js/blob/master/src/styles/tomorrow-night-eighties.css */ | |||
/* @author: ericwbailey */ | |||
/* Comment */ | |||
.hljs-comment, | |||
.hljs-quote { | |||
color: #d4d0ab; | |||
} | |||
/* Red */ | |||
.hljs-variable, | |||
.hljs-template-variable, | |||
.hljs-tag, | |||
.hljs-name, | |||
.hljs-selector-id, | |||
.hljs-selector-class, | |||
.hljs-regexp, | |||
.hljs-deletion { | |||
color: #ffa07a; | |||
} | |||
/* Orange */ | |||
.hljs-number, | |||
.hljs-built_in, | |||
.hljs-builtin-name, | |||
.hljs-literal, | |||
.hljs-type, | |||
.hljs-params, | |||
.hljs-meta, | |||
.hljs-link { | |||
color: #f5ab35; | |||
} | |||
/* Yellow */ | |||
.hljs-attribute { | |||
color: #ffd700; | |||
} | |||
/* Green */ | |||
.hljs-string, | |||
.hljs-symbol, | |||
.hljs-bullet, | |||
.hljs-addition { | |||
color: #abe338; | |||
} | |||
/* Blue */ | |||
.hljs-title, | |||
.hljs-section { | |||
color: #00e0e0; | |||
} | |||
/* Purple */ | |||
.hljs-keyword, | |||
.hljs-selector-tag { | |||
color: #dcc6e0; | |||
} | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
background: #2b2b2b; | |||
color: #f8f8f2; | |||
padding: 0.5em; | |||
} | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} | |||
.hljs-strong { | |||
font-weight: bold; | |||
} | |||
@media screen and (-ms-high-contrast: active) { | |||
.hljs-addition, | |||
.hljs-attribute, | |||
.hljs-built_in, | |||
.hljs-builtin-name, | |||
.hljs-bullet, | |||
.hljs-comment, | |||
.hljs-link, | |||
.hljs-literal, | |||
.hljs-meta, | |||
.hljs-number, | |||
.hljs-params, | |||
.hljs-string, | |||
.hljs-symbol, | |||
.hljs-type, | |||
.hljs-quote { | |||
color: highlight; | |||
} | |||
.hljs-keyword, | |||
.hljs-selector-tag { | |||
font-weight: bold; | |||
} | |||
} |
@ -0,0 +1,101 @@ | |||
/* a11y-light theme */ | |||
/* Based on the Tomorrow Night Eighties theme: https://github.com/isagalaev/highlight.js/blob/master/src/styles/tomorrow-night-eighties.css */ | |||
/* @author: ericwbailey */ | |||
/* Comment */ | |||
.hljs-comment, | |||
.hljs-quote { | |||
color: #696969; | |||
} | |||
/* Red */ | |||
.hljs-variable, | |||
.hljs-template-variable, | |||
.hljs-tag, | |||
.hljs-name, | |||
.hljs-selector-id, | |||
.hljs-selector-class, | |||
.hljs-regexp, | |||
.hljs-deletion { | |||
color: #d91e18; | |||
} | |||
code{ | |||
text-align:left!important; | |||
} | |||
/* Orange */ | |||
.hljs-number, | |||
.hljs-built_in, | |||
.hljs-builtin-name, | |||
.hljs-literal, | |||
.hljs-type, | |||
.hljs-params, | |||
.hljs-meta, | |||
.hljs-link { | |||
color: #aa5d00; | |||
} | |||
/* Yellow */ | |||
.hljs-attribute { | |||
color: #aa5d00; | |||
} | |||
/* Green */ | |||
.hljs-string, | |||
.hljs-symbol, | |||
.hljs-bullet, | |||
.hljs-addition { | |||
color: #008000; | |||
} | |||
/* Blue */ | |||
.hljs-title, | |||
.hljs-section { | |||
color: #007faa; | |||
} | |||
/* Purple */ | |||
.hljs-keyword, | |||
.hljs-selector-tag { | |||
color: #7928a1; | |||
} | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
background: #fefefe; | |||
color: #545454; | |||
padding: 0.5em; | |||
} | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} | |||
.hljs-strong { | |||
font-weight: bold; | |||
} | |||
@media screen and (-ms-high-contrast: active) { | |||
.hljs-addition, | |||
.hljs-attribute, | |||
.hljs-built_in, | |||
.hljs-builtin-name, | |||
.hljs-bullet, | |||
.hljs-comment, | |||
.hljs-link, | |||
.hljs-literal, | |||
.hljs-meta, | |||
.hljs-number, | |||
.hljs-params, | |||
.hljs-string, | |||
.hljs-symbol, | |||
.hljs-type, | |||
.hljs-quote { | |||
color: highlight; | |||
} | |||
.hljs-keyword, | |||
.hljs-selector-tag { | |||
font-weight: bold; | |||
} | |||
} |
@ -0,0 +1,108 @@ | |||
/*! | |||
* Agate by Taufik Nurrohman <https://github.com/tovic> | |||
* ---------------------------------------------------- | |||
* | |||
* #ade5fc | |||
* #a2fca2 | |||
* #c6b4f0 | |||
* #d36363 | |||
* #fcc28c | |||
* #fc9b9b | |||
* #ffa | |||
* #fff | |||
* #333 | |||
* #62c8f3 | |||
* #888 | |||
* | |||
*/ | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
padding: 0.5em; | |||
background: #333; | |||
color: white; | |||
} | |||
.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; | |||
} |
@ -0,0 +1,89 @@ | |||
/* | |||
An Old Hope – Star Wars Syntax (c) Gustavo Costa <gusbemacbe@gmail.com> | |||
Original theme - Ocean Dark Theme – by https://github.com/gavsiu | |||
Based on Jesse Leite's Atom syntax theme 'An Old Hope' – https://github.com/JesseLeite/an-old-hope-syntax-atom | |||
*/ | |||
/* Death Star Comment */ | |||
.hljs-comment, | |||
.hljs-quote | |||
{ | |||
color: #B6B18B; | |||
} | |||
/* Darth Vader */ | |||
.hljs-variable, | |||
.hljs-template-variable, | |||
.hljs-tag, | |||
.hljs-name, | |||
.hljs-selector-id, | |||
.hljs-selector-class, | |||
.hljs-regexp, | |||
.hljs-deletion | |||
{ | |||
color: #EB3C54; | |||
} | |||
/* Threepio */ | |||
.hljs-number, | |||
.hljs-built_in, | |||
.hljs-builtin-name, | |||
.hljs-literal, | |||
.hljs-type, | |||
.hljs-params, | |||
.hljs-meta, | |||
.hljs-link | |||
{ | |||
color: #E7CE56; | |||
} | |||
/* Luke Skywalker */ | |||
.hljs-attribute | |||
{ | |||
color: #EE7C2B; | |||
} | |||
/* Obi Wan Kenobi */ | |||
.hljs-string, | |||
.hljs-symbol, | |||
.hljs-bullet, | |||
.hljs-addition | |||
{ | |||
color: #4FB4D7; | |||
} | |||
/* Yoda */ | |||
.hljs-title, | |||
.hljs-section | |||
{ | |||
color: #78BB65; | |||
} | |||
/* Mace Windu */ | |||
.hljs-keyword, | |||
.hljs-selector-tag | |||
{ | |||
color: #B45EA4; | |||
} | |||
/* Millenium Falcon */ | |||
.hljs | |||
{ | |||
display: block; | |||
overflow-x: auto; | |||
background: #1C1D21; | |||
color: #c0c5ce; | |||
padding: 0.5em; | |||
} | |||
.hljs-emphasis | |||
{ | |||
font-style: italic; | |||
} | |||
.hljs-strong | |||
{ | |||
font-weight: bold; | |||
} |
@ -0,0 +1,66 @@ | |||
/* | |||
Date: 24 Fev 2015 | |||
Author: Pedro Oliveira <kanytu@gmail . com> | |||
*/ | |||
.hljs { | |||
color: #a9b7c6; | |||
background: #282b2e; | |||
display: block; | |||
overflow-x: auto; | |||
padding: 0.5em; | |||
} | |||
.hljs-number, | |||
.hljs-literal, | |||
.hljs-symbol, | |||
.hljs-bullet { | |||
color: #6897BB; | |||
} | |||
.hljs-keyword, | |||
.hljs-selector-tag, | |||
.hljs-deletion { | |||
color: #cc7832; | |||
} | |||
.hljs-variable, | |||
.hljs-template-variable, | |||
.hljs-link { | |||
color: #629755; | |||
} | |||
.hljs-comment, | |||
.hljs-quote { | |||
color: #808080; | |||
} | |||
.hljs-meta { | |||
color: #bbb529; | |||
} | |||
.hljs-string, | |||
.hljs-attribute, | |||
.hljs-addition { | |||
color: #6A8759; | |||
} | |||
.hljs-section, | |||
.hljs-title, | |||
.hljs-type { | |||
color: #ffc66d; | |||
} | |||
.hljs-name, | |||
.hljs-selector-id, | |||
.hljs-selector-class { | |||
color: #e8bf6a; | |||
} | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} | |||
.hljs-strong { | |||
font-weight: bold; | |||
} |
@ -0,0 +1,88 @@ | |||
/* | |||
Arduino® Light Theme - Stefania Mellai <s.mellai@arduino.cc> | |||
*/ | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
padding: 0.5em; | |||
background: #FFFFFF; | |||
} | |||
.hljs, | |||
.hljs-subst { | |||
color: #434f54; | |||
} | |||
.hljs-keyword, | |||
.hljs-attribute, | |||
.hljs-selector-tag, | |||
.hljs-doctag, | |||
.hljs-name { | |||
color: #00979D; | |||
} | |||
.hljs-built_in, | |||
.hljs-literal, | |||
.hljs-bullet, | |||
.hljs-code, | |||
.hljs-addition { | |||
color: #D35400; | |||
} | |||
.hljs-regexp, | |||
.hljs-symbol, | |||
.hljs-variable, | |||
.hljs-template-variable, | |||
.hljs-link, | |||
.hljs-selector-attr, | |||
.hljs-selector-pseudo { | |||
color: #00979D; | |||
} | |||
.hljs-type, | |||
.hljs-string, | |||
.hljs-selector-id, | |||
.hljs-selector-class, | |||
.hljs-quote, | |||
.hljs-template-tag, | |||
.hljs-deletion { | |||
color: #005C5F; | |||
} | |||
.hljs-title, | |||
.hljs-section { | |||
color: #880000; | |||
font-weight: bold; | |||
} | |||
.hljs-comment { | |||
color: rgba(149,165,166,.8); | |||
} | |||
.hljs-meta-keyword { | |||
color: #728E00; | |||
} | |||
.hljs-meta { | |||
color: #728E00; | |||
color: #434f54; | |||
} | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} | |||
.hljs-strong { | |||
font-weight: bold; | |||
} | |||
.hljs-function { | |||
color: #728E00; | |||
} | |||
.hljs-number { | |||
color: #8A7B52; | |||
} |
@ -0,0 +1,73 @@ | |||
/* | |||
Date: 17.V.2011 | |||
Author: pumbur <pumbur@pumbur.net> | |||
*/ | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
padding: 0.5em; | |||
background: #222; | |||
} | |||
.hljs, | |||
.hljs-subst { | |||
color: #aaa; | |||
} | |||
.hljs-section { | |||
color: #fff; | |||
} | |||
.hljs-comment, | |||
.hljs-quote, | |||
.hljs-meta { | |||
color: #444; | |||
} | |||
.hljs-string, | |||
.hljs-symbol, | |||
.hljs-bullet, | |||
.hljs-regexp { | |||
color: #ffcc33; | |||
} | |||
.hljs-number, | |||
.hljs-addition { | |||
color: #00cc66; | |||
} | |||
.hljs-built_in, | |||
.hljs-builtin-name, | |||
.hljs-literal, | |||
.hljs-type, | |||
.hljs-template-variable, | |||
.hljs-attribute, | |||
.hljs-link { | |||
color: #32aaee; | |||
} | |||
.hljs-keyword, | |||
.hljs-selector-tag, | |||
.hljs-name, | |||
.hljs-selector-id, | |||
.hljs-selector-class { | |||
color: #6644aa; | |||
} | |||
.hljs-title, | |||
.hljs-variable, | |||
.hljs-deletion, | |||
.hljs-template-tag { | |||
color: #bb1166; | |||
} | |||
.hljs-section, | |||
.hljs-doctag, | |||
.hljs-strong { | |||
font-weight: bold; | |||
} | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} |
@ -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; | |||
} |
@ -0,0 +1,83 @@ | |||
/* Base16 Atelier Cave Dark - Theme */ | |||
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/cave) */ | |||
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | |||
/* Atelier-Cave Comment */ | |||
.hljs-comment, | |||
.hljs-quote { | |||
color: #7e7887; | |||
} | |||
/* Atelier-Cave Red */ | |||
.hljs-variable, | |||
.hljs-template-variable, | |||
.hljs-attribute, | |||
.hljs-regexp, | |||
.hljs-link, | |||
.hljs-tag, | |||
.hljs-name, | |||
.hljs-selector-id, | |||
.hljs-selector-class { | |||
color: #be4678; | |||
} | |||
/* Atelier-Cave Orange */ | |||
.hljs-number, | |||
.hljs-meta, | |||
.hljs-built_in, | |||
.hljs-builtin-name, | |||
.hljs-literal, | |||
.hljs-type, | |||
.hljs-params { | |||
color: #aa573c; | |||
} | |||
/* Atelier-Cave Green */ | |||
.hljs-string, | |||
.hljs-symbol, | |||
.hljs-bullet { | |||
color: #2a9292; | |||
} | |||
/* Atelier-Cave Blue */ | |||
.hljs-title, | |||
.hljs-section { | |||
color: #576ddb; | |||
} | |||
/* Atelier-Cave Purple */ | |||
.hljs-keyword, | |||
.hljs-selector-tag { | |||
color: #955ae7; | |||
} | |||
.hljs-deletion, | |||
.hljs-addition { | |||
color: #19171c; | |||
display: inline-block; | |||
width: 100%; | |||
} | |||
.hljs-deletion { | |||
background-color: #be4678; | |||
} | |||
.hljs-addition { | |||
background-color: #2a9292; | |||
} | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
background: #19171c; | |||
color: #8b8792; | |||
padding: 0.5em; | |||
} | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} | |||
.hljs-strong { | |||
font-weight: bold; | |||
} |
@ -0,0 +1,85 @@ | |||
/* Base16 Atelier Cave Light - Theme */ | |||
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/cave) */ | |||
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | |||
/* Atelier-Cave Comment */ | |||
.hljs-comment, | |||
.hljs-quote { | |||
color: #655f6d; | |||
} | |||
/* Atelier-Cave Red */ | |||
.hljs-variable, | |||
.hljs-template-variable, | |||
.hljs-attribute, | |||
.hljs-tag, | |||
.hljs-name, | |||
.hljs-regexp, | |||
.hljs-link, | |||
.hljs-name, | |||
.hljs-name, | |||
.hljs-selector-id, | |||
.hljs-selector-class { | |||
color: #be4678; | |||
} | |||
/* Atelier-Cave Orange */ | |||
.hljs-number, | |||
.hljs-meta, | |||
.hljs-built_in, | |||
.hljs-builtin-name, | |||
.hljs-literal, | |||
.hljs-type, | |||
.hljs-params { | |||
color: #aa573c; | |||
} | |||
/* Atelier-Cave Green */ | |||
.hljs-string, | |||
.hljs-symbol, | |||
.hljs-bullet { | |||
color: #2a9292; | |||
} | |||
/* Atelier-Cave Blue */ | |||
.hljs-title, | |||
.hljs-section { | |||
color: #576ddb; | |||
} | |||
/* Atelier-Cave Purple */ | |||
.hljs-keyword, | |||
.hljs-selector-tag { | |||
color: #955ae7; | |||
} | |||
.hljs-deletion, | |||
.hljs-addition { | |||
color: #19171c; | |||
display: inline-block; | |||
width: 100%; | |||
} | |||
.hljs-deletion { | |||
background-color: #be4678; | |||
} | |||
.hljs-addition { | |||
background-color: #2a9292; | |||
} | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
background: #efecf4; | |||
color: #585260; | |||
padding: 0.5em; | |||
} | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} | |||
.hljs-strong { | |||
font-weight: bold; | |||
} |
@ -0,0 +1,69 @@ | |||
/* Base16 Atelier Dune Dark - Theme */ | |||
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/dune) */ | |||
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | |||
/* Atelier-Dune Comment */ | |||
.hljs-comment, | |||
.hljs-quote { | |||
color: #999580; | |||
} | |||
/* Atelier-Dune Red */ | |||
.hljs-variable, | |||
.hljs-template-variable, | |||
.hljs-attribute, | |||
.hljs-tag, | |||
.hljs-name, | |||
.hljs-regexp, | |||
.hljs-link, | |||
.hljs-name, | |||
.hljs-selector-id, | |||
.hljs-selector-class { | |||
color: #d73737; | |||
} | |||
/* Atelier-Dune Orange */ | |||
.hljs-number, | |||
.hljs-meta, | |||
.hljs-built_in, | |||
.hljs-builtin-name, | |||
.hljs-literal, | |||
.hljs-type, | |||
.hljs-params { | |||
color: #b65611; | |||
} | |||
/* Atelier-Dune Green */ | |||
.hljs-string, | |||
.hljs-symbol, | |||
.hljs-bullet { | |||
color: #60ac39; | |||
} | |||
/* Atelier-Dune Blue */ | |||
.hljs-title, | |||
.hljs-section { | |||
color: #6684e1; | |||
} | |||
/* Atelier-Dune Purple */ | |||
.hljs-keyword, | |||
.hljs-selector-tag { | |||
color: #b854d4; | |||
} | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
background: #20201d; | |||
color: #a6a28c; | |||
padding: 0.5em; | |||
} | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} | |||
.hljs-strong { | |||
font-weight: bold; | |||
} |
@ -0,0 +1,69 @@ | |||
/* Base16 Atelier Dune Light - Theme */ | |||
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/dune) */ | |||
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | |||
/* Atelier-Dune Comment */ | |||
.hljs-comment, | |||
.hljs-quote { | |||
color: #7d7a68; | |||
} | |||
/* Atelier-Dune Red */ | |||
.hljs-variable, | |||
.hljs-template-variable, | |||
.hljs-attribute, | |||
.hljs-tag, | |||
.hljs-name, | |||
.hljs-regexp, | |||
.hljs-link, | |||
.hljs-name, | |||
.hljs-selector-id, | |||
.hljs-selector-class { | |||
color: #d73737; | |||
} | |||
/* Atelier-Dune Orange */ | |||
.hljs-number, | |||
.hljs-meta, | |||
.hljs-built_in, | |||
.hljs-builtin-name, | |||
.hljs-literal, | |||
.hljs-type, | |||
.hljs-params { | |||
color: #b65611; | |||
} | |||
/* Atelier-Dune Green */ | |||
.hljs-string, | |||
.hljs-symbol, | |||
.hljs-bullet { | |||
color: #60ac39; | |||
} | |||
/* Atelier-Dune Blue */ | |||
.hljs-title, | |||
.hljs-section { | |||
color: #6684e1; | |||
} | |||
/* Atelier-Dune Purple */ | |||
.hljs-keyword, | |||
.hljs-selector-tag { | |||
color: #b854d4; | |||
} | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
background: #fefbec; | |||
color: #6e6b5e; | |||
padding: 0.5em; | |||
} | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} | |||
.hljs-strong { | |||
font-weight: bold; | |||
} |
@ -0,0 +1,84 @@ | |||
/* Base16 Atelier Estuary Dark - Theme */ | |||
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/estuary) */ | |||
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | |||
/* Atelier-Estuary Comment */ | |||
.hljs-comment, | |||
.hljs-quote { | |||
color: #878573; | |||
} | |||
/* Atelier-Estuary Red */ | |||
.hljs-variable, | |||
.hljs-template-variable, | |||
.hljs-attribute, | |||
.hljs-tag, | |||
.hljs-name, | |||
.hljs-regexp, | |||
.hljs-link, | |||
.hljs-name, | |||
.hljs-selector-id, | |||
.hljs-selector-class { | |||
color: #ba6236; | |||
} | |||
/* Atelier-Estuary Orange */ | |||
.hljs-number, | |||
.hljs-meta, | |||
.hljs-built_in, | |||
.hljs-builtin-name, | |||
.hljs-literal, | |||
.hljs-type, | |||
.hljs-params { | |||
color: #ae7313; | |||
} | |||
/* Atelier-Estuary Green */ | |||
.hljs-string, | |||
.hljs-symbol, | |||
.hljs-bullet { | |||
color: #7d9726; | |||
} | |||
/* Atelier-Estuary Blue */ | |||
.hljs-title, | |||
.hljs-section { | |||
color: #36a166; | |||
} | |||
/* Atelier-Estuary Purple */ | |||
.hljs-keyword, | |||
.hljs-selector-tag { | |||
color: #5f9182; | |||
} | |||
.hljs-deletion, | |||
.hljs-addition { | |||
color: #22221b; | |||
display: inline-block; | |||
width: 100%; | |||
} | |||
.hljs-deletion { | |||
background-color: #ba6236; | |||
} | |||
.hljs-addition { | |||
background-color: #7d9726; | |||
} | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
background: #22221b; | |||
color: #929181; | |||
padding: 0.5em; | |||
} | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} | |||
.hljs-strong { | |||
font-weight: bold; | |||
} |
@ -0,0 +1,84 @@ | |||
/* Base16 Atelier Estuary Light - Theme */ | |||
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/estuary) */ | |||
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | |||
/* Atelier-Estuary Comment */ | |||
.hljs-comment, | |||
.hljs-quote { | |||
color: #6c6b5a; | |||
} | |||
/* Atelier-Estuary Red */ | |||
.hljs-variable, | |||
.hljs-template-variable, | |||
.hljs-attribute, | |||
.hljs-tag, | |||
.hljs-name, | |||
.hljs-regexp, | |||
.hljs-link, | |||
.hljs-name, | |||
.hljs-selector-id, | |||
.hljs-selector-class { | |||
color: #ba6236; | |||
} | |||
/* Atelier-Estuary Orange */ | |||
.hljs-number, | |||
.hljs-meta, | |||
.hljs-built_in, | |||
.hljs-builtin-name, | |||
.hljs-literal, | |||
.hljs-type, | |||
.hljs-params { | |||
color: #ae7313; | |||
} | |||
/* Atelier-Estuary Green */ | |||
.hljs-string, | |||
.hljs-symbol, | |||
.hljs-bullet { | |||
color: #7d9726; | |||
} | |||
/* Atelier-Estuary Blue */ | |||
.hljs-title, | |||
.hljs-section { | |||
color: #36a166; | |||
} | |||
/* Atelier-Estuary Purple */ | |||
.hljs-keyword, | |||
.hljs-selector-tag { | |||
color: #5f9182; | |||
} | |||
.hljs-deletion, | |||
.hljs-addition { | |||
color: #22221b; | |||
display: inline-block; | |||
width: 100%; | |||
} | |||
.hljs-deletion { | |||
background-color: #ba6236; | |||
} | |||
.hljs-addition { | |||
background-color: #7d9726; | |||
} | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
background: #f4f3ec; | |||
color: #5f5e4e; | |||
padding: 0.5em; | |||
} | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} | |||
.hljs-strong { | |||
font-weight: bold; | |||
} |
@ -0,0 +1,69 @@ | |||
/* Base16 Atelier Forest Dark - Theme */ | |||
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/forest) */ | |||
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | |||
/* Atelier-Forest Comment */ | |||
.hljs-comment, | |||
.hljs-quote { | |||
color: #9c9491; | |||
} | |||
/* Atelier-Forest Red */ | |||
.hljs-variable, | |||
.hljs-template-variable, | |||
.hljs-attribute, | |||
.hljs-tag, | |||
.hljs-name, | |||
.hljs-regexp, | |||
.hljs-link, | |||
.hljs-name, | |||
.hljs-selector-id, | |||
.hljs-selector-class { | |||
color: #f22c40; | |||
} | |||
/* Atelier-Forest Orange */ | |||
.hljs-number, | |||
.hljs-meta, | |||
.hljs-built_in, | |||
.hljs-builtin-name, | |||
.hljs-literal, | |||
.hljs-type, | |||
.hljs-params { | |||
color: #df5320; | |||
} | |||
/* Atelier-Forest Green */ | |||
.hljs-string, | |||
.hljs-symbol, | |||
.hljs-bullet { | |||
color: #7b9726; | |||
} | |||
/* Atelier-Forest Blue */ | |||
.hljs-title, | |||
.hljs-section { | |||
color: #407ee7; | |||
} | |||
/* Atelier-Forest Purple */ | |||
.hljs-keyword, | |||
.hljs-selector-tag { | |||
color: #6666ea; | |||
} | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
background: #1b1918; | |||
color: #a8a19f; | |||
padding: 0.5em; | |||
} | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} | |||
.hljs-strong { | |||
font-weight: bold; | |||
} |
@ -0,0 +1,69 @@ | |||
/* Base16 Atelier Forest Light - Theme */ | |||
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/forest) */ | |||
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | |||
/* Atelier-Forest Comment */ | |||
.hljs-comment, | |||
.hljs-quote { | |||
color: #766e6b; | |||
} | |||
/* Atelier-Forest Red */ | |||
.hljs-variable, | |||
.hljs-template-variable, | |||
.hljs-attribute, | |||
.hljs-tag, | |||
.hljs-name, | |||
.hljs-regexp, | |||
.hljs-link, | |||
.hljs-name, | |||
.hljs-selector-id, | |||
.hljs-selector-class { | |||
color: #f22c40; | |||
} | |||
/* Atelier-Forest Orange */ | |||
.hljs-number, | |||
.hljs-meta, | |||
.hljs-built_in, | |||
.hljs-builtin-name, | |||
.hljs-literal, | |||
.hljs-type, | |||
.hljs-params { | |||
color: #df5320; | |||
} | |||
/* Atelier-Forest Green */ | |||
.hljs-string, | |||
.hljs-symbol, | |||
.hljs-bullet { | |||
color: #7b9726; | |||
} | |||
/* Atelier-Forest Blue */ | |||
.hljs-title, | |||
.hljs-section { | |||
color: #407ee7; | |||
} | |||
/* Atelier-Forest Purple */ | |||
.hljs-keyword, | |||
.hljs-selector-tag { | |||
color: #6666ea; | |||
} | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
background: #f1efee; | |||
color: #68615e; | |||
padding: 0.5em; | |||
} | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} | |||
.hljs-strong { | |||
font-weight: bold; | |||
} |
@ -0,0 +1,69 @@ | |||
/* Base16 Atelier Heath Dark - Theme */ | |||
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/heath) */ | |||
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | |||
/* Atelier-Heath Comment */ | |||
.hljs-comment, | |||
.hljs-quote { | |||
color: #9e8f9e; | |||
} | |||
/* Atelier-Heath Red */ | |||
.hljs-variable, | |||
.hljs-template-variable, | |||
.hljs-attribute, | |||
.hljs-tag, | |||
.hljs-name, | |||
.hljs-regexp, | |||
.hljs-link, | |||
.hljs-name, | |||
.hljs-selector-id, | |||
.hljs-selector-class { | |||
color: #ca402b; | |||
} | |||
/* Atelier-Heath Orange */ | |||
.hljs-number, | |||
.hljs-meta, | |||
.hljs-built_in, | |||
.hljs-builtin-name, | |||
.hljs-literal, | |||
.hljs-type, | |||
.hljs-params { | |||
color: #a65926; | |||
} | |||
/* Atelier-Heath Green */ | |||
.hljs-string, | |||
.hljs-symbol, | |||
.hljs-bullet { | |||
color: #918b3b; | |||
} | |||
/* Atelier-Heath Blue */ | |||
.hljs-title, | |||
.hljs-section { | |||
color: #516aec; | |||
} | |||
/* Atelier-Heath Purple */ | |||
.hljs-keyword, | |||
.hljs-selector-tag { | |||
color: #7b59c0; | |||
} | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
background: #1b181b; | |||
color: #ab9bab; | |||
padding: 0.5em; | |||
} | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} | |||
.hljs-strong { | |||
font-weight: bold; | |||
} |
@ -0,0 +1,69 @@ | |||
/* Base16 Atelier Heath Light - Theme */ | |||
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/heath) */ | |||
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | |||
/* Atelier-Heath Comment */ | |||
.hljs-comment, | |||
.hljs-quote { | |||
color: #776977; | |||
} | |||
/* Atelier-Heath Red */ | |||
.hljs-variable, | |||
.hljs-template-variable, | |||
.hljs-attribute, | |||
.hljs-tag, | |||
.hljs-name, | |||
.hljs-regexp, | |||
.hljs-link, | |||
.hljs-name, | |||
.hljs-selector-id, | |||
.hljs-selector-class { | |||
color: #ca402b; | |||
} | |||
/* Atelier-Heath Orange */ | |||
.hljs-number, | |||
.hljs-meta, | |||
.hljs-built_in, | |||
.hljs-builtin-name, | |||
.hljs-literal, | |||
.hljs-type, | |||
.hljs-params { | |||
color: #a65926; | |||
} | |||
/* Atelier-Heath Green */ | |||
.hljs-string, | |||
.hljs-symbol, | |||
.hljs-bullet { | |||
color: #918b3b; | |||
} | |||
/* Atelier-Heath Blue */ | |||
.hljs-title, | |||
.hljs-section { | |||
color: #516aec; | |||
} | |||
/* Atelier-Heath Purple */ | |||
.hljs-keyword, | |||
.hljs-selector-tag { | |||
color: #7b59c0; | |||
} | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
background: #f7f3f7; | |||
color: #695d69; | |||
padding: 0.5em; | |||
} | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} | |||
.hljs-strong { | |||
font-weight: bold; | |||
} |
@ -0,0 +1,69 @@ | |||
/* Base16 Atelier Lakeside Dark - Theme */ | |||
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/lakeside) */ | |||
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | |||
/* Atelier-Lakeside Comment */ | |||
.hljs-comment, | |||
.hljs-quote { | |||
color: #7195a8; | |||
} | |||
/* Atelier-Lakeside Red */ | |||
.hljs-variable, | |||
.hljs-template-variable, | |||
.hljs-attribute, | |||
.hljs-tag, | |||
.hljs-name, | |||
.hljs-regexp, | |||
.hljs-link, | |||
.hljs-name, | |||
.hljs-selector-id, | |||
.hljs-selector-class { | |||
color: #d22d72; | |||
} | |||
/* Atelier-Lakeside Orange */ | |||
.hljs-number, | |||
.hljs-meta, | |||
.hljs-built_in, | |||
.hljs-builtin-name, | |||
.hljs-literal, | |||
.hljs-type, | |||
.hljs-params { | |||
color: #935c25; | |||
} | |||
/* Atelier-Lakeside Green */ | |||
.hljs-string, | |||
.hljs-symbol, | |||
.hljs-bullet { | |||
color: #568c3b; | |||
} | |||
/* Atelier-Lakeside Blue */ | |||
.hljs-title, | |||
.hljs-section { | |||
color: #257fad; | |||
} | |||
/* Atelier-Lakeside Purple */ | |||
.hljs-keyword, | |||
.hljs-selector-tag { | |||
color: #6b6bb8; | |||
} | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
background: #161b1d; | |||
color: #7ea2b4; | |||
padding: 0.5em; | |||
} | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} | |||
.hljs-strong { | |||
font-weight: bold; | |||
} |
@ -0,0 +1,69 @@ | |||
/* Base16 Atelier Lakeside Light - Theme */ | |||
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/lakeside) */ | |||
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | |||
/* Atelier-Lakeside Comment */ | |||
.hljs-comment, | |||
.hljs-quote { | |||
color: #5a7b8c; | |||
} | |||
/* Atelier-Lakeside Red */ | |||
.hljs-variable, | |||
.hljs-template-variable, | |||
.hljs-attribute, | |||
.hljs-tag, | |||
.hljs-name, | |||
.hljs-regexp, | |||
.hljs-link, | |||
.hljs-name, | |||
.hljs-selector-id, | |||
.hljs-selector-class { | |||
color: #d22d72; | |||
} | |||
/* Atelier-Lakeside Orange */ | |||
.hljs-number, | |||
.hljs-meta, | |||
.hljs-built_in, | |||
.hljs-builtin-name, | |||
.hljs-literal, | |||
.hljs-type, | |||
.hljs-params { | |||
color: #935c25; | |||
} | |||
/* Atelier-Lakeside Green */ | |||
.hljs-string, | |||
.hljs-symbol, | |||
.hljs-bullet { | |||
color: #568c3b; | |||
} | |||
/* Atelier-Lakeside Blue */ | |||
.hljs-title, | |||
.hljs-section { | |||
color: #257fad; | |||
} | |||
/* Atelier-Lakeside Purple */ | |||
.hljs-keyword, | |||
.hljs-selector-tag { | |||
color: #6b6bb8; | |||
} | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
background: #ebf8ff; | |||
color: #516d7b; | |||
padding: 0.5em; | |||
} | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} | |||
.hljs-strong { | |||
font-weight: bold; | |||
} |
@ -0,0 +1,84 @@ | |||
/* Base16 Atelier Plateau Dark - Theme */ | |||
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/plateau) */ | |||
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | |||
/* Atelier-Plateau Comment */ | |||
.hljs-comment, | |||
.hljs-quote { | |||
color: #7e7777; | |||
} | |||
/* Atelier-Plateau Red */ | |||
.hljs-variable, | |||
.hljs-template-variable, | |||
.hljs-attribute, | |||
.hljs-tag, | |||
.hljs-name, | |||
.hljs-regexp, | |||
.hljs-link, | |||
.hljs-name, | |||
.hljs-selector-id, | |||
.hljs-selector-class { | |||
color: #ca4949; | |||
} | |||
/* Atelier-Plateau Orange */ | |||
.hljs-number, | |||
.hljs-meta, | |||
.hljs-built_in, | |||
.hljs-builtin-name, | |||
.hljs-literal, | |||
.hljs-type, | |||
.hljs-params { | |||
color: #b45a3c; | |||
} | |||
/* Atelier-Plateau Green */ | |||
.hljs-string, | |||
.hljs-symbol, | |||
.hljs-bullet { | |||
color: #4b8b8b; | |||
} | |||
/* Atelier-Plateau Blue */ | |||
.hljs-title, | |||
.hljs-section { | |||
color: #7272ca; | |||
} | |||
/* Atelier-Plateau Purple */ | |||
.hljs-keyword, | |||
.hljs-selector-tag { | |||
color: #8464c4; | |||
} | |||
.hljs-deletion, | |||
.hljs-addition { | |||
color: #1b1818; | |||
display: inline-block; | |||
width: 100%; | |||
} | |||
.hljs-deletion { | |||
background-color: #ca4949; | |||
} | |||
.hljs-addition { | |||
background-color: #4b8b8b; | |||
} | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
background: #1b1818; | |||
color: #8a8585; | |||
padding: 0.5em; | |||
} | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} | |||
.hljs-strong { | |||
font-weight: bold; | |||
} |
@ -0,0 +1,84 @@ | |||
/* Base16 Atelier Plateau Light - Theme */ | |||
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/plateau) */ | |||
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | |||
/* Atelier-Plateau Comment */ | |||
.hljs-comment, | |||
.hljs-quote { | |||
color: #655d5d; | |||
} | |||
/* Atelier-Plateau Red */ | |||
.hljs-variable, | |||
.hljs-template-variable, | |||
.hljs-attribute, | |||
.hljs-tag, | |||
.hljs-name, | |||
.hljs-regexp, | |||
.hljs-link, | |||
.hljs-name, | |||
.hljs-selector-id, | |||
.hljs-selector-class { | |||
color: #ca4949; | |||
} | |||
/* Atelier-Plateau Orange */ | |||
.hljs-number, | |||
.hljs-meta, | |||
.hljs-built_in, | |||
.hljs-builtin-name, | |||
.hljs-literal, | |||
.hljs-type, | |||
.hljs-params { | |||
color: #b45a3c; | |||
} | |||
/* Atelier-Plateau Green */ | |||
.hljs-string, | |||
.hljs-symbol, | |||
.hljs-bullet { | |||
color: #4b8b8b; | |||
} | |||
/* Atelier-Plateau Blue */ | |||
.hljs-title, | |||
.hljs-section { | |||
color: #7272ca; | |||
} | |||
/* Atelier-Plateau Purple */ | |||
.hljs-keyword, | |||
.hljs-selector-tag { | |||
color: #8464c4; | |||
} | |||
.hljs-deletion, | |||
.hljs-addition { | |||
color: #1b1818; | |||
display: inline-block; | |||
width: 100%; | |||
} | |||
.hljs-deletion { | |||
background-color: #ca4949; | |||
} | |||
.hljs-addition { | |||
background-color: #4b8b8b; | |||
} | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
background: #f4ecec; | |||
color: #585050; | |||
padding: 0.5em; | |||
} | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} | |||
.hljs-strong { | |||
font-weight: bold; | |||
} |
@ -0,0 +1,84 @@ | |||
/* Base16 Atelier Savanna Dark - Theme */ | |||
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/savanna) */ | |||
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | |||
/* Atelier-Savanna Comment */ | |||
.hljs-comment, | |||
.hljs-quote { | |||
color: #78877d; | |||
} | |||
/* Atelier-Savanna Red */ | |||
.hljs-variable, | |||
.hljs-template-variable, | |||
.hljs-attribute, | |||
.hljs-tag, | |||
.hljs-name, | |||
.hljs-regexp, | |||
.hljs-link, | |||
.hljs-name, | |||
.hljs-selector-id, | |||
.hljs-selector-class { | |||
color: #b16139; | |||
} | |||
/* Atelier-Savanna Orange */ | |||
.hljs-number, | |||
.hljs-meta, | |||
.hljs-built_in, | |||
.hljs-builtin-name, | |||
.hljs-literal, | |||
.hljs-type, | |||
.hljs-params { | |||
color: #9f713c; | |||
} | |||
/* Atelier-Savanna Green */ | |||
.hljs-string, | |||
.hljs-symbol, | |||
.hljs-bullet { | |||
color: #489963; | |||
} | |||
/* Atelier-Savanna Blue */ | |||
.hljs-title, | |||
.hljs-section { | |||
color: #478c90; | |||
} | |||
/* Atelier-Savanna Purple */ | |||
.hljs-keyword, | |||
.hljs-selector-tag { | |||
color: #55859b; | |||
} | |||
.hljs-deletion, | |||
.hljs-addition { | |||
color: #171c19; | |||
display: inline-block; | |||
width: 100%; | |||
} | |||
.hljs-deletion { | |||
background-color: #b16139; | |||
} | |||
.hljs-addition { | |||
background-color: #489963; | |||
} | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
background: #171c19; | |||
color: #87928a; | |||
padding: 0.5em; | |||
} | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} | |||
.hljs-strong { | |||
font-weight: bold; | |||
} |
@ -0,0 +1,84 @@ | |||
/* Base16 Atelier Savanna Light - Theme */ | |||
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/savanna) */ | |||
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | |||
/* Atelier-Savanna Comment */ | |||
.hljs-comment, | |||
.hljs-quote { | |||
color: #5f6d64; | |||
} | |||
/* Atelier-Savanna Red */ | |||
.hljs-variable, | |||
.hljs-template-variable, | |||
.hljs-attribute, | |||
.hljs-tag, | |||
.hljs-name, | |||
.hljs-regexp, | |||
.hljs-link, | |||
.hljs-name, | |||
.hljs-selector-id, | |||
.hljs-selector-class { | |||
color: #b16139; | |||
} | |||
/* Atelier-Savanna Orange */ | |||
.hljs-number, | |||
.hljs-meta, | |||
.hljs-built_in, | |||
.hljs-builtin-name, | |||
.hljs-literal, | |||
.hljs-type, | |||
.hljs-params { | |||
color: #9f713c; | |||
} | |||
/* Atelier-Savanna Green */ | |||
.hljs-string, | |||
.hljs-symbol, | |||
.hljs-bullet { | |||
color: #489963; | |||
} | |||
/* Atelier-Savanna Blue */ | |||
.hljs-title, | |||
.hljs-section { | |||
color: #478c90; | |||
} | |||
/* Atelier-Savanna Purple */ | |||
.hljs-keyword, | |||
.hljs-selector-tag { | |||
color: #55859b; | |||
} | |||
.hljs-deletion, | |||
.hljs-addition { | |||
color: #171c19; | |||
display: inline-block; | |||
width: 100%; | |||
} | |||
.hljs-deletion { | |||
background-color: #b16139; | |||
} | |||
.hljs-addition { | |||
background-color: #489963; | |||
} | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
background: #ecf4ee; | |||
color: #526057; | |||
padding: 0.5em; | |||
} | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} | |||
.hljs-strong { | |||
font-weight: bold; | |||
} |
@ -0,0 +1,69 @@ | |||
/* Base16 Atelier Seaside Dark - Theme */ | |||
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/seaside) */ | |||
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | |||
/* Atelier-Seaside Comment */ | |||
.hljs-comment, | |||
.hljs-quote { | |||
color: #809980; | |||
} | |||
/* Atelier-Seaside Red */ | |||
.hljs-variable, | |||
.hljs-template-variable, | |||
.hljs-attribute, | |||
.hljs-tag, | |||
.hljs-name, | |||
.hljs-regexp, | |||
.hljs-link, | |||
.hljs-name, | |||
.hljs-selector-id, | |||
.hljs-selector-class { | |||
color: #e6193c; | |||
} | |||
/* Atelier-Seaside Orange */ | |||
.hljs-number, | |||
.hljs-meta, | |||
.hljs-built_in, | |||
.hljs-builtin-name, | |||
.hljs-literal, | |||
.hljs-type, | |||
.hljs-params { | |||
color: #87711d; | |||
} | |||
/* Atelier-Seaside Green */ | |||
.hljs-string, | |||
.hljs-symbol, | |||
.hljs-bullet { | |||
color: #29a329; | |||
} | |||
/* Atelier-Seaside Blue */ | |||
.hljs-title, | |||
.hljs-section { | |||
color: #3d62f5; | |||
} | |||
/* Atelier-Seaside Purple */ | |||
.hljs-keyword, | |||
.hljs-selector-tag { | |||
color: #ad2bee; | |||
} | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
background: #131513; | |||
color: #8ca68c; | |||
padding: 0.5em; | |||
} | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} | |||
.hljs-strong { | |||
font-weight: bold; | |||
} |
@ -0,0 +1,69 @@ | |||
/* Base16 Atelier Seaside Light - Theme */ | |||
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/seaside) */ | |||
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | |||
/* Atelier-Seaside Comment */ | |||
.hljs-comment, | |||
.hljs-quote { | |||
color: #687d68; | |||
} | |||
/* Atelier-Seaside Red */ | |||
.hljs-variable, | |||
.hljs-template-variable, | |||
.hljs-attribute, | |||
.hljs-tag, | |||
.hljs-name, | |||
.hljs-regexp, | |||
.hljs-link, | |||
.hljs-name, | |||
.hljs-selector-id, | |||
.hljs-selector-class { | |||
color: #e6193c; | |||
} | |||
/* Atelier-Seaside Orange */ | |||
.hljs-number, | |||
.hljs-meta, | |||
.hljs-built_in, | |||
.hljs-builtin-name, | |||
.hljs-literal, | |||
.hljs-type, | |||
.hljs-params { | |||
color: #87711d; | |||
} | |||
/* Atelier-Seaside Green */ | |||
.hljs-string, | |||
.hljs-symbol, | |||
.hljs-bullet { | |||
color: #29a329; | |||
} | |||
/* Atelier-Seaside Blue */ | |||
.hljs-title, | |||
.hljs-section { | |||
color: #3d62f5; | |||
} | |||
/* Atelier-Seaside Purple */ | |||
.hljs-keyword, | |||
.hljs-selector-tag { | |||
color: #ad2bee; | |||
} | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
background: #f4fbf4; | |||
color: #5e6e5e; | |||
padding: 0.5em; | |||
} | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} | |||
.hljs-strong { | |||
font-weight: bold; | |||
} |
@ -0,0 +1,69 @@ | |||
/* Base16 Atelier Sulphurpool Dark - Theme */ | |||
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/sulphurpool) */ | |||
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | |||
/* Atelier-Sulphurpool Comment */ | |||
.hljs-comment, | |||
.hljs-quote { | |||
color: #898ea4; | |||
} | |||
/* Atelier-Sulphurpool Red */ | |||
.hljs-variable, | |||
.hljs-template-variable, | |||
.hljs-attribute, | |||
.hljs-tag, | |||
.hljs-name, | |||
.hljs-regexp, | |||
.hljs-link, | |||
.hljs-name, | |||
.hljs-selector-id, | |||
.hljs-selector-class { | |||
color: #c94922; | |||
} | |||
/* Atelier-Sulphurpool Orange */ | |||
.hljs-number, | |||
.hljs-meta, | |||
.hljs-built_in, | |||
.hljs-builtin-name, | |||
.hljs-literal, | |||
.hljs-type, | |||
.hljs-params { | |||
color: #c76b29; | |||
} | |||
/* Atelier-Sulphurpool Green */ | |||
.hljs-string, | |||
.hljs-symbol, | |||
.hljs-bullet { | |||
color: #ac9739; | |||
} | |||
/* Atelier-Sulphurpool Blue */ | |||
.hljs-title, | |||
.hljs-section { | |||
color: #3d8fd1; | |||
} | |||
/* Atelier-Sulphurpool Purple */ | |||
.hljs-keyword, | |||
.hljs-selector-tag { | |||
color: #6679cc; | |||
} | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
background: #202746; | |||
color: #979db4; | |||
padding: 0.5em; | |||
} | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} | |||
.hljs-strong { | |||
font-weight: bold; | |||
} |
@ -0,0 +1,69 @@ | |||
/* Base16 Atelier Sulphurpool Light - Theme */ | |||
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/sulphurpool) */ | |||
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | |||
/* Atelier-Sulphurpool Comment */ | |||
.hljs-comment, | |||
.hljs-quote { | |||
color: #6b7394; | |||
} | |||
/* Atelier-Sulphurpool Red */ | |||
.hljs-variable, | |||
.hljs-template-variable, | |||
.hljs-attribute, | |||
.hljs-tag, | |||
.hljs-name, | |||
.hljs-regexp, | |||
.hljs-link, | |||
.hljs-name, | |||
.hljs-selector-id, | |||
.hljs-selector-class { | |||
color: #c94922; | |||
} | |||
/* Atelier-Sulphurpool Orange */ | |||
.hljs-number, | |||
.hljs-meta, | |||
.hljs-built_in, | |||
.hljs-builtin-name, | |||
.hljs-literal, | |||
.hljs-type, | |||
.hljs-params { | |||
color: #c76b29; | |||
} | |||
/* Atelier-Sulphurpool Green */ | |||
.hljs-string, | |||
.hljs-symbol, | |||
.hljs-bullet { | |||
color: #ac9739; | |||
} | |||
/* Atelier-Sulphurpool Blue */ | |||
.hljs-title, | |||
.hljs-section { | |||
color: #3d8fd1; | |||
} | |||
/* Atelier-Sulphurpool Purple */ | |||
.hljs-keyword, | |||
.hljs-selector-tag { | |||
color: #6679cc; | |||
} | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
background: #f5f7ff; | |||
color: #5e6687; | |||
padding: 0.5em; | |||
} | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} | |||
.hljs-strong { | |||
font-weight: bold; | |||
} |
@ -0,0 +1,77 @@ | |||
/* | |||
Atom One Dark With support for ReasonML by Gidi Morris, based off work by Daniel Gamage | |||
Original One Dark Syntax theme from https://github.com/atom/one-dark-syntax | |||
*/ | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
padding: 0.5em; | |||
line-height: 1.3em; | |||
color: #abb2bf; | |||
background: #282c34; | |||
border-radius: 5px; | |||
} | |||
.hljs-keyword, .hljs-operator { | |||
color: #F92672; | |||
} | |||
.hljs-pattern-match { | |||
color: #F92672; | |||
} | |||
.hljs-pattern-match .hljs-constructor { | |||
color: #61aeee; | |||
} | |||
.hljs-function { | |||
color: #61aeee; | |||
} | |||
.hljs-function .hljs-params { | |||
color: #A6E22E; | |||
} | |||
.hljs-function .hljs-params .hljs-typing { | |||
color: #FD971F; | |||
} | |||
.hljs-module-access .hljs-module { | |||
color: #7e57c2; | |||
} | |||
.hljs-constructor { | |||
color: #e2b93d; | |||
} | |||
.hljs-constructor .hljs-string { | |||
color: #9CCC65; | |||
} | |||
.hljs-comment, .hljs-quote { | |||
color: #b18eb1; | |||
font-style: italic; | |||
} | |||
.hljs-doctag, .hljs-formula { | |||
color: #c678dd; | |||
} | |||
.hljs-section, .hljs-name, .hljs-selector-tag, .hljs-deletion, .hljs-subst { | |||
color: #e06c75; | |||
} | |||
.hljs-literal { | |||
color: #56b6c2; | |||
} | |||
.hljs-string, .hljs-regexp, .hljs-addition, .hljs-attribute, .hljs-meta-string { | |||
color: #98c379; | |||
} | |||
.hljs-built_in, .hljs-class .hljs-title { | |||
color: #e6c07b; | |||
} | |||
.hljs-attr, .hljs-variable, .hljs-template-variable, .hljs-type, .hljs-selector-class, .hljs-selector-attr, .hljs-selector-pseudo, .hljs-number { | |||
color: #d19a66; | |||
} | |||
.hljs-symbol, .hljs-bullet, .hljs-link, .hljs-meta, .hljs-selector-id, .hljs-title { | |||
color: #61aeee; | |||
} | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} | |||
.hljs-strong { | |||
font-weight: bold; | |||
} | |||
.hljs-link { | |||
text-decoration: underline; | |||
} |
@ -0,0 +1,96 @@ | |||
/* | |||
Atom One Dark by Daniel Gamage | |||
Original One Dark Syntax theme from https://github.com/atom/one-dark-syntax | |||
base: #282c34 | |||
mono-1: #abb2bf | |||
mono-2: #818896 | |||
mono-3: #5c6370 | |||
hue-1: #56b6c2 | |||
hue-2: #61aeee | |||
hue-3: #c678dd | |||
hue-4: #98c379 | |||
hue-5: #e06c75 | |||
hue-5-2: #be5046 | |||
hue-6: #d19a66 | |||
hue-6-2: #e6c07b | |||
*/ | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
padding: 0.5em; | |||
color: #abb2bf; | |||
background: #282c34; | |||
} | |||
.hljs-comment, | |||
.hljs-quote { | |||
color: #5c6370; | |||
font-style: italic; | |||
} | |||
.hljs-doctag, | |||
.hljs-keyword, | |||
.hljs-formula { | |||
color: #c678dd; | |||
} | |||
.hljs-section, | |||
.hljs-name, | |||
.hljs-selector-tag, | |||
.hljs-deletion, | |||
.hljs-subst { | |||
color: #e06c75; | |||
} | |||
.hljs-literal { | |||
color: #56b6c2; | |||
} | |||
.hljs-string, | |||
.hljs-regexp, | |||
.hljs-addition, | |||
.hljs-attribute, | |||
.hljs-meta-string { | |||
color: #98c379; | |||
} | |||
.hljs-built_in, | |||
.hljs-class .hljs-title { | |||
color: #e6c07b; | |||
} | |||
.hljs-attr, | |||
.hljs-variable, | |||
.hljs-template-variable, | |||
.hljs-type, | |||
.hljs-selector-class, | |||
.hljs-selector-attr, | |||
.hljs-selector-pseudo, | |||
.hljs-number { | |||
color: #d19a66; | |||
} | |||
.hljs-symbol, | |||
.hljs-bullet, | |||
.hljs-link, | |||
.hljs-meta, | |||
.hljs-selector-id, | |||
.hljs-title { | |||
color: #61aeee; | |||
} | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} | |||
.hljs-strong { | |||
font-weight: bold; | |||
} | |||
.hljs-link { | |||
text-decoration: underline; | |||
} |
@ -0,0 +1,96 @@ | |||
/* | |||
Atom One Light by Daniel Gamage | |||
Original One Light Syntax theme from https://github.com/atom/one-light-syntax | |||
base: #fafafa | |||
mono-1: #383a42 | |||
mono-2: #686b77 | |||
mono-3: #a0a1a7 | |||
hue-1: #0184bb | |||
hue-2: #4078f2 | |||
hue-3: #a626a4 | |||
hue-4: #50a14f | |||
hue-5: #e45649 | |||
hue-5-2: #c91243 | |||
hue-6: #986801 | |||
hue-6-2: #c18401 | |||
*/ | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
padding: 0.5em; | |||
color: #383a42; | |||
background: #fafafa; | |||
} | |||
.hljs-comment, | |||
.hljs-quote { | |||
color: #a0a1a7; | |||
font-style: italic; | |||
} | |||
.hljs-doctag, | |||
.hljs-keyword, | |||
.hljs-formula { | |||
color: #a626a4; | |||
} | |||
.hljs-section, | |||
.hljs-name, | |||
.hljs-selector-tag, | |||
.hljs-deletion, | |||
.hljs-subst { | |||
color: #e45649; | |||
} | |||
.hljs-literal { | |||
color: #0184bb; | |||
} | |||
.hljs-string, | |||
.hljs-regexp, | |||
.hljs-addition, | |||
.hljs-attribute, | |||
.hljs-meta-string { | |||
color: #50a14f; | |||
} | |||
.hljs-built_in, | |||
.hljs-class .hljs-title { | |||
color: #c18401; | |||
} | |||
.hljs-attr, | |||
.hljs-variable, | |||
.hljs-template-variable, | |||
.hljs-type, | |||
.hljs-selector-class, | |||
.hljs-selector-attr, | |||
.hljs-selector-pseudo, | |||
.hljs-number { | |||
color: #986801; | |||
} | |||
.hljs-symbol, | |||
.hljs-bullet, | |||
.hljs-link, | |||
.hljs-meta, | |||
.hljs-selector-id, | |||
.hljs-title { | |||
color: #4078f2; | |||
} | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} | |||
.hljs-strong { | |||
font-weight: bold; | |||
} | |||
.hljs-link { | |||
text-decoration: underline; | |||
} |
@ -0,0 +1,64 @@ | |||
/* | |||
Brown Paper style from goldblog.com.ua (c) Zaripov Yura <yur4ik7@ukr.net> | |||
*/ | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
padding: 0.5em; | |||
background:#b7a68e url(./brown-papersq.png); | |||
} | |||
.hljs-keyword, | |||
.hljs-selector-tag, | |||
.hljs-literal { | |||
color:#005599; | |||
font-weight:bold; | |||
} | |||
.hljs, | |||
.hljs-subst { | |||
color: #363c69; | |||
} | |||
.hljs-string, | |||
.hljs-title, | |||
.hljs-section, | |||
.hljs-type, | |||
.hljs-attribute, | |||
.hljs-symbol, | |||
.hljs-bullet, | |||
.hljs-built_in, | |||
.hljs-addition, | |||
.hljs-variable, | |||
.hljs-template-tag, | |||
.hljs-template-variable, | |||
.hljs-link, | |||
.hljs-name { | |||
color: #2c009f; | |||
} | |||
.hljs-comment, | |||
.hljs-quote, | |||
.hljs-meta, | |||
.hljs-deletion { | |||
color: #802022; | |||
} | |||
.hljs-keyword, | |||
.hljs-selector-tag, | |||
.hljs-literal, | |||
.hljs-doctag, | |||
.hljs-title, | |||
.hljs-section, | |||
.hljs-type, | |||
.hljs-name, | |||
.hljs-strong { | |||
font-weight: bold; | |||
} | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} |
@ -0,0 +1,60 @@ | |||
/* | |||
codepen.io Embed Theme | |||
Author: Justin Perry <http://github.com/ourmaninamsterdam> | |||
Original theme - https://github.com/chriskempson/tomorrow-theme | |||
*/ | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
padding: 0.5em; | |||
background: #222; | |||
color: #fff; | |||
} | |||
.hljs-comment, | |||
.hljs-quote { | |||
color: #777; | |||
} | |||
.hljs-variable, | |||
.hljs-template-variable, | |||
.hljs-tag, | |||
.hljs-regexp, | |||
.hljs-meta, | |||
.hljs-number, | |||
.hljs-built_in, | |||
.hljs-builtin-name, | |||
.hljs-literal, | |||
.hljs-params, | |||
.hljs-symbol, | |||
.hljs-bullet, | |||
.hljs-link, | |||
.hljs-deletion { | |||
color: #ab875d; | |||
} | |||
.hljs-section, | |||
.hljs-title, | |||
.hljs-name, | |||
.hljs-selector-id, | |||
.hljs-selector-class, | |||
.hljs-type, | |||
.hljs-attribute { | |||
color: #9b869b; | |||
} | |||
.hljs-string, | |||
.hljs-keyword, | |||
.hljs-selector-tag, | |||
.hljs-addition { | |||
color: #8f9c6c; | |||
} | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} | |||
.hljs-strong { | |||
font-weight: bold; | |||
} |
@ -0,0 +1,71 @@ | |||
/* | |||
Colorbrewer theme | |||
Original: https://github.com/mbostock/colorbrewer-theme (c) Mike Bostock <mike@ocks.org> | |||
Ported by Fabrício Tavares de Oliveira | |||
*/ | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
padding: 0.5em; | |||
background: #fff; | |||
} | |||
.hljs, | |||
.hljs-subst { | |||
color: #000; | |||
} | |||
.hljs-string, | |||
.hljs-meta, | |||
.hljs-symbol, | |||
.hljs-template-tag, | |||
.hljs-template-variable, | |||
.hljs-addition { | |||
color: #756bb1; | |||
} | |||
.hljs-comment, | |||
.hljs-quote { | |||
color: #636363; | |||
} | |||
.hljs-number, | |||
.hljs-regexp, | |||
.hljs-literal, | |||
.hljs-bullet, | |||
.hljs-link { | |||
color: #31a354; | |||
} | |||
.hljs-deletion, | |||
.hljs-variable { | |||
color: #88f; | |||
} | |||
.hljs-keyword, | |||
.hljs-selector-tag, | |||
.hljs-title, | |||
.hljs-section, | |||
.hljs-built_in, | |||
.hljs-doctag, | |||
.hljs-type, | |||
.hljs-tag, | |||
.hljs-name, | |||
.hljs-selector-id, | |||
.hljs-selector-class, | |||
.hljs-strong { | |||
color: #3182bd; | |||
} | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} | |||
.hljs-attribute { | |||
color: #e6550d; | |||
} |
@ -0,0 +1,77 @@ | |||
/* | |||
Darcula color scheme from the JetBrains family of IDEs | |||
*/ | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
padding: 0.5em; | |||
background: #2b2b2b; | |||
} | |||
.hljs { | |||
color: #bababa; | |||
} | |||
.hljs-strong, | |||
.hljs-emphasis { | |||
color: #a8a8a2; | |||
} | |||
.hljs-bullet, | |||
.hljs-quote, | |||
.hljs-link, | |||
.hljs-number, | |||
.hljs-regexp, | |||
.hljs-literal { | |||
color: #6896ba; | |||
} | |||
.hljs-code, | |||
.hljs-selector-class { | |||
color: #a6e22e; | |||
} | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} | |||
.hljs-keyword, | |||
.hljs-selector-tag, | |||
.hljs-section, | |||
.hljs-attribute, | |||
.hljs-name, | |||
.hljs-variable { | |||
color: #cb7832; | |||
} | |||
.hljs-params { | |||
color: #b9b9b9; | |||
} | |||
.hljs-string { | |||
color: #6a8759; | |||
} | |||
.hljs-subst, | |||
.hljs-type, | |||
.hljs-built_in, | |||
.hljs-builtin-name, | |||
.hljs-symbol, | |||
.hljs-selector-id, | |||
.hljs-selector-attr, | |||
.hljs-selector-pseudo, | |||
.hljs-template-tag, | |||
.hljs-template-variable, | |||
.hljs-addition { | |||
color: #e0c46c; | |||
} | |||
.hljs-comment, | |||
.hljs-deletion, | |||
.hljs-meta { | |||
color: #7f7f7f; | |||
} |
@ -0,0 +1,63 @@ | |||
/* | |||
Dark style from softwaremaniacs.org (c) Ivan Sagalaev <Maniac@SoftwareManiacs.Org> | |||
*/ | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
padding: 0.5em; | |||
background: #444; | |||
} | |||
.hljs-keyword, | |||
.hljs-selector-tag, | |||
.hljs-literal, | |||
.hljs-section, | |||
.hljs-link { | |||
color: white; | |||
} | |||
.hljs, | |||
.hljs-subst { | |||
color: #ddd; | |||
} | |||
.hljs-string, | |||
.hljs-title, | |||
.hljs-name, | |||
.hljs-type, | |||
.hljs-attribute, | |||
.hljs-symbol, | |||
.hljs-bullet, | |||
.hljs-built_in, | |||
.hljs-addition, | |||
.hljs-variable, | |||
.hljs-template-tag, | |||
.hljs-template-variable { | |||
color: #d88; | |||
} | |||
.hljs-comment, | |||
.hljs-quote, | |||
.hljs-deletion, | |||
.hljs-meta { | |||
color: #777; | |||
} | |||
.hljs-keyword, | |||
.hljs-selector-tag, | |||
.hljs-literal, | |||
.hljs-title, | |||
.hljs-section, | |||
.hljs-doctag, | |||
.hljs-type, | |||
.hljs-name, | |||
.hljs-strong { | |||
font-weight: bold; | |||
} | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} |
@ -0,0 +1,6 @@ | |||
/* | |||
Deprecated due to a typo in the name and left here for compatibility purpose only. | |||
Please use darcula.css instead. | |||
*/ | |||
@import url('darcula.css'); |
@ -0,0 +1,99 @@ | |||
/* | |||
Original highlight.js style (c) Ivan Sagalaev <maniac@softwaremaniacs.org> | |||
*/ | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
padding: 0.5em; | |||
background: #F0F0F0; | |||
} | |||
/* Base color: saturation 0; */ | |||
.hljs, | |||
.hljs-subst { | |||
color: #444; | |||
} | |||
.hljs-comment { | |||
color: #888888; | |||
} | |||
.hljs-keyword, | |||
.hljs-attribute, | |||
.hljs-selector-tag, | |||
.hljs-meta-keyword, | |||
.hljs-doctag, | |||
.hljs-name { | |||
font-weight: bold; | |||
} | |||
/* User color: hue: 0 */ | |||
.hljs-type, | |||
.hljs-string, | |||
.hljs-number, | |||
.hljs-selector-id, | |||
.hljs-selector-class, | |||
.hljs-quote, | |||
.hljs-template-tag, | |||
.hljs-deletion { | |||
color: #880000; | |||
} | |||
.hljs-title, | |||
.hljs-section { | |||
color: #880000; | |||
font-weight: bold; | |||
} | |||
.hljs-regexp, | |||
.hljs-symbol, | |||
.hljs-variable, | |||
.hljs-template-variable, | |||
.hljs-link, | |||
.hljs-selector-attr, | |||
.hljs-selector-pseudo { | |||
color: #BC6060; | |||
} | |||
/* Language color: hue: 90; */ | |||
.hljs-literal { | |||
color: #78A960; | |||
} | |||
.hljs-built_in, | |||
.hljs-bullet, | |||
.hljs-code, | |||
.hljs-addition { | |||
color: #397300; | |||
} | |||
/* Meta color: hue: 200 */ | |||
.hljs-meta { | |||
color: #1f7199; | |||
} | |||
.hljs-meta-string { | |||
color: #4d99bf; | |||
} | |||
/* Misc effects */ | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} | |||
.hljs-strong { | |||
font-weight: bold; | |||
} |
@ -0,0 +1,97 @@ | |||
/* | |||
Docco style used in http://jashkenas.github.com/docco/ converted by Simon Madine (@thingsinjars) | |||
*/ | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
padding: 0.5em; | |||
color: #000; | |||
background: #f8f8ff; | |||
} | |||
.hljs-comment, | |||
.hljs-quote { | |||
color: #408080; | |||
font-style: italic; | |||
} | |||
.hljs-keyword, | |||
.hljs-selector-tag, | |||
.hljs-literal, | |||
.hljs-subst { | |||
color: #954121; | |||
} | |||
.hljs-number { | |||
color: #40a070; | |||
} | |||
.hljs-string, | |||
.hljs-doctag { | |||
color: #219161; | |||
} | |||
.hljs-selector-id, | |||
.hljs-selector-class, | |||
.hljs-section, | |||
.hljs-type { | |||
color: #19469d; | |||
} | |||
.hljs-params { | |||
color: #00f; | |||
} | |||
.hljs-title { | |||
color: #458; | |||
font-weight: bold; | |||
} | |||
.hljs-tag, | |||
.hljs-name, | |||
.hljs-attribute { | |||
color: #000080; | |||
font-weight: normal; | |||
} | |||
.hljs-variable, | |||
.hljs-template-variable { | |||
color: #008080; | |||
} | |||
.hljs-regexp, | |||
.hljs-link { | |||
color: #b68; | |||
} | |||
.hljs-symbol, | |||
.hljs-bullet { | |||
color: #990073; | |||
} | |||
.hljs-built_in, | |||
.hljs-builtin-name { | |||
color: #0086b3; | |||
} | |||
.hljs-meta { | |||
color: #999; | |||
font-weight: bold; | |||
} | |||
.hljs-deletion { | |||
background: #fdd; | |||
} | |||
.hljs-addition { | |||
background: #dfd; | |||
} | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} | |||
.hljs-strong { | |||
font-weight: bold; | |||
} |
@ -0,0 +1,76 @@ | |||
/* | |||
Dracula Theme v1.2.0 | |||
https://github.com/zenorocha/dracula-theme | |||
Copyright 2015, All rights reserved | |||
Code licensed under the MIT license | |||
http://zenorocha.mit-license.org | |||
@author Éverton Ribeiro <nuxlli@gmail.com> | |||
@author Zeno Rocha <hi@zenorocha.com> | |||
*/ | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
padding: 0.5em; | |||
background: #282a36; | |||
} | |||
.hljs-keyword, | |||
.hljs-selector-tag, | |||
.hljs-literal, | |||
.hljs-section, | |||
.hljs-link { | |||
color: #8be9fd; | |||
} | |||
.hljs-function .hljs-keyword { | |||
color: #ff79c6; | |||
} | |||
.hljs, | |||
.hljs-subst { | |||
color: #f8f8f2; | |||
} | |||
.hljs-string, | |||
.hljs-title, | |||
.hljs-name, | |||
.hljs-type, | |||
.hljs-attribute, | |||
.hljs-symbol, | |||
.hljs-bullet, | |||
.hljs-addition, | |||
.hljs-variable, | |||
.hljs-template-tag, | |||
.hljs-template-variable { | |||
color: #f1fa8c; | |||
} | |||
.hljs-comment, | |||
.hljs-quote, | |||
.hljs-deletion, | |||
.hljs-meta { | |||
color: #6272a4; | |||
} | |||
.hljs-keyword, | |||
.hljs-selector-tag, | |||
.hljs-literal, | |||
.hljs-title, | |||
.hljs-section, | |||
.hljs-doctag, | |||
.hljs-type, | |||
.hljs-name, | |||
.hljs-strong { | |||
font-weight: bold; | |||
} | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} |
@ -0,0 +1,71 @@ | |||
/* | |||
FAR Style (c) MajestiC <majestic2k@gmail.com> | |||
*/ | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
padding: 0.5em; | |||
background: #000080; | |||
} | |||
.hljs, | |||
.hljs-subst { | |||
color: #0ff; | |||
} | |||
.hljs-string, | |||
.hljs-attribute, | |||
.hljs-symbol, | |||
.hljs-bullet, | |||
.hljs-built_in, | |||
.hljs-builtin-name, | |||
.hljs-template-tag, | |||
.hljs-template-variable, | |||
.hljs-addition { | |||
color: #ff0; | |||
} | |||
.hljs-keyword, | |||
.hljs-selector-tag, | |||
.hljs-section, | |||
.hljs-type, | |||
.hljs-name, | |||
.hljs-selector-id, | |||
.hljs-selector-class, | |||
.hljs-variable { | |||
color: #fff; | |||
} | |||
.hljs-comment, | |||
.hljs-quote, | |||
.hljs-doctag, | |||
.hljs-deletion { | |||
color: #888; | |||
} | |||
.hljs-number, | |||
.hljs-regexp, | |||
.hljs-literal, | |||
.hljs-link { | |||
color: #0f0; | |||
} | |||
.hljs-meta { | |||
color: #008080; | |||
} | |||
.hljs-keyword, | |||
.hljs-selector-tag, | |||
.hljs-title, | |||
.hljs-section, | |||
.hljs-name, | |||
.hljs-strong { | |||
font-weight: bold; | |||
} | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} |
@ -0,0 +1,88 @@ | |||
/* | |||
Description: Foundation 4 docs style for highlight.js | |||
Author: Dan Allen <dan.j.allen@gmail.com> | |||
Website: http://foundation.zurb.com/docs/ | |||
Version: 1.0 | |||
Date: 2013-04-02 | |||
*/ | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
padding: 0.5em; | |||
background: #eee; color: black; | |||
} | |||
.hljs-link, | |||
.hljs-emphasis, | |||
.hljs-attribute, | |||
.hljs-addition { | |||
color: #070; | |||
} | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} | |||
.hljs-strong, | |||
.hljs-string, | |||
.hljs-deletion { | |||
color: #d14; | |||
} | |||
.hljs-strong { | |||
font-weight: bold; | |||
} | |||
.hljs-quote, | |||
.hljs-comment { | |||
color: #998; | |||
font-style: italic; | |||
} | |||
.hljs-section, | |||
.hljs-title { | |||
color: #900; | |||
} | |||
.hljs-class .hljs-title, | |||
.hljs-type { | |||
color: #458; | |||
} | |||
.hljs-variable, | |||
.hljs-template-variable { | |||
color: #336699; | |||
} | |||
.hljs-bullet { | |||
color: #997700; | |||
} | |||
.hljs-meta { | |||
color: #3344bb; | |||
} | |||
.hljs-code, | |||
.hljs-number, | |||
.hljs-literal, | |||
.hljs-keyword, | |||
.hljs-selector-tag { | |||
color: #099; | |||
} | |||
.hljs-regexp { | |||
background-color: #fff0ff; | |||
color: #880088; | |||
} | |||
.hljs-symbol { | |||
color: #990073; | |||
} | |||
.hljs-tag, | |||
.hljs-name, | |||
.hljs-selector-id, | |||
.hljs-selector-class { | |||
color: #007700; | |||
} |
@ -0,0 +1,71 @@ | |||
/** | |||
* GitHub Gist Theme | |||
* Author : Louis Barranqueiro - https://github.com/LouisBarranqueiro | |||
*/ | |||
.hljs { | |||
display: block; | |||
background: white; | |||
padding: 0.5em; | |||
color: #333333; | |||
overflow-x: auto; | |||
} | |||
.hljs-comment, | |||
.hljs-meta { | |||
color: #969896; | |||
} | |||
.hljs-string, | |||
.hljs-variable, | |||
.hljs-template-variable, | |||
.hljs-strong, | |||
.hljs-emphasis, | |||
.hljs-quote { | |||
color: #df5000; | |||
} | |||
.hljs-keyword, | |||
.hljs-selector-tag, | |||
.hljs-type { | |||
color: #a71d5d; | |||
} | |||
.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: #795da3; | |||
} | |||
.hljs-addition { | |||
color: #55a532; | |||
background-color: #eaffea; | |||
} | |||
.hljs-deletion { | |||
color: #bd2c00; | |||
background-color: #ffecec; | |||
} | |||
.hljs-link { | |||
text-decoration: underline; | |||
} |
@ -0,0 +1,99 @@ | |||
/* | |||
github.com style (c) Vasily Polovnyov <vast@whiteants.net> | |||
*/ | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
padding: 0.5em; | |||
color: #333; | |||
background: #f8f8f8; | |||
} | |||
.hljs-comment, | |||
.hljs-quote { | |||
color: #998; | |||
font-style: italic; | |||
} | |||
.hljs-keyword, | |||
.hljs-selector-tag, | |||
.hljs-subst { | |||
color: #333; | |||
font-weight: bold; | |||
} | |||
.hljs-number, | |||
.hljs-literal, | |||
.hljs-variable, | |||
.hljs-template-variable, | |||
.hljs-tag .hljs-attr { | |||
color: #008080; | |||
} | |||
.hljs-string, | |||
.hljs-doctag { | |||
color: #d14; | |||
} | |||
.hljs-title, | |||
.hljs-section, | |||
.hljs-selector-id { | |||
color: #900; | |||
font-weight: bold; | |||
} | |||
.hljs-subst { | |||
font-weight: normal; | |||
} | |||
.hljs-type, | |||
.hljs-class .hljs-title { | |||
color: #458; | |||
font-weight: bold; | |||
} | |||
.hljs-tag, | |||
.hljs-name, | |||
.hljs-attribute { | |||
color: #000080; | |||
font-weight: normal; | |||
} | |||
.hljs-regexp, | |||
.hljs-link { | |||
color: #009926; | |||
} | |||
.hljs-symbol, | |||
.hljs-bullet { | |||
color: #990073; | |||
} | |||
.hljs-built_in, | |||
.hljs-builtin-name { | |||
color: #0086b3; | |||
} | |||
.hljs-meta { | |||
color: #999; | |||
font-weight: bold; | |||
} | |||
.hljs-deletion { | |||
background: #fdd; | |||
} | |||
.hljs-addition { | |||
background: #dfd; | |||
} | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} | |||
.hljs-strong { | |||
font-weight: bold; | |||
} |
@ -0,0 +1,78 @@ | |||
/* | |||
GML Theme - Meseta <meseta@gmail.com> | |||
*/ | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
padding: 0.5em; | |||
background: #222222; | |||
color: #C0C0C0; | |||
} | |||
.hljs-keywords { | |||
color: #FFB871; | |||
font-weight: bold; | |||
} | |||
.hljs-built_in { | |||
color: #FFB871; | |||
} | |||
.hljs-literal { | |||
color: #FF8080; | |||
} | |||
.hljs-symbol { | |||
color: #58E55A; | |||
} | |||
.hljs-comment { | |||
color: #5B995B; | |||
} | |||
.hljs-string { | |||
color: #FFFF00; | |||
} | |||
.hljs-number { | |||
color: #FF8080; | |||
} | |||
.hljs-attribute, | |||
.hljs-selector-tag, | |||
.hljs-doctag, | |||
.hljs-name, | |||
.hljs-bullet, | |||
.hljs-code, | |||
.hljs-addition, | |||
.hljs-regexp, | |||
.hljs-variable, | |||
.hljs-template-variable, | |||
.hljs-link, | |||
.hljs-selector-attr, | |||
.hljs-selector-pseudo, | |||
.hljs-type, | |||
.hljs-selector-id, | |||
.hljs-selector-class, | |||
.hljs-quote, | |||
.hljs-template-tag, | |||
.hljs-deletion, | |||
.hljs-title, | |||
.hljs-section, | |||
.hljs-function, | |||
.hljs-meta-keyword, | |||
.hljs-meta, | |||
.hljs-subst { | |||
color: #C0C0C0; | |||
} | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} | |||
.hljs-strong { | |||
font-weight: bold; | |||
} |
@ -0,0 +1,89 @@ | |||
/* | |||
Google Code style (c) Aahan Krish <geekpanth3r@gmail.com> | |||
*/ | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
padding: 0.5em; | |||
background: white; | |||
color: black; | |||
} | |||
.hljs-comment, | |||
.hljs-quote { | |||
color: #800; | |||
} | |||
.hljs-keyword, | |||
.hljs-selector-tag, | |||
.hljs-section, | |||
.hljs-title, | |||
.hljs-name { | |||
color: #008; | |||
} | |||
.hljs-variable, | |||
.hljs-template-variable { | |||
color: #660; | |||
} | |||
.hljs-string, | |||
.hljs-selector-attr, | |||
.hljs-selector-pseudo, | |||
.hljs-regexp { | |||
color: #080; | |||
} | |||
.hljs-literal, | |||
.hljs-symbol, | |||
.hljs-bullet, | |||
.hljs-meta, | |||
.hljs-number, | |||
.hljs-link { | |||
color: #066; | |||
} | |||
.hljs-title, | |||
.hljs-doctag, | |||
.hljs-type, | |||
.hljs-attr, | |||
.hljs-built_in, | |||
.hljs-builtin-name, | |||
.hljs-params { | |||
color: #606; | |||
} | |||
.hljs-attribute, | |||
.hljs-subst { | |||
color: #000; | |||
} | |||
.hljs-formula { | |||
background-color: #eee; | |||
font-style: italic; | |||
} | |||
.hljs-selector-id, | |||
.hljs-selector-class { | |||
color: #9B703F | |||
} | |||
.hljs-addition { | |||
background-color: #baeeba; | |||
} | |||
.hljs-deletion { | |||
background-color: #ffc8bd; | |||
} | |||
.hljs-doctag, | |||
.hljs-strong { | |||
font-weight: bold; | |||
} | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} |
@ -0,0 +1,101 @@ | |||
/* | |||
grayscale style (c) MY Sun <simonmysun@gmail.com> | |||
*/ | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
padding: 0.5em; | |||
color: #333; | |||
background: #fff; | |||
} | |||
.hljs-comment, | |||
.hljs-quote { | |||
color: #777; | |||
font-style: italic; | |||
} | |||
.hljs-keyword, | |||
.hljs-selector-tag, | |||
.hljs-subst { | |||
color: #333; | |||
font-weight: bold; | |||
} | |||
.hljs-number, | |||
.hljs-literal { | |||
color: #777; | |||
} | |||
.hljs-string, | |||
.hljs-doctag, | |||
.hljs-formula { | |||
color: #333; | |||
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAJ0lEQVQIW2O8e/fufwYGBgZBQUEQxcCIIfDu3Tuwivfv30NUoAsAALHpFMMLqZlPAAAAAElFTkSuQmCC) repeat; | |||
} | |||
.hljs-title, | |||
.hljs-section, | |||
.hljs-selector-id { | |||
color: #000; | |||
font-weight: bold; | |||
} | |||
.hljs-subst { | |||
font-weight: normal; | |||
} | |||
.hljs-class .hljs-title, | |||
.hljs-type, | |||
.hljs-name { | |||
color: #333; | |||
font-weight: bold; | |||
} | |||
.hljs-tag { | |||
color: #333; | |||
} | |||
.hljs-regexp { | |||
color: #333; | |||
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAICAYAAADA+m62AAAAPUlEQVQYV2NkQAN37979r6yszIgujiIAU4RNMVwhuiQ6H6wQl3XI4oy4FMHcCJPHcDS6J2A2EqUQpJhohQDexSef15DBCwAAAABJRU5ErkJggg==) repeat; | |||
} | |||
.hljs-symbol, | |||
.hljs-bullet, | |||
.hljs-link { | |||
color: #000; | |||
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAKElEQVQIW2NkQAO7d+/+z4gsBhJwdXVlhAvCBECKwIIwAbhKZBUwBQA6hBpm5efZsgAAAABJRU5ErkJggg==) repeat; | |||
} | |||
.hljs-built_in, | |||
.hljs-builtin-name { | |||
color: #000; | |||
text-decoration: underline; | |||
} | |||
.hljs-meta { | |||
color: #999; | |||
font-weight: bold; | |||
} | |||
.hljs-deletion { | |||
color: #fff; | |||
background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAADCAYAAABS3WWCAAAAE0lEQVQIW2MMDQ39zzhz5kwIAQAyxweWgUHd1AAAAABJRU5ErkJggg==) repeat; | |||
} | |||
.hljs-addition { | |||
color: #000; | |||
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAALUlEQVQYV2N89+7dfwYk8P79ewZBQUFkIQZGOiu6e/cuiptQHAPl0NtNxAQBAM97Oejj3Dg7AAAAAElFTkSuQmCC) repeat; | |||
} | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} | |||
.hljs-strong { | |||
font-weight: bold; | |||
} |
@ -0,0 +1,108 @@ | |||
/* | |||
Gruvbox style (dark) (c) Pavel Pertsev (original style at https://github.com/morhetz/gruvbox) | |||
*/ | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
padding: 0.5em; | |||
background: #282828; | |||
} | |||
.hljs, | |||
.hljs-subst { | |||
color: #ebdbb2; | |||
} | |||
/* Gruvbox Red */ | |||
.hljs-deletion, | |||
.hljs-formula, | |||
.hljs-keyword, | |||
.hljs-link, | |||
.hljs-selector-tag { | |||
color: #fb4934; | |||
} | |||
/* Gruvbox Blue */ | |||
.hljs-built_in, | |||
.hljs-emphasis, | |||
.hljs-name, | |||
.hljs-quote, | |||
.hljs-strong, | |||
.hljs-title, | |||
.hljs-variable { | |||
color: #83a598; | |||
} | |||
/* Gruvbox Yellow */ | |||
.hljs-attr, | |||
.hljs-params, | |||
.hljs-template-tag, | |||
.hljs-type { | |||
color: #fabd2f; | |||
} | |||
/* Gruvbox Purple */ | |||
.hljs-builtin-name, | |||
.hljs-doctag, | |||
.hljs-literal, | |||
.hljs-number { | |||
color: #8f3f71; | |||
} | |||
/* Gruvbox Orange */ | |||
.hljs-code, | |||
.hljs-meta, | |||
.hljs-regexp, | |||
.hljs-selector-id, | |||
.hljs-template-variable { | |||
color: #fe8019; | |||
} | |||
/* Gruvbox Green */ | |||
.hljs-addition, | |||
.hljs-meta-string, | |||
.hljs-section, | |||
.hljs-selector-attr, | |||
.hljs-selector-class, | |||
.hljs-string, | |||
.hljs-symbol { | |||
color: #b8bb26; | |||
} | |||
/* Gruvbox Aqua */ | |||
.hljs-attribute, | |||
.hljs-bullet, | |||
.hljs-class, | |||
.hljs-function, | |||
.hljs-function .hljs-keyword, | |||
.hljs-meta-keyword, | |||
.hljs-selector-pseudo, | |||
.hljs-tag { | |||
color: #8ec07c; | |||
} | |||
/* Gruvbox Gray */ | |||
.hljs-comment { | |||
color: #928374; | |||
} | |||
/* Gruvbox Purple */ | |||
.hljs-link_label, | |||
.hljs-literal, | |||
.hljs-number { | |||
color: #d3869b; | |||
} | |||
.hljs-comment, | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} | |||
.hljs-section, | |||
.hljs-strong, | |||
.hljs-tag { | |||
font-weight: bold; | |||
} |
@ -0,0 +1,108 @@ | |||
/* | |||
Gruvbox style (light) (c) Pavel Pertsev (original style at https://github.com/morhetz/gruvbox) | |||
*/ | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
padding: 0.5em; | |||
background: #fbf1c7; | |||
} | |||
.hljs, | |||
.hljs-subst { | |||
color: #3c3836; | |||
} | |||
/* Gruvbox Red */ | |||
.hljs-deletion, | |||
.hljs-formula, | |||
.hljs-keyword, | |||
.hljs-link, | |||
.hljs-selector-tag { | |||
color: #9d0006; | |||
} | |||
/* Gruvbox Blue */ | |||
.hljs-built_in, | |||
.hljs-emphasis, | |||
.hljs-name, | |||
.hljs-quote, | |||
.hljs-strong, | |||
.hljs-title, | |||
.hljs-variable { | |||
color: #076678; | |||
} | |||
/* Gruvbox Yellow */ | |||
.hljs-attr, | |||
.hljs-params, | |||
.hljs-template-tag, | |||
.hljs-type { | |||
color: #b57614; | |||
} | |||
/* Gruvbox Purple */ | |||
.hljs-builtin-name, | |||
.hljs-doctag, | |||
.hljs-literal, | |||
.hljs-number { | |||
color: #8f3f71; | |||
} | |||
/* Gruvbox Orange */ | |||
.hljs-code, | |||
.hljs-meta, | |||
.hljs-regexp, | |||
.hljs-selector-id, | |||
.hljs-template-variable { | |||
color: #af3a03; | |||
} | |||
/* Gruvbox Green */ | |||
.hljs-addition, | |||
.hljs-meta-string, | |||
.hljs-section, | |||
.hljs-selector-attr, | |||
.hljs-selector-class, | |||
.hljs-string, | |||
.hljs-symbol { | |||
color: #79740e; | |||
} | |||
/* Gruvbox Aqua */ | |||
.hljs-attribute, | |||
.hljs-bullet, | |||
.hljs-class, | |||
.hljs-function, | |||
.hljs-function .hljs-keyword, | |||
.hljs-meta-keyword, | |||
.hljs-selector-pseudo, | |||
.hljs-tag { | |||
color: #427b58; | |||
} | |||
/* Gruvbox Gray */ | |||
.hljs-comment { | |||
color: #928374; | |||
} | |||
/* Gruvbox Purple */ | |||
.hljs-link_label, | |||
.hljs-literal, | |||
.hljs-number { | |||
color: #8f3f71; | |||
} | |||
.hljs-comment, | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} | |||
.hljs-section, | |||
.hljs-strong, | |||
.hljs-tag { | |||
font-weight: bold; | |||
} |
@ -0,0 +1,83 @@ | |||
/* | |||
* Hopscotch | |||
* by Jan T. Sott | |||
* https://github.com/idleberg/Hopscotch | |||
* | |||
* This work is licensed under the Creative Commons CC0 1.0 Universal License | |||
*/ | |||
/* Comment */ | |||
.hljs-comment, | |||
.hljs-quote { | |||
color: #989498; | |||
} | |||
/* Red */ | |||
.hljs-variable, | |||
.hljs-template-variable, | |||
.hljs-attribute, | |||
.hljs-tag, | |||
.hljs-name, | |||
.hljs-selector-id, | |||
.hljs-selector-class, | |||
.hljs-regexp, | |||
.hljs-link, | |||
.hljs-deletion { | |||
color: #dd464c; | |||
} | |||
/* Orange */ | |||
.hljs-number, | |||
.hljs-built_in, | |||
.hljs-builtin-name, | |||
.hljs-literal, | |||
.hljs-type, | |||
.hljs-params { | |||
color: #fd8b19; | |||
} | |||
/* Yellow */ | |||
.hljs-class .hljs-title { | |||
color: #fdcc59; | |||
} | |||
/* Green */ | |||
.hljs-string, | |||
.hljs-symbol, | |||
.hljs-bullet, | |||
.hljs-addition { | |||
color: #8fc13e; | |||
} | |||
/* Aqua */ | |||
.hljs-meta { | |||
color: #149b93; | |||
} | |||
/* Blue */ | |||
.hljs-function, | |||
.hljs-section, | |||
.hljs-title { | |||
color: #1290bf; | |||
} | |||
/* Purple */ | |||
.hljs-keyword, | |||
.hljs-selector-tag { | |||
color: #c85e7c; | |||
} | |||
.hljs { | |||
display: block; | |||
background: #322931; | |||
color: #b9b5b8; | |||
padding: 0.5em; | |||
} | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} | |||
.hljs-strong { | |||
font-weight: bold; | |||
} |
@ -0,0 +1,102 @@ | |||
/* | |||
vim-hybrid theme by w0ng (https://github.com/w0ng/vim-hybrid) | |||
*/ | |||
/*background color*/ | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
padding: 0.5em; | |||
background: #1d1f21; | |||
} | |||
/*selection color*/ | |||
.hljs::selection, | |||
.hljs span::selection { | |||
background: #373b41; | |||
} | |||
.hljs::-moz-selection, | |||
.hljs span::-moz-selection { | |||
background: #373b41; | |||
} | |||
/*foreground color*/ | |||
.hljs { | |||
color: #c5c8c6; | |||
} | |||
/*color: fg_yellow*/ | |||
.hljs-title, | |||
.hljs-name { | |||
color: #f0c674; | |||
} | |||
/*color: fg_comment*/ | |||
.hljs-comment, | |||
.hljs-meta, | |||
.hljs-meta .hljs-keyword { | |||
color: #707880; | |||
} | |||
/*color: fg_red*/ | |||
.hljs-number, | |||
.hljs-symbol, | |||
.hljs-literal, | |||
.hljs-deletion, | |||
.hljs-link { | |||
color: #cc6666 | |||
} | |||
/*color: fg_green*/ | |||
.hljs-string, | |||
.hljs-doctag, | |||
.hljs-addition, | |||
.hljs-regexp, | |||
.hljs-selector-attr, | |||
.hljs-selector-pseudo { | |||
color: #b5bd68; | |||
} | |||
/*color: fg_purple*/ | |||
.hljs-attribute, | |||
.hljs-code, | |||
.hljs-selector-id { | |||
color: #b294bb; | |||
} | |||
/*color: fg_blue*/ | |||
.hljs-keyword, | |||
.hljs-selector-tag, | |||
.hljs-bullet, | |||
.hljs-tag { | |||
color: #81a2be; | |||
} | |||
/*color: fg_aqua*/ | |||
.hljs-subst, | |||
.hljs-variable, | |||
.hljs-template-tag, | |||
.hljs-template-variable { | |||
color: #8abeb7; | |||
} | |||
/*color: fg_orange*/ | |||
.hljs-type, | |||
.hljs-built_in, | |||
.hljs-builtin-name, | |||
.hljs-quote, | |||
.hljs-section, | |||
.hljs-selector-class { | |||
color: #de935f; | |||
} | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} | |||
.hljs-strong { | |||
font-weight: bold; | |||
} |
@ -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; | |||
} |
@ -0,0 +1,73 @@ | |||
/* | |||
IR_Black style (c) Vasily Mikhailitchenko <vaskas@programica.ru> | |||
*/ | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
padding: 0.5em; | |||
background: #000; | |||
color: #f8f8f8; | |||
} | |||
.hljs-comment, | |||
.hljs-quote, | |||
.hljs-meta { | |||
color: #7c7c7c; | |||
} | |||
.hljs-keyword, | |||
.hljs-selector-tag, | |||
.hljs-tag, | |||
.hljs-name { | |||
color: #96cbfe; | |||
} | |||
.hljs-attribute, | |||
.hljs-selector-id { | |||
color: #ffffb6; | |||
} | |||
.hljs-string, | |||
.hljs-selector-attr, | |||
.hljs-selector-pseudo, | |||
.hljs-addition { | |||
color: #a8ff60; | |||
} | |||
.hljs-subst { | |||
color: #daefa3; | |||
} | |||
.hljs-regexp, | |||
.hljs-link { | |||
color: #e9c062; | |||
} | |||
.hljs-title, | |||
.hljs-section, | |||
.hljs-type, | |||
.hljs-doctag { | |||
color: #ffffb6; | |||
} | |||
.hljs-symbol, | |||
.hljs-bullet, | |||
.hljs-variable, | |||
.hljs-template-variable, | |||
.hljs-literal { | |||
color: #c6c5fe; | |||
} | |||
.hljs-number, | |||
.hljs-deletion { | |||
color:#ff73fd; | |||
} | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} | |||
.hljs-strong { | |||
font-weight: bold; | |||
} |
@ -0,0 +1,112 @@ | |||
/* | |||
ISBL Editor style dark color scheme (c) Dmitriy Tarasov <dimatar@gmail.com> | |||
*/ | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
padding: 0.5em; | |||
background: #404040; | |||
color: #f0f0f0; | |||
} | |||
/* Base color: saturation 0; */ | |||
.hljs, | |||
.hljs-subst { | |||
color: #f0f0f0; | |||
} | |||
.hljs-comment { | |||
color: #b5b5b5; | |||
font-style: italic; | |||
} | |||
.hljs-keyword, | |||
.hljs-attribute, | |||
.hljs-selector-tag, | |||
.hljs-meta-keyword, | |||
.hljs-doctag, | |||
.hljs-name { | |||
color: #f0f0f0; | |||
font-weight: bold; | |||
} | |||
/* User color: hue: 0 */ | |||
.hljs-string { | |||
color: #97bf0d; | |||
} | |||
.hljs-type, | |||
.hljs-number, | |||
.hljs-selector-id, | |||
.hljs-selector-class, | |||
.hljs-quote, | |||
.hljs-template-tag, | |||
.hljs-deletion { | |||
color: #f0f0f0; | |||
} | |||
.hljs-title, | |||
.hljs-section { | |||
color: #df471e; | |||
} | |||
.hljs-title>.hljs-built_in { | |||
color: #81bce9; | |||
font-weight: normal; | |||
} | |||
.hljs-regexp, | |||
.hljs-symbol, | |||
.hljs-variable, | |||
.hljs-template-variable, | |||
.hljs-link, | |||
.hljs-selector-attr, | |||
.hljs-selector-pseudo { | |||
color: #e2c696; | |||
} | |||
/* Language color: hue: 90; */ | |||
.hljs-built_in, | |||
.hljs-literal { | |||
color: #97bf0d; | |||
font-weight: bold; | |||
} | |||
.hljs-bullet, | |||
.hljs-code, | |||
.hljs-addition { | |||
color: #397300; | |||
} | |||
.hljs-class { | |||
color: #ce9d4d; | |||
font-weight: bold; | |||
} | |||
/* Meta color: hue: 200 */ | |||
.hljs-meta { | |||
color: #1f7199; | |||
} | |||
.hljs-meta-string { | |||
color: #4d99bf; | |||
} | |||
/* Misc effects */ | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} | |||
.hljs-strong { | |||
font-weight: bold; | |||
} |
@ -0,0 +1,112 @@ | |||
/* | |||
ISBL Editor style light color schemec (c) Dmitriy Tarasov <dimatar@gmail.com> | |||
*/ | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
padding: 0.5em; | |||
background: white; | |||
color: black; | |||
} | |||
/* Base color: saturation 0; */ | |||
.hljs, | |||
.hljs-subst { | |||
color: #000000; | |||
} | |||
.hljs-comment { | |||
color: #555555; | |||
font-style: italic; | |||
} | |||
.hljs-keyword, | |||
.hljs-attribute, | |||
.hljs-selector-tag, | |||
.hljs-meta-keyword, | |||
.hljs-doctag, | |||
.hljs-name { | |||
color: #000000; | |||
font-weight: bold; | |||
} | |||
/* User color: hue: 0 */ | |||
.hljs-string { | |||
color: #000080; | |||
} | |||
.hljs-type, | |||
.hljs-number, | |||
.hljs-selector-id, | |||
.hljs-selector-class, | |||
.hljs-quote, | |||
.hljs-template-tag, | |||
.hljs-deletion { | |||
color: #000000; | |||
} | |||
.hljs-title, | |||
.hljs-section { | |||
color: #fb2c00; | |||
} | |||
.hljs-title>.hljs-built_in { | |||
color: #008080; | |||
font-weight: normal; | |||
} | |||
.hljs-regexp, | |||
.hljs-symbol, | |||
.hljs-variable, | |||
.hljs-template-variable, | |||
.hljs-link, | |||
.hljs-selector-attr, | |||
.hljs-selector-pseudo { | |||
color: #5e1700; | |||
} | |||
/* Language color: hue: 90; */ | |||
.hljs-built_in, | |||
.hljs-literal { | |||
color: #000080; | |||
font-weight: bold; | |||
} | |||
.hljs-bullet, | |||
.hljs-code, | |||
.hljs-addition { | |||
color: #397300; | |||
} | |||
.hljs-class { | |||
color: #6f1C00; | |||
font-weight: bold; | |||
} | |||
/* Meta color: hue: 200 */ | |||
.hljs-meta { | |||
color: #1f7199; | |||
} | |||
.hljs-meta-string { | |||
color: #4d99bf; | |||
} | |||
/* Misc effects */ | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} | |||
.hljs-strong { | |||
font-weight: bold; | |||
} |
@ -0,0 +1,74 @@ | |||
/* | |||
Name: Kimbie (dark) | |||
Author: Jan T. Sott | |||
License: Creative Commons Attribution-ShareAlike 4.0 Unported License | |||
URL: https://github.com/idleberg/Kimbie-highlight.js | |||
*/ | |||
/* Kimbie Comment */ | |||
.hljs-comment, | |||
.hljs-quote { | |||
color: #d6baad; | |||
} | |||
/* Kimbie Red */ | |||
.hljs-variable, | |||
.hljs-template-variable, | |||
.hljs-tag, | |||
.hljs-name, | |||
.hljs-selector-id, | |||
.hljs-selector-class, | |||
.hljs-regexp, | |||
.hljs-meta { | |||
color: #dc3958; | |||
} | |||
/* Kimbie Orange */ | |||
.hljs-number, | |||
.hljs-built_in, | |||
.hljs-builtin-name, | |||
.hljs-literal, | |||
.hljs-type, | |||
.hljs-params, | |||
.hljs-deletion, | |||
.hljs-link { | |||
color: #f79a32; | |||
} | |||
/* Kimbie Yellow */ | |||
.hljs-title, | |||
.hljs-section, | |||
.hljs-attribute { | |||
color: #f06431; | |||
} | |||
/* Kimbie Green */ | |||
.hljs-string, | |||
.hljs-symbol, | |||
.hljs-bullet, | |||
.hljs-addition { | |||
color: #889b4a; | |||
} | |||
/* Kimbie Purple */ | |||
.hljs-keyword, | |||
.hljs-selector-tag, | |||
.hljs-function { | |||
color: #98676a; | |||
} | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
background: #221a0f; | |||
color: #d3af86; | |||
padding: 0.5em; | |||
} | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} | |||
.hljs-strong { | |||
font-weight: bold; | |||
} |
@ -0,0 +1,74 @@ | |||
/* | |||
Name: Kimbie (light) | |||
Author: Jan T. Sott | |||
License: Creative Commons Attribution-ShareAlike 4.0 Unported License | |||
URL: https://github.com/idleberg/Kimbie-highlight.js | |||
*/ | |||
/* Kimbie Comment */ | |||
.hljs-comment, | |||
.hljs-quote { | |||
color: #a57a4c; | |||
} | |||
/* Kimbie Red */ | |||
.hljs-variable, | |||
.hljs-template-variable, | |||
.hljs-tag, | |||
.hljs-name, | |||
.hljs-selector-id, | |||
.hljs-selector-class, | |||
.hljs-regexp, | |||
.hljs-meta { | |||
color: #dc3958; | |||
} | |||
/* Kimbie Orange */ | |||
.hljs-number, | |||
.hljs-built_in, | |||
.hljs-builtin-name, | |||
.hljs-literal, | |||
.hljs-type, | |||
.hljs-params, | |||
.hljs-deletion, | |||
.hljs-link { | |||
color: #f79a32; | |||
} | |||
/* Kimbie Yellow */ | |||
.hljs-title, | |||
.hljs-section, | |||
.hljs-attribute { | |||
color: #f06431; | |||
} | |||
/* Kimbie Green */ | |||
.hljs-string, | |||
.hljs-symbol, | |||
.hljs-bullet, | |||
.hljs-addition { | |||
color: #889b4a; | |||
} | |||
/* Kimbie Purple */ | |||
.hljs-keyword, | |||
.hljs-selector-tag, | |||
.hljs-function { | |||
color: #98676a; | |||
} | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
background: #fbebd4; | |||
color: #84613d; | |||
padding: 0.5em; | |||
} | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} | |||
.hljs-strong { | |||
font-weight: bold; | |||
} |
@ -0,0 +1,87 @@ | |||
/* | |||
Lightfair style (c) Tristian Kelly <tristian.kelly560@gmail.com> | |||
*/ | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
padding: 0.5em; | |||
} | |||
.hljs-name { | |||
color:#01a3a3; | |||
} | |||
.hljs-tag,.hljs-meta { | |||
color:#778899; | |||
} | |||
.hljs, | |||
.hljs-subst { | |||
color: #444 | |||
} | |||
.hljs-comment { | |||
color: #888888 | |||
} | |||
.hljs-keyword, | |||
.hljs-attribute, | |||
.hljs-selector-tag, | |||
.hljs-meta-keyword, | |||
.hljs-doctag, | |||
.hljs-name { | |||
font-weight: bold | |||
} | |||
.hljs-type, | |||
.hljs-string, | |||
.hljs-number, | |||
.hljs-selector-id, | |||
.hljs-selector-class, | |||
.hljs-quote, | |||
.hljs-template-tag, | |||
.hljs-deletion { | |||
color: #4286f4 | |||
} | |||
.hljs-title, | |||
.hljs-section { | |||
color: #4286f4; | |||
font-weight: bold | |||
} | |||
.hljs-regexp, | |||
.hljs-symbol, | |||
.hljs-variable, | |||
.hljs-template-variable, | |||
.hljs-link, | |||
.hljs-selector-attr, | |||
.hljs-selector-pseudo { | |||
color: #BC6060 | |||
} | |||
.hljs-literal { | |||
color: #62bcbc | |||
} | |||
.hljs-built_in, | |||
.hljs-bullet, | |||
.hljs-code, | |||
.hljs-addition { | |||
color: #25c6c6 | |||
} | |||
.hljs-meta-string { | |||
color: #4d99bf | |||
} | |||
.hljs-emphasis { | |||
font-style: italic | |||
} | |||
.hljs-strong { | |||
font-weight: bold | |||
} |
@ -0,0 +1,70 @@ | |||
/* | |||
Description: Magula style for highligh.js | |||
Author: Ruslan Keba <rukeba@gmail.com> | |||
Website: http://rukeba.com/ | |||
Version: 1.0 | |||
Date: 2009-01-03 | |||
Music: Aphex Twin / Xtal | |||
*/ | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
padding: 0.5em; | |||
background-color: #f4f4f4; | |||
} | |||
.hljs, | |||
.hljs-subst { | |||
color: black; | |||
} | |||
.hljs-string, | |||
.hljs-title, | |||
.hljs-symbol, | |||
.hljs-bullet, | |||
.hljs-attribute, | |||
.hljs-addition, | |||
.hljs-variable, | |||
.hljs-template-tag, | |||
.hljs-template-variable { | |||
color: #050; | |||
} | |||
.hljs-comment, | |||
.hljs-quote { | |||
color: #777; | |||
} | |||
.hljs-number, | |||
.hljs-regexp, | |||
.hljs-literal, | |||
.hljs-type, | |||
.hljs-link { | |||
color: #800; | |||
} | |||
.hljs-deletion, | |||
.hljs-meta { | |||
color: #00e; | |||
} | |||
.hljs-keyword, | |||
.hljs-selector-tag, | |||
.hljs-doctag, | |||
.hljs-title, | |||
.hljs-section, | |||
.hljs-built_in, | |||
.hljs-tag, | |||
.hljs-name { | |||
font-weight: bold; | |||
color: navy; | |||
} | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} | |||
.hljs-strong { | |||
font-weight: bold; | |||
} |
@ -0,0 +1,59 @@ | |||
/* | |||
Five-color theme from a single blue hue. | |||
*/ | |||
.hljs { | |||
display: block; | |||
overflow-x: auto; | |||
padding: 0.5em; | |||
background: #eaeef3; | |||
} | |||
.hljs { | |||
color: #00193a; | |||
} | |||
.hljs-keyword, | |||
.hljs-selector-tag, | |||
.hljs-title, | |||
.hljs-section, | |||
.hljs-doctag, | |||
.hljs-name, | |||
.hljs-strong { | |||
font-weight: bold; | |||
} | |||
.hljs-comment { | |||
color: #738191; | |||
} | |||
.hljs-string, | |||
.hljs-title, | |||
.hljs-section, | |||
.hljs-built_in, | |||
.hljs-literal, | |||
.hljs-type, | |||
.hljs-addition, | |||
.hljs-tag, | |||
.hljs-quote, | |||
.hljs-name, | |||
.hljs-selector-id, | |||
.hljs-selector-class { | |||
color: #0048ab; | |||
} | |||
.hljs-meta, | |||
.hljs-subst, | |||
.hljs-symbol, | |||
.hljs-regexp, | |||
.hljs-attribute, | |||
.hljs-deletion, | |||
.hljs-variable, | |||
.hljs-template-variable, | |||
.hljs-link, | |||
.hljs-bullet { | |||
color: #4c81c9; | |||
} | |||
.hljs-emphasis { | |||
font-style: italic; | |||
} |