2016-07-07 19:05:01 +00:00
|
|
|
/**
|
|
|
|
* Syntax highlighting styles
|
|
|
|
*/
|
|
|
|
.highlight {
|
2021-01-20 14:27:52 +00:00
|
|
|
background: #EEE;
|
|
|
|
border: 3px solid #DDD;
|
2016-07-07 19:05:01 +00:00
|
|
|
|
|
|
|
.highlighter-rouge & {
|
|
|
|
background: #eef;
|
|
|
|
}
|
|
|
|
|
2018-10-23 14:38:45 +00:00
|
|
|
td.code > pre {
|
2021-01-20 14:27:52 +00:00
|
|
|
background: #222;
|
2016-07-07 19:05:01 +00:00
|
|
|
}
|
|
|
|
|
2018-10-23 14:38:45 +00:00
|
|
|
pre.lineno {
|
2021-01-20 14:27:52 +00:00
|
|
|
background: #111;
|
2018-10-23 14:38:45 +00:00
|
|
|
text-align: right;
|
2016-07-07 19:05:01 +00:00
|
|
|
}
|
|
|
|
|
2021-01-20 14:27:52 +00:00
|
|
|
.c { color: #777; font-style: italic } // Comment
|
2016-07-07 19:05:01 +00:00
|
|
|
.err { color: #a61717; background-color: #e3d2d2 } // Error
|
|
|
|
.k { font-weight: bold } // Keyword
|
|
|
|
.o { font-weight: bold } // Operator
|
|
|
|
.cm { color: #998; font-style: italic } // Comment.Multiline
|
|
|
|
.cp { color: #999; font-weight: bold } // Comment.Preproc
|
|
|
|
.c1 { color: #998; font-style: italic } // Comment.Single
|
|
|
|
.cs { color: #999; font-weight: bold; font-style: italic } // Comment.Special
|
|
|
|
.gd { color: #000; background-color: #fdd } // Generic.Deleted
|
|
|
|
.gd .x { color: #000; background-color: #faa } // Generic.Deleted.Specific
|
|
|
|
.ge { font-style: italic } // Generic.Emph
|
|
|
|
.gr { color: #a00 } // Generic.Error
|
|
|
|
.gh { color: #999 } // Generic.Heading
|
|
|
|
.gi { color: #000; background-color: #dfd } // Generic.Inserted
|
|
|
|
.gi .x { color: #000; background-color: #afa } // Generic.Inserted.Specific
|
|
|
|
.go { color: #888 } // Generic.Output
|
|
|
|
.gp { color: #555 } // Generic.Prompt
|
|
|
|
.gs { font-weight: bold } // Generic.Strong
|
|
|
|
.gu { color: #aaa } // Generic.Subheading
|
|
|
|
.gt { color: #a00 } // Generic.Traceback
|
|
|
|
.kc { font-weight: bold } // Keyword.Constant
|
|
|
|
.kd { font-weight: bold } // Keyword.Declaration
|
|
|
|
.kp { font-weight: bold } // Keyword.Pseudo
|
|
|
|
.kr { font-weight: bold } // Keyword.Reserved
|
|
|
|
.kt { color: #458; font-weight: bold } // Keyword.Type
|
|
|
|
.m { color: #099 } // Literal.Number
|
|
|
|
.s { color: #d14 } // Literal.String
|
|
|
|
.na { color: #008080 } // Name.Attribute
|
2018-10-23 14:38:45 +00:00
|
|
|
.nb { color: #00a6d3 } // Name.Builtin
|
2016-07-07 19:05:01 +00:00
|
|
|
.nc { color: #458; font-weight: bold } // Name.Class
|
|
|
|
.no { color: #008080 } // Name.Constant
|
|
|
|
.ni { color: #800080 } // Name.Entity
|
|
|
|
.ne { color: #900; font-weight: bold } // Name.Exception
|
|
|
|
.nf { color: #900; font-weight: bold } // Name.Function
|
|
|
|
.nn { color: #555 } // Name.Namespace
|
2018-10-23 14:38:45 +00:00
|
|
|
.nt { color: #0000d0 } // Name.Tag
|
2021-01-20 14:27:52 +00:00
|
|
|
.nv { color: #0BB } // Name.Variable
|
2016-07-07 19:05:01 +00:00
|
|
|
.ow { font-weight: bold } // Operator.Word
|
|
|
|
.w { color: #bbb } // Text.Whitespace
|
|
|
|
.mf { color: #099 } // Literal.Number.Float
|
|
|
|
.mh { color: #099 } // Literal.Number.Hex
|
|
|
|
.mi { color: #099 } // Literal.Number.Integer
|
|
|
|
.mo { color: #099 } // Literal.Number.Oct
|
2018-10-23 14:38:45 +00:00
|
|
|
.sb { color: #f54 } // Literal.String.Backtick
|
|
|
|
.sc { color: #f54 } // Literal.String.Char
|
|
|
|
.sd { color: #f54 } // Literal.String.Doc
|
|
|
|
.s2 { color: #f54 } // Literal.String.Double
|
|
|
|
.se { color: #f54 } // Literal.String.Escape
|
|
|
|
.sh { color: #f54 } // Literal.String.Heredoc
|
|
|
|
.si { color: #f54 } // Literal.String.Interpol
|
|
|
|
.sx { color: #f54 } // Literal.String.Other
|
2016-07-07 19:05:01 +00:00
|
|
|
.sr { color: #009926 } // Literal.String.Regex
|
2018-10-23 14:38:45 +00:00
|
|
|
.s1 { color: #f54 } // Literal.String.Single
|
2016-07-07 19:05:01 +00:00
|
|
|
.ss { color: #990073 } // Literal.String.Symbol
|
|
|
|
.bp { color: #999 } // Name.Builtin.Pseudo
|
|
|
|
.vc { color: #008080 } // Name.Variable.Class
|
|
|
|
.vg { color: #008080 } // Name.Variable.Global
|
|
|
|
.vi { color: #008080 } // Name.Variable.Instance
|
|
|
|
.il { color: #099 } // Literal.Number.Integer.Long
|
|
|
|
}
|