mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SyntaxHighlight_GeSHi
synced 2024-11-15 18:49:22 +00:00
db681d158b
Notable changes:
* Added new token types and lexing for magic methods and variables in
Python and PHP.
* Added a new token type for heredoc (and similar) string delimiters and
lexing for them in C++, Perl, PHP, Postgresql and Ruby lexers.
* Improved the CSS lexer.
* Added Varnish config lexer
Full changelog is found at:
<bc45808f83/CHANGES
>
Bug: T156573
Change-Id: I4dc1782f19881ba1294308e1cdea1b2e063f438a
71 lines
4.5 KiB
CSS
71 lines
4.5 KiB
CSS
/* Stylesheet generated by updateCSS.php */
|
|
.mw-highlight .hll { background-color: #ffffcc }
|
|
.mw-highlight { background: #f8f8f8; }
|
|
.mw-highlight .c { color: #408080; font-style: italic } /* Comment */
|
|
.mw-highlight .err { border: 1px solid #FF0000 } /* Error */
|
|
.mw-highlight .k { color: #008000; font-weight: bold } /* Keyword */
|
|
.mw-highlight .o { color: #666666 } /* Operator */
|
|
.mw-highlight .ch { color: #408080; font-style: italic } /* Comment.Hashbang */
|
|
.mw-highlight .cm { color: #408080; font-style: italic } /* Comment.Multiline */
|
|
.mw-highlight .cp { color: #BC7A00 } /* Comment.Preproc */
|
|
.mw-highlight .cpf { color: #408080; font-style: italic } /* Comment.PreprocFile */
|
|
.mw-highlight .c1 { color: #408080; font-style: italic } /* Comment.Single */
|
|
.mw-highlight .cs { color: #408080; font-style: italic } /* Comment.Special */
|
|
.mw-highlight .gd { color: #A00000 } /* Generic.Deleted */
|
|
.mw-highlight .ge { font-style: italic } /* Generic.Emph */
|
|
.mw-highlight .gr { color: #FF0000 } /* Generic.Error */
|
|
.mw-highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
|
|
.mw-highlight .gi { color: #00A000 } /* Generic.Inserted */
|
|
.mw-highlight .go { color: #888888 } /* Generic.Output */
|
|
.mw-highlight .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
|
|
.mw-highlight .gs { font-weight: bold } /* Generic.Strong */
|
|
.mw-highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
|
|
.mw-highlight .gt { color: #0044DD } /* Generic.Traceback */
|
|
.mw-highlight .kc { color: #008000; font-weight: bold } /* Keyword.Constant */
|
|
.mw-highlight .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
|
|
.mw-highlight .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
|
|
.mw-highlight .kp { color: #008000 } /* Keyword.Pseudo */
|
|
.mw-highlight .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
|
|
.mw-highlight .kt { color: #B00040 } /* Keyword.Type */
|
|
.mw-highlight .m { color: #666666 } /* Literal.Number */
|
|
.mw-highlight .s { color: #BA2121 } /* Literal.String */
|
|
.mw-highlight .na { color: #7D9029 } /* Name.Attribute */
|
|
.mw-highlight .nb { color: #008000 } /* Name.Builtin */
|
|
.mw-highlight .nc { color: #0000FF; font-weight: bold } /* Name.Class */
|
|
.mw-highlight .no { color: #880000 } /* Name.Constant */
|
|
.mw-highlight .nd { color: #AA22FF } /* Name.Decorator */
|
|
.mw-highlight .ni { color: #999999; font-weight: bold } /* Name.Entity */
|
|
.mw-highlight .ne { color: #D2413A; font-weight: bold } /* Name.Exception */
|
|
.mw-highlight .nf { color: #0000FF } /* Name.Function */
|
|
.mw-highlight .nl { color: #A0A000 } /* Name.Label */
|
|
.mw-highlight .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
|
|
.mw-highlight .nt { color: #008000; font-weight: bold } /* Name.Tag */
|
|
.mw-highlight .nv { color: #19177C } /* Name.Variable */
|
|
.mw-highlight .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
|
|
.mw-highlight .w { color: #bbbbbb } /* Text.Whitespace */
|
|
.mw-highlight .mb { color: #666666 } /* Literal.Number.Bin */
|
|
.mw-highlight .mf { color: #666666 } /* Literal.Number.Float */
|
|
.mw-highlight .mh { color: #666666 } /* Literal.Number.Hex */
|
|
.mw-highlight .mi { color: #666666 } /* Literal.Number.Integer */
|
|
.mw-highlight .mo { color: #666666 } /* Literal.Number.Oct */
|
|
.mw-highlight .sa { color: #BA2121 } /* Literal.String.Affix */
|
|
.mw-highlight .sb { color: #BA2121 } /* Literal.String.Backtick */
|
|
.mw-highlight .sc { color: #BA2121 } /* Literal.String.Char */
|
|
.mw-highlight .dl { color: #BA2121 } /* Literal.String.Delimiter */
|
|
.mw-highlight .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
|
|
.mw-highlight .s2 { color: #BA2121 } /* Literal.String.Double */
|
|
.mw-highlight .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */
|
|
.mw-highlight .sh { color: #BA2121 } /* Literal.String.Heredoc */
|
|
.mw-highlight .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */
|
|
.mw-highlight .sx { color: #008000 } /* Literal.String.Other */
|
|
.mw-highlight .sr { color: #BB6688 } /* Literal.String.Regex */
|
|
.mw-highlight .s1 { color: #BA2121 } /* Literal.String.Single */
|
|
.mw-highlight .ss { color: #19177C } /* Literal.String.Symbol */
|
|
.mw-highlight .bp { color: #008000 } /* Name.Builtin.Pseudo */
|
|
.mw-highlight .fm { color: #0000FF } /* Name.Function.Magic */
|
|
.mw-highlight .vc { color: #19177C } /* Name.Variable.Class */
|
|
.mw-highlight .vg { color: #19177C } /* Name.Variable.Global */
|
|
.mw-highlight .vi { color: #19177C } /* Name.Variable.Instance */
|
|
.mw-highlight .vm { color: #19177C } /* Name.Variable.Magic */
|
|
.mw-highlight .il { color: #666666 } /* Literal.Number.Integer.Long */
|