From 70a9c2ae3826a81e64e10fd71a261cc8cc7b1a18 Mon Sep 17 00:00:00 2001 From: Ceda EI Date: Fri, 9 Oct 2020 23:49:00 +0530 Subject: [PATCH] Change codeblock theme to Tomorrow --- themes/paperesque/static/css/style.css | 4 +- themes/paperesque/static/css/syntax.css | 133 +++++++++++++----------- 2 files changed, 76 insertions(+), 61 deletions(-) diff --git a/themes/paperesque/static/css/style.css b/themes/paperesque/static/css/style.css index dffe0d0..06808d5 100644 --- a/themes/paperesque/static/css/style.css +++ b/themes/paperesque/static/css/style.css @@ -31,8 +31,8 @@ pre { box-shadow: 0 5px 5px -5px #777777; max-width: 100%; /* These two copied from chroma theme (syntax.css) */ - color: #f8f8f2; - background-color: #272822; + color: #4d4d4c; + background-color: #ffffff; } pre, diff --git a/themes/paperesque/static/css/syntax.css b/themes/paperesque/static/css/syntax.css index 350286e..6b18ee8 100644 --- a/themes/paperesque/static/css/syntax.css +++ b/themes/paperesque/static/css/syntax.css @@ -1,59 +1,74 @@ -/* Background */ .chroma { color: #f8f8f2; background-color: #272822 } -/* Error */ .chroma .err { color: #960050; background-color: #1e0010 } -/* 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;color: #7f7f7f } -/* LineNumbers */ .chroma .ln { margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f } -/* Keyword */ .chroma .k { color: #66d9ef } -/* KeywordConstant */ .chroma .kc { color: #66d9ef } -/* KeywordDeclaration */ .chroma .kd { color: #66d9ef } -/* KeywordNamespace */ .chroma .kn { color: #f92672 } -/* KeywordPseudo */ .chroma .kp { color: #66d9ef } -/* KeywordReserved */ .chroma .kr { color: #66d9ef } -/* KeywordType */ .chroma .kt { color: #66d9ef } -/* NameAttribute */ .chroma .na { color: #a6e22e } -/* NameClass */ .chroma .nc { color: #a6e22e } -/* NameConstant */ .chroma .no { color: #66d9ef } -/* NameDecorator */ .chroma .nd { color: #a6e22e } -/* NameException */ .chroma .ne { color: #a6e22e } -/* NameFunction */ .chroma .nf { color: #a6e22e } -/* NameOther */ .chroma .nx { color: #a6e22e } -/* NameTag */ .chroma .nt { color: #f92672 } -/* Literal */ .chroma .l { color: #ae81ff } -/* LiteralDate */ .chroma .ld { color: #e6db74 } -/* LiteralString */ .chroma .s { color: #e6db74 } -/* LiteralStringAffix */ .chroma .sa { color: #e6db74 } -/* LiteralStringBacktick */ .chroma .sb { color: #e6db74 } -/* LiteralStringChar */ .chroma .sc { color: #e6db74 } -/* LiteralStringDelimiter */ .chroma .dl { color: #e6db74 } -/* LiteralStringDoc */ .chroma .sd { color: #e6db74 } -/* LiteralStringDouble */ .chroma .s2 { color: #e6db74 } -/* LiteralStringEscape */ .chroma .se { color: #ae81ff } -/* LiteralStringHeredoc */ .chroma .sh { color: #e6db74 } -/* LiteralStringInterpol */ .chroma .si { color: #e6db74 } -/* LiteralStringOther */ .chroma .sx { color: #e6db74 } -/* LiteralStringRegex */ .chroma .sr { color: #e6db74 } -/* LiteralStringSingle */ .chroma .s1 { color: #e6db74 } -/* LiteralStringSymbol */ .chroma .ss { color: #e6db74 } -/* LiteralNumber */ .chroma .m { color: #ae81ff } -/* LiteralNumberBin */ .chroma .mb { color: #ae81ff } -/* LiteralNumberFloat */ .chroma .mf { color: #ae81ff } -/* LiteralNumberHex */ .chroma .mh { color: #ae81ff } -/* LiteralNumberInteger */ .chroma .mi { color: #ae81ff } -/* LiteralNumberIntegerLong */ .chroma .il { color: #ae81ff } -/* LiteralNumberOct */ .chroma .mo { color: #ae81ff } -/* Operator */ .chroma .o { color: #f92672 } -/* OperatorWord */ .chroma .ow { color: #f92672 } -/* Comment */ .chroma .c { color: #75715e } -/* CommentHashbang */ .chroma .ch { color: #75715e } -/* CommentMultiline */ .chroma .cm { color: #75715e } -/* CommentSingle */ .chroma .c1 { color: #75715e } -/* CommentSpecial */ .chroma .cs { color: #75715e } -/* CommentPreproc */ .chroma .cp { color: #75715e } -/* CommentPreprocFile */ .chroma .cpf { color: #75715e } -/* GenericDeleted */ .chroma .gd { color: #f92672 } -/* GenericEmph */ .chroma .ge { font-style: italic } -/* GenericInserted */ .chroma .gi { color: #a6e22e } -/* GenericStrong */ .chroma .gs { font-weight: bold } -/* GenericSubheading */ .chroma .gu { color: #75715e } +.chroma { background: #ffffff; color: #4d4d4c } +.chroma .bp { color: #4d4d4c } /* Name.Builtin.Pseudo */ +.chroma .c1 { color: #8e908c } /* Comment.Single */ +.chroma .c { color: #8e908c } /* Comment */ +.chroma .ch { color: #8e908c } +.chroma .cm { color: #8e908c } /* Comment.Multiline */ +.chroma .cp { color: #8e908c } /* Comment.Preproc */ +.chroma .cpf { color: #8e908c } +.chroma .cs { color: #8e908c } /* Comment.Special */ +.chroma .dl { color: #eab700 } +.chroma .err { color: #c82829 } /* Error */ +.chroma .gd { color: #c82829 } /* Generic.Deleted */ +.chroma .ge { font-style: italic } /* Generic.Emph */ +.chroma .gh { color: #4d4d4c; font-weight: bold } /* Generic.Heading */ +.chroma .gi { color: #718c00 } /* Generic.Inserted */ +.chroma .gp { color: #8e908c; font-weight: bold } /* Generic.Prompt */ +.chroma .gs { font-weight: bold } /* Generic.Strong */ +.chroma .gu { color: #3e999f; font-weight: bold } /* Generic.Subheading */ +.chroma .hl { display: block; width: 100%;background-color: #ffffcc } +.chroma .hll { background-color: #ffddbb } +.chroma .il { color: #f5871f } /* Literal.Number.Integer.Long */ +.chroma .kc { color: #8959a8 } /* Keyword.Constant */ +.chroma .k { color: #8959a8 } /* Keyword */ +.chroma .kd { color: #8959a8 } /* Keyword.Declaration */ +.chroma .kn { color: #3e999f } /* Keyword.Namespace */ +.chroma .kp { color: #8959a8 } /* Keyword.Pseudo */ +.chroma .kr { color: #8959a8 } /* Keyword.Reserved */ +.chroma .kt { color: #eab700 } /* Keyword.Type */ +.chroma .l { color: #f5871f } /* Literal */ +.chroma .ld { color: #718c00 } /* Literal.Date */ +.chroma .ln { margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #4d4d4c } +.chroma .lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; width: auto; overflow: auto; display: block; } +.chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; } +.chroma .lnt { margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #8e908c } +.chroma .mb { color: #8959a8 } +.chroma .m { color: #f5871f } /* Literal.Number */ +.chroma .mf { color: #f5871f } /* Literal.Number.Float */ +.chroma .mh { color: #f5871f } /* Literal.Number.Hex */ +.chroma .mi { color: #f5871f } /* Literal.Number.Integer */ +.chroma .mo { color: #f5871f } /* Literal.Number.Oct */ +.chroma .na { color: #4271ae } /* Name.Attribute */ +.chroma .nb { color: #4d4d4c } /* Name.Builtin */ +.chroma .nc { color: #eab700 } /* Name.Class */ +.chroma .n { color: #4d4d4c } /* Name */ +.chroma .nd { color: #3e999f } /* Name.Decorator */ +.chroma .ne { color: #c82829 } /* Name.Exception */ +.chroma .nf { color: #4271ae } /* Name.Function */ +.chroma .ni { color: #4d4d4c } /* Name.Entity */ +.chroma .nl { color: #4d4d4c } /* Name.Label */ +.chroma .nn { color: #eab700 } /* Name.Namespace */ +.chroma .no { color: #c82829 } /* Name.Constant */ +.chroma .nt { color: #3e999f } /* Name.Tag */ +.chroma .nv { color: #c82829 } /* Name.Variable */ +.chroma .nx { color: #4271ae } /* Name.Other */ +.chroma .o { color: #3e999f } /* Operator */ +.chroma .ow { color: #3e999f } /* Operator.Word */ +.chroma .p { color: #4d4d4c } /* Punctuation */ +.chroma .py { color: #4d4d4c } /* Name.Property */ +.chroma .s1 { color: #718c00 } /* Literal.String.Single */ +.chroma .s2 { color: #718c00 } /* Literal.String.Double */ +.chroma .sb { color: #718c00 } /* Literal.String.Backtick */ +.chroma .sc { color: #4d4d4c } /* Literal.String.Char */ +.chroma .s { color: #718c00 } /* Literal.String */ +.chroma .sd { color: #8e908c } /* Literal.String.Doc */ +.chroma .se { color: #f5871f } /* Literal.String.Escape */ +.chroma .sh { color: #718c00 } /* Literal.String.Heredoc */ +.chroma .si { color: #f5871f } /* Literal.String.Interpol */ +.chroma .sr { color: #718c00 } /* Literal.String.Regex */ +.chroma .ss { color: #718c00 } /* Literal.String.Symbol */ +.chroma .sx { color: #718c00 } /* Literal.String.Other */ +.chroma .vc { color: #c82829 } /* Name.Variable.Class */ +.chroma .vg { color: #c82829 } /* Name.Variable.Global */ +.chroma .vi { color: #c82829 } /* Name.Variable.Instance */ +.chroma .w { color: #4d4d4c } /* Text.Whitespace */