about summary refs log tree commit diff stats
path: root/static/css/syntax.css
diff options
context:
space:
mode:
authorAlan Pearce2018-06-07 13:40:21 +0200
committerAlan Pearce2018-06-07 13:40:21 +0200
commit956bf3a40be61da586bd5178a3868ca037eebbe8 (patch)
treed29e9072938ef2e4b8a709bed608ac01e1d2aa0e /static/css/syntax.css
parentb1354ef2ed206d65429b862874bfc4873c87393a (diff)
downloadwebsite-956bf3a40be61da586bd5178a3868ca037eebbe8.tar.lz
website-956bf3a40be61da586bd5178a3868ca037eebbe8.tar.zst
website-956bf3a40be61da586bd5178a3868ca037eebbe8.zip
Use new syntax highlighing theme
Diffstat (limited to 'static/css/syntax.css')
-rw-r--r--static/css/syntax.css117
1 files changed, 76 insertions, 41 deletions
diff --git a/static/css/syntax.css b/static/css/syntax.css
index 1e98d7e..23a21be 100644
--- a/static/css/syntax.css
+++ b/static/css/syntax.css
@@ -1,46 +1,81 @@
-/* Background */ .chroma { background-color: #ffffff }
-/* Error */ .chroma .err {  }
+/* Background */ .chroma { background-color: #f8f8f8 }
+/* Other */ .chroma .x { color: #000000 }
+/* Error */ .chroma .err { color: #a40000 }
 /* 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 }
+/* Keyword */ .chroma .k { color: #204a87; font-weight: bold }
+/* KeywordConstant */ .chroma .kc { color: #204a87; font-weight: bold }
+/* KeywordDeclaration */ .chroma .kd { color: #204a87; font-weight: bold }
+/* KeywordNamespace */ .chroma .kn { color: #204a87; font-weight: bold }
+/* KeywordPseudo */ .chroma .kp { color: #204a87; font-weight: bold }
+/* KeywordReserved */ .chroma .kr { color: #204a87; font-weight: bold }
+/* KeywordType */ .chroma .kt { color: #204a87; font-weight: bold }
+/* Name */ .chroma .n { color: #000000 }
+/* NameAttribute */ .chroma .na { color: #c4a000 }
+/* NameBuiltin */ .chroma .nb { color: #204a87 }
+/* NameBuiltinPseudo */ .chroma .bp { color: #3465a4 }
+/* NameClass */ .chroma .nc { color: #000000 }
+/* NameConstant */ .chroma .no { color: #000000 }
+/* NameDecorator */ .chroma .nd { color: #5c35cc; font-weight: bold }
+/* NameEntity */ .chroma .ni { color: #ce5c00 }
+/* NameException */ .chroma .ne { color: #cc0000; font-weight: bold }
+/* NameFunction */ .chroma .nf { color: #000000 }
+/* NameFunctionMagic */ .chroma .fm { color: #000000 }
+/* NameLabel */ .chroma .nl { color: #f57900 }
+/* NameNamespace */ .chroma .nn { color: #000000 }
+/* NameOther */ .chroma .nx { color: #000000 }
+/* NameProperty */ .chroma .py { color: #000000 }
+/* NameTag */ .chroma .nt { color: #204a87; font-weight: bold }
+/* NameVariable */ .chroma .nv { color: #000000 }
+/* NameVariableClass */ .chroma .vc { color: #000000 }
+/* NameVariableGlobal */ .chroma .vg { color: #000000 }
+/* NameVariableInstance */ .chroma .vi { color: #000000 }
+/* NameVariableMagic */ .chroma .vm { color: #000000 }
+/* Literal */ .chroma .l { color: #000000 }
+/* LiteralDate */ .chroma .ld { color: #000000 }
+/* LiteralString */ .chroma .s { color: #4e9a06 }
+/* LiteralStringAffix */ .chroma .sa { color: #4e9a06 }
+/* LiteralStringBacktick */ .chroma .sb { color: #4e9a06 }
+/* LiteralStringChar */ .chroma .sc { color: #4e9a06 }
+/* LiteralStringDelimiter */ .chroma .dl { color: #4e9a06 }
+/* LiteralStringDoc */ .chroma .sd { color: #8f5902; font-style: italic }
+/* LiteralStringDouble */ .chroma .s2 { color: #4e9a06 }
+/* LiteralStringEscape */ .chroma .se { color: #4e9a06 }
+/* LiteralStringHeredoc */ .chroma .sh { color: #4e9a06 }
+/* LiteralStringInterpol */ .chroma .si { color: #4e9a06 }
+/* LiteralStringOther */ .chroma .sx { color: #4e9a06 }
+/* LiteralStringRegex */ .chroma .sr { color: #4e9a06 }
+/* LiteralStringSingle */ .chroma .s1 { color: #4e9a06 }
+/* LiteralStringSymbol */ .chroma .ss { color: #4e9a06 }
+/* LiteralNumber */ .chroma .m { color: #0000cf; font-weight: bold }
+/* LiteralNumberBin */ .chroma .mb { color: #0000cf; font-weight: bold }
+/* LiteralNumberFloat */ .chroma .mf { color: #0000cf; font-weight: bold }
+/* LiteralNumberHex */ .chroma .mh { color: #0000cf; font-weight: bold }
+/* LiteralNumberInteger */ .chroma .mi { color: #0000cf; font-weight: bold }
+/* LiteralNumberIntegerLong */ .chroma .il { color: #0000cf; font-weight: bold }
+/* LiteralNumberOct */ .chroma .mo { color: #0000cf; font-weight: bold }
+/* Operator */ .chroma .o { color: #ce5c00; font-weight: bold }
+/* OperatorWord */ .chroma .ow { color: #204a87; font-weight: bold }
+/* Punctuation */ .chroma .p { color: #000000; font-weight: bold }
+/* Comment */ .chroma .c { color: #8f5902; font-style: italic }
+/* CommentHashbang */ .chroma .ch { color: #8f5902; font-style: italic }
+/* CommentMultiline */ .chroma .cm { color: #8f5902; font-style: italic }
+/* CommentSingle */ .chroma .c1 { color: #8f5902; font-style: italic }
+/* CommentSpecial */ .chroma .cs { color: #8f5902; font-style: italic }
+/* CommentPreproc */ .chroma .cp { color: #8f5902; font-style: italic }
+/* CommentPreprocFile */ .chroma .cpf { color: #8f5902; font-style: italic }
+/* Generic */ .chroma .g { color: #000000 }
+/* GenericDeleted */ .chroma .gd { color: #a40000 }
+/* GenericEmph */ .chroma .ge { color: #000000; font-style: italic }
+/* GenericError */ .chroma .gr { color: #ef2929 }
+/* GenericHeading */ .chroma .gh { color: #000080; font-weight: bold }
+/* GenericInserted */ .chroma .gi { color: #00a000 }
+/* GenericOutput */ .chroma .go { color: #000000; font-style: italic }
+/* GenericPrompt */ .chroma .gp { color: #8f5902 }
+/* GenericStrong */ .chroma .gs { color: #000000; font-weight: bold }
+/* GenericSubheading */ .chroma .gu { color: #800080; font-weight: bold }
+/* GenericTraceback */ .chroma .gt { color: #a40000; font-weight: bold }
+/* TextWhitespace */ .chroma .w { color: #f8f8f8 }