2014-12-03 09:27:31 -05:00
|
|
|
/* https://gist.github.com/qguv/7936275 */
|
|
|
|
.code.solarized-light {
|
2016-01-21 08:23:53 -05:00
|
|
|
// Line numbers
|
|
|
|
.line-numbers, .diff-line-num {
|
|
|
|
background-color: #fdf6e3;
|
|
|
|
}
|
2014-12-03 09:27:31 -05:00
|
|
|
|
2016-01-21 08:23:53 -05:00
|
|
|
.diff-line-num, .diff-line-num a {
|
2016-03-31 13:13:25 -04:00
|
|
|
color: $black-transparent;
|
2014-12-03 09:27:31 -05:00
|
|
|
}
|
|
|
|
|
2016-01-21 08:23:53 -05:00
|
|
|
// Code itself
|
2016-01-25 05:42:47 -05:00
|
|
|
pre.code, .diff-line-num {
|
|
|
|
border-color: #c5d0d4;
|
2014-12-03 09:27:31 -05:00
|
|
|
}
|
|
|
|
|
2016-01-21 08:23:53 -05:00
|
|
|
&, pre.code, .line_holder .line_content {
|
|
|
|
background-color: #fdf6e3;
|
|
|
|
color: #586e75;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Diff line
|
|
|
|
.line_holder {
|
2016-04-11 08:19:55 -04:00
|
|
|
td.diff-line-num.hll:not(.empty-cell),
|
|
|
|
td.line_content.hll:not(.empty-cell) {
|
|
|
|
background-color: #ddd8c5;
|
|
|
|
border-color: darken(#ddd8c5, 15%);
|
|
|
|
}
|
|
|
|
|
2016-01-21 08:23:53 -05:00
|
|
|
.diff-line-num.new, .line_content.new {
|
2016-01-27 10:08:42 -05:00
|
|
|
@include diff_background(rgba(133, 153, 0, 0.2), rgba(133, 153, 0, 0.25), #c5d0d4);
|
2016-01-21 08:23:53 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.diff-line-num.old, .line_content.old {
|
2016-01-27 10:08:42 -05:00
|
|
|
@include diff_background(rgba(220, 50, 47, 0.2), rgba(220, 50, 47, 0.25), #c5d0d4);
|
2016-01-21 08:56:23 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.line_content.match {
|
2016-03-31 13:13:25 -04:00
|
|
|
color: $black-transparent;
|
2016-01-21 08:56:23 -05:00
|
|
|
background: rgba(255, 255, 255, 0.4);
|
2016-01-21 08:23:53 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-02-18 13:06:58 -05:00
|
|
|
// highlight line via anchor
|
2015-03-10 13:30:07 -04:00
|
|
|
pre .hll {
|
|
|
|
background-color: #ddd8c5 !important;
|
2015-02-18 13:06:58 -05:00
|
|
|
}
|
|
|
|
|
2015-08-25 18:23:41 -04:00
|
|
|
// Search result highlight
|
|
|
|
span.highlight_word {
|
2015-10-14 15:39:02 -04:00
|
|
|
background-color: #eee8d5 !important;
|
2015-08-25 18:23:41 -04:00
|
|
|
}
|
|
|
|
|
2014-12-03 09:27:31 -05:00
|
|
|
/* Solarized Light
|
|
|
|
|
|
|
|
For use with Jekyll and Pygments
|
|
|
|
|
|
|
|
http://ethanschoonover.com/solarized
|
|
|
|
|
|
|
|
SOLARIZED HEX ROLE
|
|
|
|
--------- -------- ------------------------------------------
|
|
|
|
base01 #586e75 body text / default code / primary content
|
|
|
|
base1 #93a1a1 comments / secondary content
|
|
|
|
base3 #fdf6e3 background
|
|
|
|
orange #cb4b16 constants
|
|
|
|
red #dc322f regex, special keywords
|
|
|
|
blue #268bd2 reserved keywords
|
|
|
|
cyan #2aa198 strings, numbers
|
|
|
|
green #859900 operators, other keywords
|
|
|
|
*/
|
|
|
|
|
|
|
|
.c { color: #93a1a1 } /* Comment */
|
|
|
|
.err { color: #586e75 } /* Error */
|
|
|
|
.g { color: #586e75 } /* Generic */
|
|
|
|
.k { color: #859900 } /* Keyword */
|
|
|
|
.l { color: #586e75 } /* Literal */
|
|
|
|
.n { color: #586e75 } /* Name */
|
|
|
|
.o { color: #859900 } /* Operator */
|
|
|
|
.x { color: #cb4b16 } /* Other */
|
|
|
|
.p { color: #586e75 } /* Punctuation */
|
|
|
|
.cm { color: #93a1a1 } /* Comment.Multiline */
|
|
|
|
.cp { color: #859900 } /* Comment.Preproc */
|
|
|
|
.c1 { color: #93a1a1 } /* Comment.Single */
|
|
|
|
.cs { color: #859900 } /* Comment.Special */
|
|
|
|
.gd { color: #2aa198 } /* Generic.Deleted */
|
|
|
|
.ge { color: #586e75; font-style: italic } /* Generic.Emph */
|
|
|
|
.gr { color: #dc322f } /* Generic.Error */
|
|
|
|
.gh { color: #cb4b16 } /* Generic.Heading */
|
|
|
|
.gi { color: #859900 } /* Generic.Inserted */
|
|
|
|
.go { color: #586e75 } /* Generic.Output */
|
|
|
|
.gp { color: #586e75 } /* Generic.Prompt */
|
|
|
|
.gs { color: #586e75; font-weight: bold } /* Generic.Strong */
|
|
|
|
.gu { color: #cb4b16 } /* Generic.Subheading */
|
|
|
|
.gt { color: #586e75 } /* Generic.Traceback */
|
|
|
|
.kc { color: #cb4b16 } /* Keyword.Constant */
|
|
|
|
.kd { color: #268bd2 } /* Keyword.Declaration */
|
|
|
|
.kn { color: #859900 } /* Keyword.Namespace */
|
|
|
|
.kp { color: #859900 } /* Keyword.Pseudo */
|
|
|
|
.kr { color: #268bd2 } /* Keyword.Reserved */
|
|
|
|
.kt { color: #dc322f } /* Keyword.Type */
|
|
|
|
.ld { color: #586e75 } /* Literal.Date */
|
|
|
|
.m { color: #2aa198 } /* Literal.Number */
|
|
|
|
.s { color: #2aa198 } /* Literal.String */
|
|
|
|
.na { color: #586e75 } /* Name.Attribute */
|
2016-03-15 15:56:28 -04:00
|
|
|
.nb { color: #b58900 } /* Name.Builtin */
|
2014-12-03 09:27:31 -05:00
|
|
|
.nc { color: #268bd2 } /* Name.Class */
|
|
|
|
.no { color: #cb4b16 } /* Name.Constant */
|
|
|
|
.nd { color: #268bd2 } /* Name.Decorator */
|
|
|
|
.ni { color: #cb4b16 } /* Name.Entity */
|
|
|
|
.ne { color: #cb4b16 } /* Name.Exception */
|
|
|
|
.nf { color: #268bd2 } /* Name.Function */
|
|
|
|
.nl { color: #586e75 } /* Name.Label */
|
|
|
|
.nn { color: #586e75 } /* Name.Namespace */
|
|
|
|
.nx { color: #586e75 } /* Name.Other */
|
|
|
|
.py { color: #586e75 } /* Name.Property */
|
|
|
|
.nt { color: #268bd2 } /* Name.Tag */
|
|
|
|
.nv { color: #268bd2 } /* Name.Variable */
|
|
|
|
.ow { color: #859900 } /* Operator.Word */
|
|
|
|
.w { color: #586e75 } /* Text.Whitespace */
|
|
|
|
.mf { color: #2aa198 } /* Literal.Number.Float */
|
|
|
|
.mh { color: #2aa198 } /* Literal.Number.Hex */
|
|
|
|
.mi { color: #2aa198 } /* Literal.Number.Integer */
|
|
|
|
.mo { color: #2aa198 } /* Literal.Number.Oct */
|
|
|
|
.sb { color: #93a1a1 } /* Literal.String.Backtick */
|
|
|
|
.sc { color: #2aa198 } /* Literal.String.Char */
|
|
|
|
.sd { color: #586e75 } /* Literal.String.Doc */
|
|
|
|
.s2 { color: #2aa198 } /* Literal.String.Double */
|
|
|
|
.se { color: #cb4b16 } /* Literal.String.Escape */
|
|
|
|
.sh { color: #586e75 } /* Literal.String.Heredoc */
|
|
|
|
.si { color: #2aa198 } /* Literal.String.Interpol */
|
|
|
|
.sx { color: #2aa198 } /* Literal.String.Other */
|
|
|
|
.sr { color: #dc322f } /* Literal.String.Regex */
|
|
|
|
.s1 { color: #2aa198 } /* Literal.String.Single */
|
|
|
|
.ss { color: #2aa198 } /* Literal.String.Symbol */
|
|
|
|
.bp { color: #268bd2 } /* Name.Builtin.Pseudo */
|
|
|
|
.vc { color: #268bd2 } /* Name.Variable.Class */
|
|
|
|
.vg { color: #268bd2 } /* Name.Variable.Global */
|
|
|
|
.vi { color: #268bd2 } /* Name.Variable.Instance */
|
|
|
|
.il { color: #2aa198 } /* Literal.Number.Integer.Long */
|
|
|
|
}
|