From 3d75d56fd79468139b2b30e3dd0558adcc659da9 Mon Sep 17 00:00:00 2001 From: Aaron Lademann Date: Thu, 12 Sep 2013 07:36:34 -0700 Subject: [PATCH] Pygments syntax highlighting should ignore css errors --- assets/css/pygments-manni.css | 132 +++++++++++++++++----------------- 1 file changed, 67 insertions(+), 65 deletions(-) diff --git a/assets/css/pygments-manni.css b/assets/css/pygments-manni.css index 33f7f974963c..68128b8503d1 100644 --- a/assets/css/pygments-manni.css +++ b/assets/css/pygments-manni.css @@ -1,66 +1,68 @@ -.hll { background-color: #ffffcc } - /*{ background: #f0f3f3; }*/ -.c { color: #999; } /* Comment */ -.err { color: #AA0000; background-color: #FFAAAA } /* Error */ -.k { color: #006699; } /* Keyword */ -.o { color: #555555 } /* Operator */ -.cm { color: #0099FF; font-style: italic } /* Comment.Multiline */ -.cp { color: #009999 } /* Comment.Preproc */ -.c1 { color: #999; } /* Comment.Single */ -.cs { color: #999; } /* Comment.Special */ -.gd { background-color: #FFCCCC; border: 1px solid #CC0000 } /* Generic.Deleted */ -.ge { font-style: italic } /* Generic.Emph */ -.gr { color: #FF0000 } /* Generic.Error */ -.gh { color: #003300; } /* Generic.Heading */ -.gi { background-color: #CCFFCC; border: 1px solid #00CC00 } /* Generic.Inserted */ -.go { color: #AAAAAA } /* Generic.Output */ -.gp { color: #000099; } /* Generic.Prompt */ -.gs { } /* Generic.Strong */ -.gu { color: #003300; } /* Generic.Subheading */ -.gt { color: #99CC66 } /* Generic.Traceback */ -.kc { color: #006699; } /* Keyword.Constant */ -.kd { color: #006699; } /* Keyword.Declaration */ -.kn { color: #006699; } /* Keyword.Namespace */ -.kp { color: #006699 } /* Keyword.Pseudo */ -.kr { color: #006699; } /* Keyword.Reserved */ -.kt { color: #007788; } /* Keyword.Type */ -.m { color: #FF6600 } /* Literal.Number */ -.s { color: #d44950 } /* Literal.String */ -.na { color: #4f9fcf } /* Name.Attribute */ -.nb { color: #336666 } /* Name.Builtin */ -.nc { color: #00AA88; } /* Name.Class */ -.no { color: #336600 } /* Name.Constant */ -.nd { color: #9999FF } /* Name.Decorator */ -.ni { color: #999999; } /* Name.Entity */ -.ne { color: #CC0000; } /* Name.Exception */ -.nf { color: #CC00FF } /* Name.Function */ -.nl { color: #9999FF } /* Name.Label */ -.nn { color: #00CCFF; } /* Name.Namespace */ -.nt { color: #2f6f9f; } /* Name.Tag */ -.nv { color: #003333 } /* Name.Variable */ -.ow { color: #000000; } /* Operator.Word */ -.w { color: #bbbbbb } /* Text.Whitespace */ -.mf { color: #FF6600 } /* Literal.Number.Float */ -.mh { color: #FF6600 } /* Literal.Number.Hex */ -.mi { color: #FF6600 } /* Literal.Number.Integer */ -.mo { color: #FF6600 } /* Literal.Number.Oct */ -.sb { color: #CC3300 } /* Literal.String.Backtick */ -.sc { color: #CC3300 } /* Literal.String.Char */ -.sd { color: #CC3300; font-style: italic } /* Literal.String.Doc */ -.s2 { color: #CC3300 } /* Literal.String.Double */ -.se { color: #CC3300; } /* Literal.String.Escape */ -.sh { color: #CC3300 } /* Literal.String.Heredoc */ -.si { color: #AA0000 } /* Literal.String.Interpol */ -.sx { color: #CC3300 } /* Literal.String.Other */ -.sr { color: #33AAAA } /* Literal.String.Regex */ -.s1 { color: #CC3300 } /* Literal.String.Single */ -.ss { color: #FFCC33 } /* Literal.String.Symbol */ -.bp { color: #336666 } /* Name.Builtin.Pseudo */ -.vc { color: #003333 } /* Name.Variable.Class */ -.vg { color: #003333 } /* Name.Variable.Global */ -.vi { color: #003333 } /* Name.Variable.Instance */ -.il { color: #FF6600 } /* Literal.Number.Integer.Long */ +.hll { background-color: #ffffcc; } +.c { color: #999; } /* Comment */ +.err { color: #AA0000; background-color: #FFAAAA; } /* Error */ +.k { color: #006699; } /* Keyword */ +.o { color: #555555; } /* Operator */ +.cm { color: #0099FF; font-style: italic; } /* Comment.Multiline */ +.cp { color: #009999; } /* Comment.Preproc*/ +.c1 { color: #999; } /* Comment.Single*/ +.cs { color: #999; } /* Comment.Special*/ +.gd { background-color: #FFCCCC; border: 1px solid #CC0000; } /* Generic.Deleted*/ +.ge { font-style: italic; } /* Generic.Emph*/ +.gr { color: #FF0000; } /* Generic.Error*/ +.gh { color: #003300; } /* Generic.Heading*/ +.gi { background-color: #CCFFCC; border: 1px solid #00CC00; } /* Generic.Inserted*/ +.go { color: #AAAAAA; } /* Generic.Output*/ +.gp { color: #000099; } /* Generic.Prompt*/ +.gs { font-style: bold; } /* Generic.Strong*/ +.gu { color: #003300; } /* Generic.Subheading*/ +.gt { color: #99CC66; } /* Generic.Traceback*/ +.kc { color: #006699; } /* Keyword.Constant*/ +.kd { color: #006699; } /* Keyword.Declaration*/ +.kn { color: #006699; } /* Keyword.Namespace*/ +.kp { color: #006699; } /* Keyword.Pseudo*/ +.kr { color: #006699; } /* Keyword.Reserved*/ +.kt { color: #007788; } /* Keyword.Type*/ +.m { color: #FF6600; } /* Literal.Number*/ +.s { color: #d44950; } /* Literal.String*/ +.na { color: #4f9fcf; } /* Name.Attribute*/ +.nb { color: #336666; } /* Name.Builtin*/ +.nc { color: #00AA88; } /* Name.Class*/ +.no { color: #336600; } /* Name.Constant*/ +.nd { color: #9999FF; } /* Name.Decorator*/ +.ni { color: #999999; } /* Name.Entity*/ +.ne { color: #CC0000; } /* Name.Exception*/ +.nf { color: #CC00FF; } /* Name.Function*/ +.nl { color: #9999FF; } /* Name.Label*/ +.nn { color: #00CCFF; } /* Name.Namespace*/ +.nt { color: #2f6f9f; } /* Name.Tag*/ +.nv { color: #003333; } /* Name.Variable*/ +.ow { color: #000000; } /* Operator.Word*/ +.w { color: #bbbbbb; } /* Text.Whitespace*/ +.mf { color: #FF6600; } /* Literal.Number.Float*/ +.mh { color: #FF6600; } /* Literal.Number.Hex*/ +.mi { color: #FF6600; } /* Literal.Number.Integer*/ +.mo { color: #FF6600; } /* Literal.Number.Oct*/ +.sb { color: #CC3300; } /* Literal.String.Backtick*/ +.sc { color: #CC3300; } /* Literal.String.Char*/ +.sd { color: #CC3300; font-style: italic; } /* Literal.String.Doc*/ +.s2 { color: #CC3300; } /* Literal.String.Double*/ +.se { color: #CC3300; } /* Literal.String.Escape*/ +.sh { color: #CC3300; } /* Literal.String.Heredoc*/ +.si { color: #AA0000; } /* Literal.String.Interpol*/ +.sx { color: #CC3300; } /* Literal.String.Other*/ +.sr { color: #33AAAA; } /* Literal.String.Regex*/ +.s1 { color: #CC3300; } /* Literal.String.Single*/ +.ss { color: #FFCC33; } /* Literal.String.Symbol*/ +.bp { color: #336666; } /* Name.Builtin.Pseudo*/ +.vc { color: #003333; } /* Name.Variable.Class*/ +.vg { color: #003333; } /* Name.Variable.Global*/ +.vi { color: #003333; } /* Name.Variable.Instance*/ +.il { color: #FF6600; } /* Literal.Number.Integer.Long*/ -.css .o, -.css .o + .nt, -.css .nt + .nt { color: #999; } \ No newline at end of file +/* turn off errors for sass / scss / css */ +.css .err, .scss .err, .sass .err { color: inherit; background-color: inherit; } +.css .err, .scss .err, .sass .err, +.css .o, .scss .o, .sass .o, +.css .o + .nt, .scss .o + .nt, .sass .o + .nt, +.css .nt + .nt, .scss .nt + .nt, .sass .nt + .nt { color: #003333; background-color: transparent; } \ No newline at end of file