fixed syntax highlighting

This commit is contained in:
Brian Picciano 2013-10-16 21:10:52 -04:00
parent 9d2db56176
commit e1402785e7
4 changed files with 75 additions and 7 deletions

70
_includes/css/peaksea.css Normal file
View File

@ -0,0 +1,70 @@
.highlight { background: #202020; color: #d0d0d0}
.highlight .hll { background-color: #ffffcc }
.highlight .c { color: #d0d090} /* Comment */
.highlight .err { color: #d0d0d0} /* Error */
.highlight .g { color: #d0d0d0} /* Generic */
.highlight .k { color: #c0d8f8; font-weight: bold} /* Keyword */
.highlight .l { color: #d0d0d0} /* Literal */
.highlight .n { color: #d0d0d0} /* Name */
.highlight .o { color: #d0d0d0} /* Operator */
.highlight .x { color: #d0d0d0} /* Other */
.highlight .p { color: #d0d0d0} /* Punctuation */
.highlight .cm { color: #d0d090} /* Comment.Multiline */
.highlight .cp { color: #60f080; font-weight: bold} /* Comment.Preproc */
.highlight .c1 { color: #d0d090} /* Comment.Single */
.highlight .cs { color: #d0d090} /* Comment.Special */
.highlight .gd { color: #6080f0; font-weight: bold} /* Generic.Deleted */
.highlight .ge { color: #80a0ff; text-decoration: underline} /* Generic.Emph */
.highlight .gr { color: #f08060; font-weight: bold} /* Generic.Error */
.highlight .gh { color: #f0c0f0; font-weight: bold} /* Generic.Heading */
.highlight .gi { color: #d0d0d0; background-color: #000080 } /* Generic.Inserted */
.highlight .go { color: #6080f0; font-weight: bold; background-color: #101010 } /* Generic.Output */
.highlight .gp { color: #d0d0d0} /* Generic.Prompt */
.highlight .gs { color: #d0d0d0} /* Generic.Strong */
.highlight .gu { color: #f0c0f0; font-weight: bold} /* Generic.Subheading */
.highlight .gt { color: #d0d090; background-color: #800000 } /* Generic.Traceback */
.highlight .kc { color: #c0d8f8; font-weight: bold} /* Keyword.Constant */
.highlight .kd { color: #c0d8f8; font-weight: bold} /* Keyword.Declaration */
.highlight .kn { color: #c0d8f8; font-weight: bold} /* Keyword.Namespace */
.highlight .kp { color: #c0d8f8; font-weight: bold} /* Keyword.Pseudo */
.highlight .kr { color: #c0d8f8; font-weight: bold} /* Keyword.Reserved */
.highlight .kt { color: #b0d0f0; font-weight: bold} /* Keyword.Type */
.highlight .ld { color: #d0d0d0} /* Literal.Date */
.highlight .m { color: #e0c060; font-weight: bold} /* Literal.Number */
.highlight .s { color: #d0d0d0} /* Literal.String */
.highlight .na { color: #d0d0d0} /* Name.Attribute */
.highlight .nb { color: #d0d0d0} /* Name.Builtin */
.highlight .nc { color: #d0d0d0} /* Name.Class */
.highlight .no { color: #80c0e0; font-weight: bold} /* Name.Constant */
.highlight .nd { color: #d0d0d0} /* Name.Decorator */
.highlight .ni { color: #e0c060; font-weight: bold} /* Name.Entity */
.highlight .ne { color: #d0d0d0} /* Name.Exception */
.highlight .nf { color: #d0d0d0} /* Name.Function */
.highlight .nl { color: #d0d0d0} /* Name.Label */
.highlight .nn { color: #d0d0d0} /* Name.Namespace */
.highlight .nx { color: #d0d0d0} /* Name.Other */
.highlight .py { color: #d0d0d0} /* Name.Property */
.highlight .nt { color: #c0d8f8; font-weight: bold} /* Name.Tag */
.highlight .nv { color: #f0c0f0; font-weight: bold} /* Name.Variable */
.highlight .ow { color: #d0d0d0} /* Operator.Word */
.highlight .w { color: #d0d0d0} /* Text.Whitespace */
.highlight .mf { color: #e0c060; font-weight: bold} /* Literal.Number.Float */
.highlight .mh { color: #e0c060; font-weight: bold} /* Literal.Number.Hex */
.highlight .mi { color: #e0c060; font-weight: bold} /* Literal.Number.Integer */
.highlight .mo { color: #e0c060; font-weight: bold} /* Literal.Number.Oct */
.highlight .sb { color: #d0d0d0} /* Literal.String.Backtick */
.highlight .sc { color: #d0d0d0} /* Literal.String.Char */
.highlight .sd { color: #d0d0d0} /* Literal.String.Doc */
.highlight .s2 { color: #d0d0d0} /* Literal.String.Double */
.highlight .se { color: #d0d0d0} /* Literal.String.Escape */
.highlight .sh { color: #d0d0d0} /* Literal.String.Heredoc */
.highlight .si { color: #d0d0d0} /* Literal.String.Interpol */
.highlight .sx { color: #d0d0d0} /* Literal.String.Other */
.highlight .sr { color: #d0d0d0} /* Literal.String.Regex */
.highlight .s1 { color: #d0d0d0} /* Literal.String.Single */
.highlight .ss { color: #d0d0d0} /* Literal.String.Symbol */
.highlight .bp { color: #d0d0d0} /* Name.Builtin.Pseudo */
.highlight .vc { color: #f0c0f0; font-weight: bold} /* Name.Variable.Class */
.highlight .vg { color: #f0c0f0; font-weight: bold} /* Name.Variable.Global */
.highlight .vi { color: #f0c0f0; font-weight: bold} /* Name.Variable.Instance */
.highlight .il { color: #e0c060; font-weight: bold} /* Literal.Number.Integer.Long */

View File

@ -120,8 +120,8 @@ nav hr {
#post pre { #post pre {
border: 1px solid #ddd; border: 1px solid #ddd;
background-color: #eef; line-height: 1.1;
padding: 0 .4em; padding: 1em 1em;
margin-bottom: 20px !important; margin-bottom: 20px !important;
} }
@ -132,7 +132,8 @@ nav hr {
#post code { #post code {
border: 1px solid #ddd; border: 1px solid #ddd;
background-color: #eef; font-family: Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu
Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
font-size: 85%; font-size: 85%;
padding: 0 .2em; padding: 0 .2em;
} }

View File

@ -1,3 +0,0 @@
.highlight{background-color:#073642;color:#93a1a1}.highlight .c{color:#586e75 !important;font-style:italic !important}.highlight .cm{color:#586e75 !important;font-style:italic !important}.highlight .cp{color:#586e75 !important;font-style:italic !important}.highlight .c1{color:#586e75 !important;font-style:italic !important}.highlight .cs{color:#586e75 !important;font-weight:bold !important;font-style:italic !important}.highlight .err{color:#dc322f !important;background:none !important}.highlight .k{color:#cb4b16 !important}.highlight .o{color:#93a1a1 !important;font-weight:bold !important}.highlight .p{color:#93a1a1 !important}.highlight .ow{color:#2aa198 !important;font-weight:bold !important}.highlight .gd{color:#93a1a1 !important;background-color:#372c34 !important;display:inline-block}.highlight .gd .x{color:#93a1a1 !important;background-color:#4d2d33 !important;display:inline-block}.highlight .ge{color:#93a1a1 !important;font-style:italic !important}.highlight .gr{color:#aa0000}.highlight .gh{color:#586e75 !important}.highlight .gi{color:#93a1a1 !important;background-color:#1a412b !important;display:inline-block}.highlight .gi .x{color:#93a1a1 !important;background-color:#355720 !important;display:inline-block}.highlight .go{color:#888888}.highlight .gp{color:#555555}.highlight .gs{color:#93a1a1 !important;font-weight:bold !important}.highlight .gu{color:#6c71c4 !important}.highlight .gt{color:#aa0000}.highlight .kc{color:#859900 !important;font-weight:bold !important}.highlight .kd{color:#268bd2 !important}.highlight .kp{color:#cb4b16 !important;font-weight:bold !important}.highlight .kr{color:#d33682 !important;font-weight:bold !important}.highlight .kt{color:#2aa198 !important}.highlight .n{color:#268bd2 !important}.highlight .na{color:#268bd2 !important}.highlight .nb{color:#859900 !important}.highlight .nc{color:#d33682 !important}.highlight .no{color:#b58900 !important}.highlight .ni{color:#800080}.highlight .nl{color:#859900 !important}.highlight .ne{color:#268bd2 !important;font-weight:bold !important}.highlight .nf{color:#268bd2 !important;font-weight:bold !important}.highlight .nn{color:#b58900 !important}.highlight .nt{color:#268bd2 !important;font-weight:bold !important}.highlight .nx{color:#b58900 !important}.highlight .bp{color:#999999}.highlight .vc{color:#008080}.highlight .vg{color:#268bd2 !important}.highlight .vi{color:#268bd2 !important}.highlight .nv{color:#268bd2 !important}.highlight .w{color:#bbbbbb}.highlight .mf{color:#2aa198 !important}.highlight .m{color:#2aa198 !important}.highlight .mh{color:#2aa198 !important}.highlight .mi{color:#2aa198 !important}.highlight .mo{color:#009999}.highlight .s{color:#2aa198 !important}.highlight .sb{color:#d14}.highlight .sc{color:#d14}.highlight .sd{color:#2aa198 !important}.highlight .s2{color:#2aa198 !important}.highlight .se{color:#dc322f !important}.highlight .sh{color:#d14}.highlight .si{color:#268bd2 !important}.highlight .sx{color:#d14}.highlight .sr{color:#2aa198 !important}.highlight .s1{color:#2aa198 !important}.highlight .ss{color:#990073}.highlight .il{color:#009999}.highlight div .gd,.highlight div .gd .x,.highlight div .gi,.highlight div .gi .x{display:inline-block;width:100%}
pre { white-space: pre; overflow: auto; }
code, pre { font-family: Monaco,Menlo,Consolas,"Courier New",monospace; }

View File

@ -5,4 +5,4 @@
{% include css/skeleton.css %} {% include css/skeleton.css %}
{% include css/screen.css %} {% include css/screen.css %}
{% include css/layout.css %} {% include css/layout.css %}
{% include css/syntax.css %} {% include css/peaksea.css %}