This repository has been archived on 2023-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
python-blog/articles/static/codehilite.css

120 lines
7.7 KiB
CSS
Raw Normal View History

@media(prefers-color-scheme: light) {
.codehilite .hll { background-color: #ffffcc }
.codehilite { background: #ffffff; }
.codehilite .c { color: #aaaaaa; font-style: italic } /* Comment */
.codehilite .err { color: #FF0000; background-color: #FFAAAA } /* Error */
.codehilite .k { color: #0000aa } /* Keyword */
.codehilite .ch { color: #aaaaaa; font-style: italic } /* Comment.Hashbang */
.codehilite .cm { color: #aaaaaa; font-style: italic } /* Comment.Multiline */
.codehilite .cp { color: #4c8317 } /* Comment.Preproc */
.codehilite .cpf { color: #aaaaaa; font-style: italic } /* Comment.PreprocFile */
.codehilite .c1 { color: #aaaaaa; font-style: italic } /* Comment.Single */
.codehilite .cs { color: #0000aa; font-style: italic } /* Comment.Special */
.codehilite .gd { color: #aa0000 } /* Generic.Deleted */
.codehilite .ge { font-style: italic } /* Generic.Emph */
.codehilite .gr { color: #aa0000 } /* Generic.Error */
.codehilite .gh { color: #000080; font-weight: bold } /* Generic.Heading */
.codehilite .gi { color: #00aa00 } /* Generic.Inserted */
.codehilite .go { color: #888888 } /* Generic.Output */
.codehilite .gp { color: #555555 } /* Generic.Prompt */
.codehilite .gs { font-weight: bold } /* Generic.Strong */
.codehilite .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
.codehilite .gt { color: #aa0000 } /* Generic.Traceback */
.codehilite .kc { color: #0000aa } /* Keyword.Constant */
.codehilite .kd { color: #0000aa } /* Keyword.Declaration */
.codehilite .kn { color: #0000aa } /* Keyword.Namespace */
.codehilite .kp { color: #0000aa } /* Keyword.Pseudo */
.codehilite .kr { color: #0000aa } /* Keyword.Reserved */
.codehilite .kt { color: #00aaaa } /* Keyword.Type */
.codehilite .m { color: #009999 } /* Literal.Number */
.codehilite .s { color: #aa5500 } /* Literal.String */
.codehilite .na { color: #1e90ff } /* Name.Attribute */
.codehilite .nb { color: #00aaaa } /* Name.Builtin */
.codehilite .nc { color: #00aa00; text-decoration: underline } /* Name.Class */
.codehilite .no { color: #aa0000 } /* Name.Constant */
.codehilite .nd { color: #888888 } /* Name.Decorator */
.codehilite .ni { color: #880000; font-weight: bold } /* Name.Entity */
.codehilite .nf { color: #00aa00 } /* Name.Function */
.codehilite .nn { color: #00aaaa; text-decoration: underline } /* Name.Namespace */
.codehilite .nt { color: #1e90ff; font-weight: bold } /* Name.Tag */
.codehilite .nv { color: #aa0000 } /* Name.Variable */
.codehilite .ow { color: #0000aa } /* Operator.Word */
.codehilite .w { color: #bbbbbb } /* Text.Whitespace */
.codehilite .mb { color: #009999 } /* Literal.Number.Bin */
.codehilite .mf { color: #009999 } /* Literal.Number.Float */
.codehilite .mh { color: #009999 } /* Literal.Number.Hex */
.codehilite .mi { color: #009999 } /* Literal.Number.Integer */
.codehilite .mo { color: #009999 } /* Literal.Number.Oct */
.codehilite .sa { color: #aa5500 } /* Literal.String.Affix */
.codehilite .sb { color: #aa5500 } /* Literal.String.Backtick */
.codehilite .sc { color: #aa5500 } /* Literal.String.Char */
.codehilite .dl { color: #aa5500 } /* Literal.String.Delimiter */
.codehilite .sd { color: #aa5500 } /* Literal.String.Doc */
.codehilite .s2 { color: #aa5500 } /* Literal.String.Double */
.codehilite .se { color: #aa5500 } /* Literal.String.Escape */
.codehilite .sh { color: #aa5500 } /* Literal.String.Heredoc */
.codehilite .si { color: #aa5500 } /* Literal.String.Interpol */
.codehilite .sx { color: #aa5500 } /* Literal.String.Other */
.codehilite .sr { color: #009999 } /* Literal.String.Regex */
.codehilite .s1 { color: #aa5500 } /* Literal.String.Single */
.codehilite .ss { color: #0000aa } /* Literal.String.Symbol */
.codehilite .bp { color: #00aaaa } /* Name.Builtin.Pseudo */
.codehilite .fm { color: #00aa00 } /* Name.Function.Magic */
.codehilite .vc { color: #aa0000 } /* Name.Variable.Class */
.codehilite .vg { color: #aa0000 } /* Name.Variable.Global */
.codehilite .vi { color: #aa0000 } /* Name.Variable.Instance */
.codehilite .vm { color: #aa0000 } /* Name.Variable.Magic */
.codehilite .il { color: #009999 } /* Literal.Number.Integer.Long */
}
@media(prefers-color-scheme: dark) {
.codehilite .hll { background-color: #49483e }
.codehilite { background: #232629; color: #cccccc }
.codehilite .c { color: #777777; font-style: italic } /* Comment */
.codehilite .err { color: #a61717; background-color: #e3d2d2 } /* Error */
.codehilite .k { color: #7686bb; font-weight: bold } /* Keyword */
.codehilite .ch { color: #777777; font-style: italic } /* Comment.Hashbang */
.codehilite .cm { color: #777777; font-style: italic } /* Comment.Multiline */
.codehilite .cp { color: #777777; font-style: italic } /* Comment.Preproc */
.codehilite .cpf { color: #777777; font-style: italic } /* Comment.PreprocFile */
.codehilite .c1 { color: #777777; font-style: italic } /* Comment.Single */
.codehilite .cs { color: #777777; font-style: italic } /* Comment.Special */
.codehilite .gp { color: #ffffff } /* Generic.Prompt */
.codehilite .kc { color: #7686bb; font-weight: bold } /* Keyword.Constant */
.codehilite .kd { color: #7686bb; font-weight: bold } /* Keyword.Declaration */
.codehilite .kn { color: #7686bb; font-weight: bold } /* Keyword.Namespace */
.codehilite .kp { color: #7686bb; font-weight: bold } /* Keyword.Pseudo */
.codehilite .kr { color: #7686bb; font-weight: bold } /* Keyword.Reserved */
.codehilite .kt { color: #7686bb; font-weight: bold } /* Keyword.Type */
.codehilite .m { color: #4FB8CC } /* Literal.Number */
.codehilite .s { color: #51cc99 } /* Literal.String */
.codehilite .nf { color: #6a6aff } /* Name.Function */
.codehilite .nx { color: #e2828e } /* Name.Other */
.codehilite .nv { color: #7AB4DB; font-weight: bold } /* Name.Variable */
.codehilite .w { color: #bbbbbb } /* Text.Whitespace */
.codehilite .mb { color: #4FB8CC } /* Literal.Number.Bin */
.codehilite .mf { color: #4FB8CC } /* Literal.Number.Float */
.codehilite .mh { color: #4FB8CC } /* Literal.Number.Hex */
.codehilite .mi { color: #4FB8CC } /* Literal.Number.Integer */
.codehilite .mo { color: #4FB8CC } /* Literal.Number.Oct */
.codehilite .sa { color: #51cc99 } /* Literal.String.Affix */
.codehilite .sb { color: #51cc99 } /* Literal.String.Backtick */
.codehilite .sc { color: #51cc99 } /* Literal.String.Char */
.codehilite .dl { color: #51cc99 } /* Literal.String.Delimiter */
.codehilite .sd { color: #51cc99 } /* Literal.String.Doc */
.codehilite .s2 { color: #51cc99 } /* Literal.String.Double */
.codehilite .se { color: #51cc99 } /* Literal.String.Escape */
.codehilite .sh { color: #51cc99 } /* Literal.String.Heredoc */
.codehilite .si { color: #51cc99 } /* Literal.String.Interpol */
.codehilite .sx { color: #51cc99 } /* Literal.String.Other */
.codehilite .sr { color: #51cc99 } /* Literal.String.Regex */
.codehilite .s1 { color: #51cc99 } /* Literal.String.Single */
.codehilite .ss { color: #51cc99 } /* Literal.String.Symbol */
.codehilite .fm { color: #6a6aff } /* Name.Function.Magic */
.codehilite .vc { color: #7AB4DB; font-weight: bold } /* Name.Variable.Class */
.codehilite .vg { color: #BE646C; font-weight: bold } /* Name.Variable.Global */
.codehilite .vi { color: #7AB4DB; font-weight: bold } /* Name.Variable.Instance */
.codehilite .vm { color: #7AB4DB; font-weight: bold } /* Name.Variable.Magic */
.codehilite .il { color: #4FB8CC } /* Literal.Number.Integer.Long */
}