From d084a1286416de2ac49f58619a927563285c5c91 Mon Sep 17 00:00:00 2001 From: Sagi Dayan Date: Tue, 30 Sep 2014 11:03:34 +0300 Subject: [PATCH] Update _syntax-highlighting.scss testing --- _sass/_syntax-highlighting.scss | 75 +++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) diff --git a/_sass/_syntax-highlighting.scss b/_sass/_syntax-highlighting.scss index e36627d..e5c8270 100644 --- a/_sass/_syntax-highlighting.scss +++ b/_sass/_syntax-highlighting.scss @@ -1,6 +1,7 @@ /** * Syntax highlighting styles */ + /* .highlight { background: #fff; @extend %vertical-rhythm; @@ -65,3 +66,77 @@ .vi { color: #008080 } // Name.Variable.Instance .il { color: #099 } // Literal.Number.Integer.Long } +*/ + +.highlight { + margin-bottom: 1.5em; + font-size: 12px; + font-size: 0.75rem; + line-height: 2.1667; + color: #d0d0d0; + background-color: #272822; + border: 1px solid #dbdbdb; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; + + .c { color: #75715e; font-style: italic } // Comment + .err { color: #960050; background-color: #1e0010 } // Error + .k { color: #66d9ef } // Keyword + .o { color: #f92672 } // Operator + .cm { color: #75715e } // Comment.Multiline + .cp { color: #75715e } // Comment.Preproc + .c1 { color: #75715e } // Comment.Single + .cs { color: #75715e } // Comment.Special + .gd { color: #000; background-color: #fdd } // Generic.Deleted + .gd .x { color: #000; background-color: #faa } // Generic.Deleted.Specific + .ge { font-style: italic } // Generic.Emph + .gr { color: #a00 } // Generic.Error + .gh { color: #999 } // Generic.Heading + .gi { color: #000; background-color: #dfd } // Generic.Inserted + .gi .x { color: #000; background-color: #afa } // Generic.Inserted.Specific + .go { color: #888 } // Generic.Output + .gp { color: #555 } // Generic.Prompt + .gs { font-weight: bold } // Generic.Strong + .gu { color: #aaa } // Generic.Subheading + .gt { color: #a00 } // Generic.Traceback + .kc { color: #66d9ef } // Keyword.Constant + .kd { color: #66d9ef } // Keyword.Declaration + .kp { color: #66d9ef } // Keyword.Pseudo + .kr { color: #66d9ef } // Keyword.Reserved + .kt { color: #66d9ef } // Keyword.Type + .m { color: #ae81ff } // Literal.Number + .s { color: #e6db74 } // Literal.String + .na { color: #a6e22e } // Name.Attribute + .nb { color: #f8f8f2 } // Name.Builtin + .nc { color: #a6e22e } // Name.Class + .no { color: #66d9ef } // Name.Constant + .ni { color: #f8f8f2 } // Name.Entity + .ne { color: #a6e22e } // Name.Exception + .nf { color: #a6e22e } // Name.Function + .nn { color: #f8f8f2 } // Name.Namespace + .nx { color: #a6e22e } // Name.Tag + .nv { color: #008080 } // Name.Variable + .ow { color: #f92672 } // Operator.Word + .w { color: #f8f8f2 } // Text.Whitespace + .mf { color: #ae81ff } // Literal.Number.Float + .mh { color: #ae81ff } // Literal.Number.Hex + .mi { color: #ae81ff } // Literal.Number.Integer + .mo { color: #ae81ff } // Literal.Number.Oct + .sb { color: #e6db74 } // Literal.String.Backtick + .sc { color: #e6db74 } // Literal.String.Char + .sd { color: #e6db74 } // Literal.String.Doc + .s2 { color: #e6db74 } // Literal.String.Double + .se { color: #ae81ff } // Literal.String.Escape + .sh { color: #e6db74 } // Literal.String.Heredoc + .si { color: #e6db74 } // Literal.String.Interpol + .sx { color: #e6db74 } // Literal.String.Other + .sr { color: #e6db74 } // Literal.String.Regex + .s1 { color: #e6db74 } // Literal.String.Single + .ss { color: #e6db74 } // Literal.String.Symbol + .bp { color: #f8f8f2 } // Name.Builtin.Pseudo + .vc { color: #f8f8f2 } // Name.Variable.Class + .vg { color: #f8f8f2 } // Name.Variable.Global + .vi { color: #f8f8f2 } // Name.Variable.Instance + .il { color: #ae81ff } // Literal.Number.Integer.Long +}