2015-04-26 12:48:37 +05:30
|
|
|
/* https://github.com/aahan/pygments-github-style */
|
|
|
|
.code.white {
|
2016-02-05 20:25:01 +05:30
|
|
|
// Line numbers
|
|
|
|
.line-numbers, .diff-line-num {
|
|
|
|
background-color: $background-color;
|
|
|
|
}
|
2014-09-02 18:07:02 +05:30
|
|
|
|
2016-02-05 20:25:01 +05:30
|
|
|
.diff-line-num, .diff-line-num a {
|
|
|
|
color: rgba(0, 0, 0, 0.3);
|
|
|
|
}
|
2014-09-02 18:07:02 +05:30
|
|
|
|
2016-02-05 20:25:01 +05:30
|
|
|
// Code itself
|
|
|
|
pre.code, .diff-line-num {
|
|
|
|
border-color: $border-color;
|
2015-09-25 12:07:36 +05:30
|
|
|
}
|
|
|
|
|
2016-02-05 20:25:01 +05:30
|
|
|
&, pre.code, .line_holder .line_content {
|
|
|
|
background-color: #fff;
|
|
|
|
color: #333;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Diff line
|
|
|
|
.line_holder {
|
|
|
|
.diff-line-num {
|
|
|
|
&.old {
|
|
|
|
background: #ffdddd;
|
|
|
|
border-color: #f1c0c0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.new {
|
|
|
|
background: #dbffdb;
|
|
|
|
border-color: #c1e9c1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.line_content {
|
|
|
|
&.old {
|
|
|
|
background: #ffecec;
|
|
|
|
|
|
|
|
span.idiff {
|
|
|
|
background-color: #f8cbcb;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.new {
|
|
|
|
background: #eaffea;
|
|
|
|
|
|
|
|
span.idiff {
|
|
|
|
background-color: #a6f3a6;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.match {
|
|
|
|
color: rgba(0, 0, 0, 0.3);
|
|
|
|
background: #fafafa;
|
|
|
|
}
|
|
|
|
}
|
2015-04-26 12:48:37 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
// highlight line via anchor
|
|
|
|
pre .hll {
|
|
|
|
background-color: #f8eec7 !important;
|
|
|
|
}
|
|
|
|
|
2015-09-25 12:07:36 +05:30
|
|
|
// Search result highlight
|
|
|
|
span.highlight_word {
|
2015-10-24 18:46:33 +05:30
|
|
|
background-color: #fafe3d !important;
|
2015-09-25 12:07:36 +05:30
|
|
|
}
|
|
|
|
|
2015-04-26 12:48:37 +05:30
|
|
|
.hll { background-color: #f8f8f8 }
|
|
|
|
.c { color: #999988; font-style: italic; }
|
|
|
|
.err { color: #a61717; background-color: #e3d2d2; }
|
|
|
|
.k { font-weight: bold; }
|
|
|
|
.o { font-weight: bold; }
|
|
|
|
.cm { color: #999988; font-style: italic; }
|
|
|
|
.cp { color: #999999; font-weight: bold; }
|
|
|
|
.c1 { color: #999988; font-style: italic; }
|
|
|
|
.cs { color: #999999; font-weight: bold; font-style: italic; }
|
|
|
|
.gd { color: #000000; background-color: #ffdddd; }
|
|
|
|
.gd .x { color: #000000; background-color: #ffaaaa; }
|
|
|
|
.ge { font-style: italic; }
|
|
|
|
.gr { color: #aa0000; }
|
|
|
|
.gh { color: #999999; }
|
|
|
|
.gi { color: #000000; background-color: #ddffdd; }
|
|
|
|
.gi .x { color: #000000; background-color: #aaffaa; }
|
|
|
|
.go { color: #888888; }
|
|
|
|
.gp { color: #555555; }
|
|
|
|
.gs { font-weight: bold; }
|
|
|
|
.gu { color: #800080; font-weight: bold; }
|
|
|
|
.gt { color: #aa0000; }
|
|
|
|
.kc { font-weight: bold; }
|
|
|
|
.kd { font-weight: bold; }
|
|
|
|
.kn { font-weight: bold; }
|
|
|
|
.kp { font-weight: bold; }
|
|
|
|
.kr { font-weight: bold; }
|
|
|
|
.kt { color: #445588; font-weight: bold; }
|
|
|
|
.m { color: #009999; }
|
|
|
|
.s { color: #dd1144; }
|
|
|
|
.n { color: #333333; }
|
|
|
|
.na { color: teal; }
|
|
|
|
.nb { color: #0086b3; }
|
|
|
|
.nc { color: #445588; font-weight: bold; }
|
|
|
|
.no { color: teal; }
|
|
|
|
.ni { color: purple; }
|
|
|
|
.ne { color: #990000; font-weight: bold; }
|
|
|
|
.nf { color: #990000; font-weight: bold; }
|
|
|
|
.nn { color: #555555; }
|
|
|
|
.nt { color: navy; }
|
|
|
|
.nv { color: teal; }
|
|
|
|
.ow { font-weight: bold; }
|
|
|
|
.w { color: #bbbbbb; }
|
|
|
|
.mf { color: #009999; }
|
|
|
|
.mh { color: #009999; }
|
|
|
|
.mi { color: #009999; }
|
|
|
|
.mo { color: #009999; }
|
|
|
|
.sb { color: #dd1144; }
|
|
|
|
.sc { color: #dd1144; }
|
|
|
|
.sd { color: #dd1144; }
|
|
|
|
.s2 { color: #dd1144; }
|
|
|
|
.se { color: #dd1144; }
|
|
|
|
.sh { color: #dd1144; }
|
|
|
|
.si { color: #dd1144; }
|
|
|
|
.sx { color: #dd1144; }
|
|
|
|
.sr { color: #009926; }
|
|
|
|
.s1 { color: #dd1144; }
|
|
|
|
.ss { color: #990073; }
|
|
|
|
.bp { color: #999999; }
|
|
|
|
.vc { color: teal; }
|
|
|
|
.vg { color: teal; }
|
|
|
|
.vi { color: teal; }
|
|
|
|
.il { color: #009999; }
|
|
|
|
.gc { color: #999; background-color: #EAF2F5; }
|
2014-09-02 18:07:02 +05:30
|
|
|
}
|