From 44f10af0066e7eeb0348c00ea82b90ce0ce7770e Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 3 May 2019 15:46:15 +0400 Subject: Updated code's style Signed-off-by: Valentin Popov --- _scss/highlight/_main.scss | 415 ++++++++++++++++++++++----------------------- 1 file changed, 199 insertions(+), 216 deletions(-) (limited to '_scss/highlight') diff --git a/_scss/highlight/_main.scss b/_scss/highlight/_main.scss index a41e98d..f8ee252 100644 --- a/_scss/highlight/_main.scss +++ b/_scss/highlight/_main.scss @@ -1,217 +1,200 @@ -$color01: #000; -$color02: #000080; -$color03: #00f; -$color04: #008080; -$color05: #080; -$color06: #555; -$color07: #800080; -$color08: #888; -$color09: #999; -$color10: #a61717; -$color11: #a00; -$color12: #aaa; -$color13: #bbb; -$color14: #dfd; -$color15: #e3d2d2; -$color16: #f00; -$color17: #fdd; -$color18: #ffc; - -.highlight .hll { - background-color: $color18; -} - -.highlight .c { - color: $color05; - font-style: italic; -} - -.highlight .err { - background-color: $color15; - color: $color10; -} - -.highlight .k { - color: $color02; - font-weight: bold; -} - -.highlight .cm { - color: $color05; - font-style: italic; -} - -.highlight .cp { - color: $color04; -} - -.highlight .c1 { - color: $color05; - font-style: italic; -} - -.highlight .cs { - color: $color05; - font-weight: bold; -} - -.highlight .gd { - background-color: $color17; - color: $color01; -} - -.highlight .ge { - font-style: italic; -} - -.highlight .gr { - color: $color11; -} - -.highlight .gh { - color: $color09; -} - -.highlight .gi { - background-color: $color14; - color: $color01; -} - -.highlight .go { - color: $color08; -} - -.highlight .gp { - color: $color06; -} - -.highlight .gs { - font-weight: bold; -} - -.highlight .gu { - color: $color12; -} - -.highlight .gt { - color: $color11; -} - -.highlight .kc { - color: $color02; - font-weight: bold; -} - -.highlight .kd { - color: $color02; - font-weight: bold; -} - -.highlight .kn { - color: $color02; - font-weight: bold; -} - -.highlight .kp { - color: $color02; - font-weight: bold; -} - -.highlight .kr { - color: $color02; - font-weight: bold; -} - -.highlight .kt { - color: $color02; - font-weight: bold; -} - -.highlight .m { - color: $color03; -} - -.highlight .s { - color: $color03; -} - -.highlight .na { - color: $color16; -} - -.highlight .nt { - color: $color02; - font-weight: bold; -} - -.highlight .ow { - font-weight: bold; -} - -.highlight .w { - color: $color13; -} - -.highlight .mf { - color: $color03; -} - -.highlight .mh { - color: $color03; -} - -.highlight .mi { - color: $color03; -} - -.highlight .mo { - color: $color03; -} - -.highlight .sb { - color: $color03; -} - -.highlight .sc { - color: $color07; -} - -.highlight .sd { - color: $color03; -} - -.highlight .s2 { - color: $color03; -} - -.highlight .se { - color: $color03; -} - -.highlight .sh { - color: $color03; -} - -.highlight .si { - color: $color03; -} - -.highlight .sx { - color: $color03; -} - -.highlight .sr { - color: $color03; -} - -.highlight .s1 { - color: $color03; -} - -.highlight .ss { - color: $color03; -} - -.highlight .il { - color: $color03; +.highlight { + .c { + color: $color04; + font-style: italic; + } + + .c1 { + color: $color04; + font-style: italic; + } + + .cm { + color: $color04; + font-style: italic; + } + + .cp { + color: $color03; + } + + .cs { + color: $color04; + font-weight: bold; + } + + .err { + background-color: $color14; + color: $color09; + } + + .gd { + background-color: $color16; + color: $color00; + } + + .ge { + font-style: italic; + } + + .gh { + color: $color08; + } + + .gi { + background-color: $color13; + color: $color00; + } + + .go { + color: $color07; + } + + .gp { + color: $color05; + } + + .gr { + color: $color10; + } + + .gs { + font-weight: bold; + } + + .gt { + color: $color10; + } + + .gu { + color: $color11; + } + + .hll { + background-color: $color17; + } + + .il { + color: $color02; + } + + .k { + color: $color01; + font-weight: bold; + } + + .kc { + color: $color01; + font-weight: bold; + } + + .kd { + color: $color01; + font-weight: bold; + } + + .kn { + color: $color01; + font-weight: bold; + } + + .kp { + color: $color01; + font-weight: bold; + } + + .kr { + color: $color01; + font-weight: bold; + } + + .kt { + color: $color01; + font-weight: bold; + } + + .m { + color: $color02; + } + + .mf { + color: $color02; + } + + .mh { + color: $color02; + } + + .mi { + color: $color02; + } + + .mo { + color: $color02; + } + + .na { + color: $color15; + } + + .nt { + color: $color01; + font-weight: bold; + } + + .ow { + font-weight: bold; + } + + .s { + color: $color02; + } + + .s1 { + color: $color02; + } + + .s2 { + color: $color02; + } + + .sb { + color: $color02; + } + + .sc { + color: $color06; + } + + .sd { + color: $color02; + } + + .se { + color: $color02; + } + + .sh { + color: $color02; + } + + .si { + color: $color02; + } + + .sr { + color: $color02; + } + + .ss { + color: $color02; + } + + .sx { + color: $color02; + } + + .w { + color: $color12; + } } -- cgit v1.2.3