From b1354ef2ed206d65429b862874bfc4873c87393a Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 7 Jun 2018 13:37:38 +0200 Subject: Use new syntax highlighing theme --- static/css/syntax.css | 115 ++++++++++++++++++++------------------------------ 1 file changed, 46 insertions(+), 69 deletions(-) diff --git a/static/css/syntax.css b/static/css/syntax.css index a48dea9..1e98d7e 100644 --- a/static/css/syntax.css +++ b/static/css/syntax.css @@ -1,69 +1,46 @@ -.hll { background-color: #ffffcc } -.c { color: #93a1a1; font-style: italic } /* Comment */ -.err { color: #dc322f } /* Error */ -.g { color: #657b83 } /* Generic */ -.k { color: #859900 } /* Keyword */ -.l { color: #657b83 } /* Literal */ -.n { color: #586e75 } /* Name */ -.o { color: #657b83 } /* Operator */ -.x { color: #657b83 } /* Other */ -.p { color: #657b83 } /* Punctuation */ -.cm { color: #93a1a1; font-style: italic } /* Comment.Multiline */ -.cp { color: #93a1a1; font-style: italic } /* Comment.Preproc */ -.c1 { color: #93a1a1; font-style: italic } /* Comment.Single */ -.cs { color: #93a1a1; font-style: italic } /* Comment.Special */ -.gd { color: #657b83 } /* Generic.Deleted */ -.ge { color: #657b83 } /* Generic.Emph */ -.gr { color: #657b83 } /* Generic.Error */ -.gh { color: #657b83 } /* Generic.Heading */ -.gi { color: #657b83 } /* Generic.Inserted */ -.go { color: #657b83 } /* Generic.Output */ -.gp { color: #657b83 } /* Generic.Prompt */ -.gs { color: #657b83 } /* Generic.Strong */ -.gu { color: #657b83 } /* Generic.Subheading */ -.gt { color: #657b83 } /* Generic.Traceback */ -.kc { color: #859900 } /* Keyword.Constant */ -.kd { color: #859900 } /* Keyword.Declaration */ -.kn { color: #cb4b16 } /* Keyword.Namespace */ -.kp { color: #cb4b16 } /* Keyword.Pseudo */ -.kr { color: #859900 } /* Keyword.Reserved */ -.kt { color: #859900 } /* Keyword.Type */ -.ld { color: #657b83 } /* Literal.Date */ -.m { color: #2aa198 } /* Literal.Number */ -.s { color: #2aa198 } /* Literal.String */ -.na { color: #657b83 } /* Name.Attribute */ -.nb { color: #268bd2 } /* Name.Builtin */ -.nc { color: #268bd2 } /* Name.Class */ -.no { color: #b58900 } /* Name.Constant */ -.nd { color: #cb4b16 } /* Name.Decorator */ -.ni { color: #cb4b16 } /* Name.Entity */ -.ne { color: #cb4b16 } /* Name.Exception */ -.nf { color: #268bd2 } /* Name.Function */ -.nl { color: #657b83 } /* Name.Label */ -.nn { color: #b58900 } /* Name.Namespace */ -.nx { color: #657b83 } /* Name.Other */ -.py { color: #268bd2 } /* Name.Property */ -.nt { color: #859900 } /* Name.Tag */ -.nv { color: #cb4b16 } /* Name.Variable */ -.ow { color: #859900 } /* Operator.Word */ -.w { color: #fdf6e3 } /* 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: #2aa198 } /* Literal.String.Backtick */ -.sc { color: #2aa198 } /* Literal.String.Char */ -.sd { color: #2aa198 } /* Literal.String.Doc */ -.s2 { color: #2aa198 } /* Literal.String.Double */ -.se { color: #cb4b16 } /* Literal.String.Escape */ -.sh { color: #2aa198 } /* Literal.String.Heredoc */ -.si { color: #cb4b16 } /* Literal.String.Interpol */ -.sx { color: #2aa198 } /* Literal.String.Other */ -.sr { color: #2aa198 } /* Literal.String.Regex */ -.s1 { color: #2aa198 } /* Literal.String.Single */ -.ss { color: #2aa198 } /* Literal.String.Symbol */ -.bp { color: #268bd2; font-weight: bold } /* 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 */ +/* Background */ .chroma { background-color: #ffffff } +/* Error */ .chroma .err { } +/* LineTableTD */ .chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; } +/* LineTable */ .chroma .lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; width: auto; overflow: auto; display: block; } +/* LineHighlight */ .chroma .hl { display: block; width: 100%;background-color: #ffffcc } +/* LineNumbersTable */ .chroma .lnt { margin-right: 0.4em; padding: 0 0.4em 0 0.4em; display: block; } +/* LineNumbers */ .chroma .ln { margin-right: 0.4em; padding: 0 0.4em 0 0.4em; } +/* Keyword */ .chroma .k { font-weight: bold } +/* KeywordConstant */ .chroma .kc { font-weight: bold } +/* KeywordDeclaration */ .chroma .kd { font-weight: bold } +/* KeywordNamespace */ .chroma .kn { font-weight: bold } +/* KeywordPseudo */ .chroma .kp { } +/* KeywordReserved */ .chroma .kr { font-weight: bold } +/* KeywordType */ .chroma .kt { } +/* NameClass */ .chroma .nc { font-weight: bold } +/* NameEntity */ .chroma .ni { font-weight: bold } +/* NameException */ .chroma .ne { font-weight: bold } +/* NameNamespace */ .chroma .nn { font-weight: bold } +/* NameTag */ .chroma .nt { font-weight: bold } +/* LiteralString */ .chroma .s { font-style: italic } +/* LiteralStringAffix */ .chroma .sa { font-style: italic } +/* LiteralStringBacktick */ .chroma .sb { font-style: italic } +/* LiteralStringChar */ .chroma .sc { font-style: italic } +/* LiteralStringDelimiter */ .chroma .dl { font-style: italic } +/* LiteralStringDoc */ .chroma .sd { font-style: italic } +/* LiteralStringDouble */ .chroma .s2 { font-style: italic } +/* LiteralStringEscape */ .chroma .se { font-weight: bold; font-style: italic } +/* LiteralStringHeredoc */ .chroma .sh { font-style: italic } +/* LiteralStringInterpol */ .chroma .si { font-weight: bold; font-style: italic } +/* LiteralStringOther */ .chroma .sx { font-style: italic } +/* LiteralStringRegex */ .chroma .sr { font-style: italic } +/* LiteralStringSingle */ .chroma .s1 { font-style: italic } +/* LiteralStringSymbol */ .chroma .ss { font-style: italic } +/* OperatorWord */ .chroma .ow { font-weight: bold } +/* Comment */ .chroma .c { font-style: italic } +/* CommentHashbang */ .chroma .ch { font-style: italic } +/* CommentMultiline */ .chroma .cm { font-style: italic } +/* CommentSingle */ .chroma .c1 { font-style: italic } +/* CommentSpecial */ .chroma .cs { font-style: italic } +/* CommentPreproc */ .chroma .cp { } +/* CommentPreprocFile */ .chroma .cpf { } +/* GenericEmph */ .chroma .ge { font-style: italic } +/* GenericHeading */ .chroma .gh { font-weight: bold } +/* GenericPrompt */ .chroma .gp { font-weight: bold } +/* GenericStrong */ .chroma .gs { font-weight: bold } +/* GenericSubheading */ .chroma .gu { font-weight: bold } -- cgit 1.4.1