Updated syntax highlighter.

This commit is contained in:
Cotes Chung 2020-01-03 20:18:19 +08:00
parent 9495596f49
commit 1c2be0c243

View file

@ -8,67 +8,69 @@
* MIT Licensed * MIT Licensed
*/ */
.highlight .hll { background-color: #ffc; } /* https://raw.githubusercontent.com/jwarby/pygments-css/master/github.css */
.highlight .c { color: #999; } /* Comment */ .highlight .hll { background-color: #ffffcc }
.highlight .err { color: #a00; background-color: #faa } /* Error */ .highlight .c { color: #999988; font-style: italic } /* Comment */
.highlight .k { color: #069; } /* Keyword */ .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
.highlight .o { color: #555 } /* Operator */ .highlight .k { color: #000000; font-weight: bold } /* Keyword */
.highlight .cm { color: #09f; font-style: italic } /* Comment.Multiline */ .highlight .o { color: #000000; font-weight: bold } /* Operator */
.highlight .cp { color: #099 } /* Comment.Preproc */ .highlight .cm { color: #999988; font-style: italic } /* Comment.Multiline */
.highlight .c1 { color: #999; } /* Comment.Single */ .highlight .cp { color: #999999; font-weight: bold; font-style: italic } /* Comment.Preproc */
.highlight .cs { color: #999; } /* Comment.Special */ .highlight .c1 { color: #999988; font-style: italic } /* Comment.Single */
.highlight .gd { background-color: #fcc; border: 1px solid #c00 } /* Generic.Deleted */ .highlight .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
.highlight .ge { font-style: italic } /* Generic.Emph */ .highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
.highlight .gr { color: #f00 } /* Generic.Error */ .highlight .ge { color: #000000; font-style: italic } /* Generic.Emph */
.highlight .gh { color: #030; } /* Generic.Heading */ .highlight .gr { color: #aa0000 } /* Generic.Error */
.highlight .gi { background-color: #cfc; border: 1px solid #0c0 } /* Generic.Inserted */ .highlight .gh { color: #999999 } /* Generic.Heading */
.highlight .go { color: #aaa } /* Generic.Output */ .highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
.highlight .gp { color: #009; } /* Generic.Prompt */ .highlight .go { color: #888888 } /* Generic.Output */
.highlight .gs { } /* Generic.Strong */ .highlight .gp { color: #555555 } /* Generic.Prompt */
.highlight .gu { color: #030; } /* Generic.Subheading */ .highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gt { color: #9c6 } /* Generic.Traceback */ .highlight .gu { color: #aaaaaa } /* Generic.Subheading */
.highlight .kc { color: #069; } /* Keyword.Constant */ .highlight .gt { color: #aa0000 } /* Generic.Traceback */
.highlight .kd { color: #069; } /* Keyword.Declaration */ .highlight .kc { color: #000000; font-weight: bold } /* Keyword.Constant */
.highlight .kn { color: #069; } /* Keyword.Namespace */ .highlight .kd { color: #000000; font-weight: bold } /* Keyword.Declaration */
.highlight .kp { color: #069 } /* Keyword.Pseudo */ .highlight .kn { color: #000000; font-weight: bold } /* Keyword.Namespace */
.highlight .kr { color: #069; } /* Keyword.Reserved */ .highlight .kp { color: #000000; font-weight: bold } /* Keyword.Pseudo */
.highlight .kt { color: #078; } /* Keyword.Type */ .highlight .kr { color: #000000; font-weight: bold } /* Keyword.Reserved */
.highlight .m { color: #f60 } /* Literal.Number */ .highlight .kt { color: #445588; font-weight: bold } /* Keyword.Type */
.highlight .s { color: #d44950 } /* Literal.String */ .highlight .m { color: #009999 } /* Literal.Number */
.highlight .na { color: #4f9fcf } /* Name.Attribute */ .highlight .s { color: #d01040 } /* Literal.String */
.highlight .nb { color: #366 } /* Name.Builtin */ .highlight .na { color: #008080 } /* Name.Attribute */
.highlight .nc { color: #0a8; } /* Name.Class */ .highlight .nb { color: #0086B3 } /* Name.Builtin */
.highlight .no { color: #360 } /* Name.Constant */ .highlight .nc { color: #445588; font-weight: bold } /* Name.Class */
.highlight .nd { color: #99f } /* Name.Decorator */ .highlight .no { color: #008080 } /* Name.Constant */
.highlight .ni { color: #999; } /* Name.Entity */ .highlight .nd { color: #3c5d5d; font-weight: bold } /* Name.Decorator */
.highlight .ne { color: #c00; } /* Name.Exception */ .highlight .ni { color: #800080 } /* Name.Entity */
.highlight .nf { color: #c0f } /* Name.Function */ .highlight .ne { color: #990000; font-weight: bold } /* Name.Exception */
.highlight .nl { color: #99f } /* Name.Label */ .highlight .nf { color: #990000; font-weight: bold } /* Name.Function */
.highlight .nn { color: #0cf; } /* Name.Namespace */ .highlight .nl { color: #990000; font-weight: bold } /* Name.Label */
.highlight .nt { color: #2f6f9f; } /* Name.Tag */ .highlight .nn { color: #555555 } /* Name.Namespace */
.highlight .nv { color: #033 } /* Name.Variable */ .highlight .nt { color: #000080 } /* Name.Tag */
.highlight .ow { color: #000; } /* Operator.Word */ .highlight .nv { color: #008080 } /* Name.Variable */
.highlight .w { color: #bbb } /* Text.Whitespace */ .highlight .ow { color: #000000; font-weight: bold } /* Operator.Word */
.highlight .mf { color: #f60 } /* Literal.Number.Float */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */
.highlight .mh { color: #f60 } /* Literal.Number.Hex */ .highlight .mf { color: #009999 } /* Literal.Number.Float */
.highlight .mi { color: #f60 } /* Literal.Number.Integer */ .highlight .mh { color: #009999 } /* Literal.Number.Hex */
.highlight .mo { color: #f60 } /* Literal.Number.Oct */ .highlight .mi { color: #009999 } /* Literal.Number.Integer */
.highlight .sb { color: #c30 } /* Literal.String.Backtick */ .highlight .mo { color: #009999 } /* Literal.Number.Oct */
.highlight .sc { color: #c30 } /* Literal.String.Char */ .highlight .sb { color: #d01040 } /* Literal.String.Backtick */
.highlight .sd { color: #c30; font-style: italic } /* Literal.String.Doc */ .highlight .sc { color: #d01040 } /* Literal.String.Char */
.highlight .s2 { color: #c30 } /* Literal.String.Double */ .highlight .sd { color: #d01040 } /* Literal.String.Doc */
.highlight .se { color: #c30; } /* Literal.String.Escape */ .highlight .s2 { color: #d01040 } /* Literal.String.Double */
.highlight .sh { color: #c30 } /* Literal.String.Heredoc */ .highlight .se { color: #d01040 } /* Literal.String.Escape */
.highlight .si { color: #a00 } /* Literal.String.Interpol */ .highlight .sh { color: #d01040 } /* Literal.String.Heredoc */
.highlight .sx { color: #c30 } /* Literal.String.Other */ .highlight .si { color: #d01040 } /* Literal.String.Interpol */
.highlight .sr { color: #3aa } /* Literal.String.Regex */ .highlight .sx { color: #d01040 } /* Literal.String.Other */
.highlight .s1 { color: #c30 } /* Literal.String.Single */ .highlight .sr { color: #009926 } /* Literal.String.Regex */
.highlight .ss { color: #fc3 } /* Literal.String.Symbol */ .highlight .s1 { color: #d01040 } /* Literal.String.Single */
.highlight .bp { color: #366 } /* Name.Builtin.Pseudo */ .highlight .ss { color: #990073 } /* Literal.String.Symbol */
.highlight .vc { color: #033 } /* Name.Variable.Class */ .highlight .bp { color: #999999 } /* Name.Builtin.Pseudo */
.highlight .vg { color: #033 } /* Name.Variable.Global */ .highlight .vc { color: #008080 } /* Name.Variable.Class */
.highlight .vi { color: #033 } /* Name.Variable.Instance */ .highlight .vg { color: #008080 } /* Name.Variable.Global */
.highlight .il { color: #f60 } /* Literal.Number.Integer.Long */ .highlight .vi { color: #008080 } /* Name.Variable.Instance */
.highlight .il { color: #009999 } /* Literal.Number.Integer.Long */
/*-- Codes Snippet --*/ /*-- Codes Snippet --*/