summaryrefslogtreecommitdiff
path: root/_sass/syntax.scss
diff options
context:
space:
mode:
authorBen Burwell <bburwell1@gmail.com>2014-11-14 11:22:48 -0500
committerBen Burwell <bburwell1@gmail.com>2014-11-14 11:22:48 -0500
commit53109fa5e1404c0f5cd4328135f5b5fd7c88b555 (patch)
treea1e896c3215464da7e76678ce9c71a4e1789934a /_sass/syntax.scss
parent1a17df7a5780bfceaf5fb143e847b71c6368e706 (diff)
Further optimizations
Diffstat (limited to '_sass/syntax.scss')
-rw-r--r--_sass/syntax.scss222
1 files changed, 162 insertions, 60 deletions
diff --git a/_sass/syntax.scss b/_sass/syntax.scss
index dcd41bb..bcd61d2 100644
--- a/_sass/syntax.scss
+++ b/_sass/syntax.scss
@@ -1,60 +1,162 @@
-.highlight { background: #ffffff; }
-.highlight .c { color: $base1; font-style: italic } /* Comment */
-.highlight .err { color: $red; } /* Error */
-.highlight .k { font-weight: bold } /* Keyword */
-.highlight .o { font-weight: bold } /* Operator */
-.highlight .cm { color: $base1; font-style: italic } /* Comment.Multiline */
-.highlight .cp { color: $base1; font-weight: bold } /* Comment.Preproc */
-.highlight .c1 { color: $base1; font-style: italic } /* Comment.Single */
-.highlight .cs { color: $base1; font-weight: bold; font-style: italic } /* Comment.Special */
-.highlight .gd { color: $base03; background-color: $base1 } /* Generic.Deleted */
-.highlight .gd .x { color: $base03; background-color: $base1 } /* Generic.Deleted.Specific */
-.highlight .ge { font-style: italic } /* Generic.Emph */
-.highlight .gr { color: $red } /* Generic.Error */
-.highlight .gh { color: $base1 } /* Generic.Heading */
-.highlight .gi { color: $base03; background-color: $base1 } /* Generic.Inserted */
-.highlight .gi .x { color: $base03; background-color: $base1 } /* Generic.Inserted.Specific */
-.highlight .go { color: $base1 } /* Generic.Output */
-.highlight .gp { color: $base01 } /* Generic.Prompt */
-.highlight .gs { font-weight: bold } /* Generic.Strong */
-.highlight .gu { color: $base1 } /* Generic.Subheading */
-.highlight .gt { color: $red } /* Generic.Traceback */
-.highlight .kc { font-weight: bold } /* Keyword.Constant */
-.highlight .kd { font-weight: bold } /* Keyword.Declaration */
-.highlight .kp { font-weight: bold } /* Keyword.Pseudo */
-.highlight .kr { font-weight: bold } /* Keyword.Reserved */
-.highlight .kt { color: $violet; font-weight: bold } /* Keyword.Type */
-.highlight .m { color: $cyan } /* Literal.Number */
-.highlight .s { color: $magenta } /* Literal.String */
-.highlight .na { color: $blue } /* Name.Attribute */
-.highlight .nb { color: $blue } /* Name.Builtin */
-.highlight .nc { color: $blue; font-weight: bold } /* Name.Class */
-.highlight .no { color: $blue } /* Name.Constant */
-.highlight .ni { color: $blue } /* Name.Entity */
-.highlight .ne { color: $red; font-weight: bold } /* Name.Exception */
-.highlight .nf { color: $red; font-weight: bold } /* Name.Function */
-.highlight .nn { color: $base01 } /* Name.Namespace */
-.highlight .nt { color: $blue } /* Name.Tag */
-.highlight .nv { color: $blue } /* Name.Variable */
-.highlight .ow { font-weight: bold } /* Operator.Word */
-.highlight .w { color: $base1 } /* Text.Whitespace */
-.highlight .mf { color: $cyan } /* Literal.Number.Float */
-.highlight .mh { color: $cyan } /* Literal.Number.Hex */
-.highlight .mi { color: $cyan } /* Literal.Number.Integer */
-.highlight .mo { color: $cyan } /* Literal.Number.Oct */
-.highlight .sb { color: $magenta } /* Literal.String.Backtick */
-.highlight .sc { color: $magenta } /* Literal.String.Char */
-.highlight .sd { color: $magenta } /* Literal.String.Doc */
-.highlight .s2 { color: $magenta } /* Literal.String.Double */
-.highlight .se { color: $magenta } /* Literal.String.Escape */
-.highlight .sh { color: $magenta } /* Literal.String.Heredoc */
-.highlight .si { color: $magenta } /* Literal.String.Interpol */
-.highlight .sx { color: $magenta } /* Literal.String.Other */
-.highlight .sr { color: $green } /* Literal.String.Regex */
-.highlight .s1 { color: $magenta } /* Literal.String.Single */
-.highlight .ss { color: $green } /* Literal.String.Symbol */
-.highlight .bp { color: $base1 } /* Name.Builtin.Pseudo */
-.highlight .vc { color: $blue } /* Name.Variable.Class */
-.highlight .vg { color: $blue } /* Name.Variable.Global */
-.highlight .vi { color: $blue } /* Name.Variable.Instance */
-.highlight .il { color: $cyan } /* Literal.Number.Integer.Long */
+.highlight {
+ background: #ffffff;
+
+ .c,
+ .cm,
+ .c1 {
+ color: $base1;
+ font-style: italic
+ } /* Comment */
+
+ .gr,
+ .gt,
+ .err {
+ color: $red;
+ } /* Error */
+
+ .k {
+ font-weight: bold;
+ } /* Keyword */
+
+ .o {
+ font-weight: bold;
+ } /* Operator */
+
+ .cp {
+ color: $base1;
+ font-weight: bold;
+ } /* Comment.Preproc */
+
+ .cs {
+ color: $base1;
+ font-weight: bold;
+ font-style: italic;
+ } /* Comment.Special */
+
+ .gd,
+ .gd .x {
+ color: $base03;
+ background-color: $base1;
+ } /* Generic.Deleted */
+
+ .ge {
+ font-style: italic;
+ } /* Generic.Emph */
+
+ .gu,
+ .gh {
+ color: $base1;
+ } /* Generic.Heading */
+
+ .gi .x,
+ .gi {
+ color: $base03;
+ background-color: $base1;
+ } /* Generic.Inserted */
+
+ .go {
+ color: $base1;
+ } /* Generic.Output */
+
+ .gp {
+ color: $base01;
+ } /* Generic.Prompt */
+
+ .gs {
+ font-weight: bold;
+ } /* Generic.Strong */
+
+ .kd,
+ .kp,
+ .kr,
+ .kc {
+ font-weight: bold;
+ } /* Keyword.Constant */
+
+ .kt {
+ color: $violet;
+ font-weight: bold;
+ } /* Keyword.Type */
+
+ .m {
+ color: $cyan;
+ } /* Literal.Number */
+
+ .s {
+ color: $magenta;
+ } /* Literal.String */
+
+ .na,
+ .nb,
+ .no,
+ .ni,
+ .nt,
+ .nv {
+ color: $blue;
+ } /* Name.Variable */
+
+ .nc {
+ color: $blue;
+ font-weight: bold;
+ } /* Name.Class */
+
+ .ne {
+ color: $red;
+ font-weight: bold;
+ } /* Name.Exception */
+
+ .nf {
+ color: $red;
+ font-weight: bold;
+ } /* Name.Function */
+
+ .nn {
+ color: $base01;
+ } /* Name.Namespace */
+
+ .ow {
+ font-weight: bold;
+ } /* Operator.Word */
+
+ .w {
+ color: $base1;
+ } /* Text.Whitespace */
+
+ .mf,
+ .mh,
+ .mi,
+ .mo {
+ color: $cyan;
+ } /* Literal.Number.Oct */
+
+ .sb,
+ .sc,
+ .sd,
+ .s2,
+ .se,
+ .sh,
+ .si,
+ .s1,
+ .sx {
+ color: $magenta;
+ } /* Literal.String.Other */
+
+ .sr,
+ .ss {
+ color: $green;
+ } /* Literal.String.Symbol */
+
+ .bp {
+ color: $base1;
+ } /* Name.Builtin.Pseudo */
+
+ .vc,
+ .vg,
+ .vi {
+ color: $blue;
+ } /* Name.Variable.Instance */
+
+ .il {
+ color: $cyan;
+ } /* Literal.Number.Integer.Long */
+}