2014-12-03 09:27:31 -05:00
|
|
|
/* https://github.com/aahan/pygments-github-style */
|
2016-07-31 11:25:40 -04:00
|
|
|
|
2016-11-30 08:25:25 -05:00
|
|
|
/*
|
|
|
|
* White Syntax Colors
|
|
|
|
*/
|
|
|
|
$white-code-color: #333;
|
|
|
|
$white-highlight: #fafe3d;
|
|
|
|
$white-pre-hll-bg: #f8eec7;
|
|
|
|
$white-hll-bg: #f8f8f8;
|
|
|
|
$white-c: #998;
|
|
|
|
$white-err: #a61717;
|
|
|
|
$white-err-bg: #e3d2d2;
|
|
|
|
$white-cm: #998;
|
|
|
|
$white-cp: #999;
|
|
|
|
$white-c1: #998;
|
|
|
|
$white-cs: #999;
|
|
|
|
$white-gd: $black;
|
|
|
|
$white-gd-bg: #fdd;
|
|
|
|
$white-gd-x: $black;
|
|
|
|
$white-gd-x-bg: #faa;
|
|
|
|
$white-gr: #a00;
|
|
|
|
$white-gh: #999;
|
|
|
|
$white-gi: $black;
|
|
|
|
$white-gi-bg: #dfd;
|
|
|
|
$white-gi-x: $black;
|
|
|
|
$white-gi-x-bg: #afa;
|
|
|
|
$white-go: #888;
|
|
|
|
$white-gp: #555;
|
|
|
|
$white-gu: #800080;
|
|
|
|
$white-gt: #a00;
|
|
|
|
$white-kt: #458;
|
|
|
|
$white-m: #099;
|
|
|
|
$white-s: #d14;
|
|
|
|
$white-n: #333;
|
|
|
|
$white-na: teal;
|
|
|
|
$white-nb: #0086b3;
|
|
|
|
$white-nc: #458;
|
|
|
|
$white-no: teal;
|
|
|
|
$white-ni: purple;
|
|
|
|
$white-ne: #900;
|
|
|
|
$white-nf: #900;
|
|
|
|
$white-nn: #555;
|
|
|
|
$white-nt: navy;
|
|
|
|
$white-nv: teal;
|
|
|
|
$white-w: #bbb;
|
|
|
|
$white-mf: #099;
|
|
|
|
$white-mh: #099;
|
|
|
|
$white-mi: #099;
|
|
|
|
$white-mo: #099;
|
|
|
|
$white-sb: #d14;
|
|
|
|
$white-sc: #d14;
|
|
|
|
$white-sd: #d14;
|
|
|
|
$white-s2: #d14;
|
|
|
|
$white-se: #d14;
|
|
|
|
$white-sh: #d14;
|
|
|
|
$white-si: #d14;
|
|
|
|
$white-sx: #d14;
|
|
|
|
$white-sr: #009926;
|
|
|
|
$white-s1: #d14;
|
|
|
|
$white-ss: #990073;
|
|
|
|
$white-bp: #999;
|
|
|
|
$white-vc: teal;
|
|
|
|
$white-vg: teal;
|
|
|
|
$white-vi: teal;
|
|
|
|
$white-il: #099;
|
|
|
|
$white-gc-color: #999;
|
|
|
|
$white-gc-bg: #eaf2f5;
|
|
|
|
|
|
|
|
|
2016-07-31 11:25:40 -04:00
|
|
|
@mixin matchLine {
|
|
|
|
color: $black-transparent;
|
|
|
|
background-color: $match-line;
|
|
|
|
}
|
|
|
|
|
2014-12-03 09:27:31 -05:00
|
|
|
.code.white {
|
2016-01-21 08:23:53 -05:00
|
|
|
// Line numbers
|
2016-10-24 16:22:06 -04:00
|
|
|
.line-numbers,
|
|
|
|
.diff-line-num {
|
2016-01-21 08:23:53 -05:00
|
|
|
background-color: $background-color;
|
|
|
|
}
|
2015-02-27 20:17:57 -05:00
|
|
|
|
2016-10-24 16:22:06 -04:00
|
|
|
.diff-line-num,
|
|
|
|
.diff-line-num a {
|
2016-04-07 15:36:53 -04:00
|
|
|
color: $black-transparent;
|
2015-09-10 07:36:42 -04:00
|
|
|
}
|
|
|
|
|
2016-01-21 08:23:53 -05:00
|
|
|
// Code itself
|
2016-10-24 16:22:06 -04:00
|
|
|
pre.code,
|
|
|
|
.diff-line-num {
|
2016-04-01 15:27:39 -04:00
|
|
|
border-color: $table-border-gray;
|
2016-01-21 08:23:53 -05:00
|
|
|
}
|
|
|
|
|
2016-10-24 16:22:06 -04:00
|
|
|
&,
|
|
|
|
pre.code,
|
|
|
|
.line_holder .line_content {
|
2016-11-30 08:25:25 -05:00
|
|
|
background-color: $white-light;
|
|
|
|
color: $white-code-color;
|
2016-01-21 08:23:53 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
// Diff line
|
|
|
|
.line_holder {
|
2016-04-11 08:19:55 -04:00
|
|
|
|
2016-07-31 11:25:40 -04:00
|
|
|
&.match .line_content {
|
|
|
|
@include matchLine;
|
|
|
|
}
|
|
|
|
|
2016-01-21 08:23:53 -05:00
|
|
|
.diff-line-num {
|
|
|
|
&.old {
|
2016-03-31 13:13:25 -04:00
|
|
|
background-color: $line-number-old;
|
2016-03-31 14:37:27 -04:00
|
|
|
border-color: $line-removed-dark;
|
2016-01-21 08:23:53 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
&.new {
|
2016-03-31 13:13:25 -04:00
|
|
|
background-color: $line-number-new;
|
2016-03-31 14:37:27 -04:00
|
|
|
border-color: $line-added-dark;
|
2016-01-21 08:23:53 -05:00
|
|
|
}
|
2016-04-22 10:53:45 -04:00
|
|
|
|
|
|
|
&.hll:not(.empty-cell) {
|
|
|
|
background-color: $line-number-select;
|
|
|
|
border-color: $line-select-yellow-dark;
|
|
|
|
}
|
2016-01-21 08:23:53 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.line_content {
|
|
|
|
&.old {
|
2016-04-22 10:53:45 -04:00
|
|
|
background-color: $line-removed;
|
2016-01-21 08:23:53 -05:00
|
|
|
|
|
|
|
span.idiff {
|
2016-03-31 13:13:25 -04:00
|
|
|
background-color: $line-removed-dark;
|
2016-01-21 08:23:53 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.new {
|
2016-03-31 13:13:25 -04:00
|
|
|
background-color: $line-added;
|
2016-01-21 08:23:53 -05:00
|
|
|
|
|
|
|
span.idiff {
|
2016-03-31 13:13:25 -04:00
|
|
|
background-color: $line-added-dark;
|
2016-01-21 08:23:53 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.match {
|
2016-07-31 11:25:40 -04:00
|
|
|
@include matchLine;
|
2016-04-22 10:53:45 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
&.hll:not(.empty-cell) {
|
|
|
|
background-color: $line-select-yellow;
|
2016-01-21 08:23:53 -05:00
|
|
|
}
|
|
|
|
}
|
2014-12-03 09:27:31 -05:00
|
|
|
}
|
|
|
|
|
2015-02-18 13:06:58 -05:00
|
|
|
// highlight line via anchor
|
2015-03-10 13:30:07 -04:00
|
|
|
pre .hll {
|
2016-11-30 08:25:25 -05:00
|
|
|
background-color: $white-pre-hll-bg !important;
|
2015-02-18 13:06:58 -05:00
|
|
|
}
|
|
|
|
|
2015-08-25 18:23:41 -04:00
|
|
|
// Search result highlight
|
|
|
|
span.highlight_word {
|
2016-11-30 08:25:25 -05:00
|
|
|
background-color: $white-highlight !important;
|
2015-08-25 18:23:41 -04:00
|
|
|
}
|
|
|
|
|
2016-11-30 08:25:25 -05:00
|
|
|
.hll { background-color: $white-hll-bg; }
|
|
|
|
.c { color: $white-c; font-style: italic; }
|
|
|
|
.err { color: $white-err; background-color: $white-err-bg; }
|
2014-12-03 09:27:31 -05:00
|
|
|
.k { font-weight: bold; }
|
|
|
|
.o { font-weight: bold; }
|
2016-11-30 08:25:25 -05:00
|
|
|
.cm { color: $white-cm; font-style: italic; }
|
|
|
|
.cp { color: $white-cp; font-weight: bold; }
|
|
|
|
.c1 { color: $white-c1; font-style: italic; }
|
|
|
|
.cs { color: $white-cs; font-weight: bold; font-style: italic; }
|
|
|
|
.gd { color: $white-gd; background-color: $white-gd-bg; }
|
|
|
|
.gd .x { color: $white-gd-x; background-color: $white-gd-x-bg; }
|
2014-12-03 09:27:31 -05:00
|
|
|
.ge { font-style: italic; }
|
2016-11-30 08:25:25 -05:00
|
|
|
.gr { color: $white-gr; }
|
|
|
|
.gh { color: $white-gh; }
|
|
|
|
.gi { color: $white-gi; background-color: $white-gi-bg; }
|
|
|
|
.gi .x { color: $white-gi-x; background-color: $white-gi-x-bg; }
|
|
|
|
.go { color: $white-go; }
|
|
|
|
.gp { color: $white-gp; }
|
2014-12-03 09:27:31 -05:00
|
|
|
.gs { font-weight: bold; }
|
2016-11-30 08:25:25 -05:00
|
|
|
.gu { color: $white-gu; font-weight: bold; }
|
|
|
|
.gt { color: $white-gt; }
|
2014-12-03 09:27:31 -05:00
|
|
|
.kc { font-weight: bold; }
|
|
|
|
.kd { font-weight: bold; }
|
|
|
|
.kn { font-weight: bold; }
|
|
|
|
.kp { font-weight: bold; }
|
|
|
|
.kr { font-weight: bold; }
|
2016-11-30 08:25:25 -05:00
|
|
|
.kt { color: $white-kt; font-weight: bold; }
|
|
|
|
.m { color: $white-m; }
|
|
|
|
.s { color: $white-s; }
|
|
|
|
.n { color: $white-n; }
|
|
|
|
.na { color: $white-na; }
|
|
|
|
.nb { color: $white-nb; }
|
|
|
|
.nc { color: $white-nc; font-weight: bold; }
|
|
|
|
.no { color: $white-no; }
|
|
|
|
.ni { color: $white-ni; }
|
|
|
|
.ne { color: $white-ne; font-weight: bold; }
|
|
|
|
.nf { color: $white-nf; font-weight: bold; }
|
|
|
|
.nn { color: $white-nn; }
|
|
|
|
.nt { color: $white-nt; }
|
|
|
|
.nv { color: $white-nv; }
|
2014-12-03 09:27:31 -05:00
|
|
|
.ow { font-weight: bold; }
|
2016-11-30 08:25:25 -05:00
|
|
|
.w { color: $white-w; }
|
|
|
|
.mf { color: $white-mf; }
|
|
|
|
.mh { color: $white-mh; }
|
|
|
|
.mi { color: $white-mi; }
|
|
|
|
.mo { color: $white-mo; }
|
|
|
|
.sb { color: $white-sb; }
|
|
|
|
.sc { color: $white-sc; }
|
|
|
|
.sd { color: $white-sd; }
|
|
|
|
.s2 { color: $white-s2; }
|
|
|
|
.se { color: $white-se; }
|
|
|
|
.sh { color: $white-sh; }
|
|
|
|
.si { color: $white-si; }
|
|
|
|
.sx { color: $white-sx; }
|
|
|
|
.sr { color: $white-sr; }
|
|
|
|
.s1 { color: $white-s1; }
|
|
|
|
.ss { color: $white-ss; }
|
|
|
|
.bp { color: $white-bp; }
|
|
|
|
.vc { color: $white-vc; }
|
|
|
|
.vg { color: $white-vg; }
|
|
|
|
.vi { color: $white-vi; }
|
|
|
|
.il { color: $white-il; }
|
|
|
|
.gc { color: $white-gc-color; background-color: $white-gc-bg; }
|
2014-11-05 09:35:56 -05:00
|
|
|
}
|