Updated code's style

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2019-05-03 15:46:15 +04:00
parent 77d055f8ed
commit 44f10af006
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
4 changed files with 178 additions and 186 deletions

View File

@ -1,13 +1,20 @@
$color-01: #1d1f21;
$color-02: #373b41;
$color-03: #81a2be;
$color-04: #8abeb7;
$color-05: #969896;
$color-06: #b294bb;
$color-07: #b5bd68;
$color-08: #c5c8c6;
$color-09: #c66;
$color-10: #de935f;
$color-11: #f0c674;
$color00: #000000;
$color01: #000080;
$color02: #0000FF;
$color03: #008080;
$color04: #008800;
$color05: #555555;
$color06: #800080;
$color07: #888888;
$color08: #999999;
$color09: #a61717;
$color10: #aa0000;
$color11: #aaaaaa;
$color12: #bbbbbb;
$color13: #ddffdd;
$color14: #e3d2d2;
$color15: #FF0000;
$color16: #ffdddd;
$color17: #ffffcc;
@import 'highlight/main';

View File

@ -1,8 +1,8 @@
$color-bg-alt: rgba(0, 0, 0, .09);
$color-bg: #fff;
$color-blossom: #007ea7;
$color-fade: #003459;
$color-text: #00171f;
$color-bg: rgba(235, 237, 236, 1);
$color-blossom: rgba(76, 88, 112, 1);
$color-fade: rgba(162, 169, 175, 1);
$color-text: rgba(61, 61, 59, 1);
$font-family-sans-serif: '-apple-system', BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', 'Arial', sans-serif;
$font-size-base: 1.6rem;

View File

@ -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 {
.c {
color: $color04;
font-style: italic;
}
.highlight .hll {
background-color: $color18;
}
.c1 {
color: $color04;
font-style: italic;
}
.highlight .c {
color: $color05;
font-style: italic;
}
.cm {
color: $color04;
font-style: italic;
}
.highlight .err {
background-color: $color15;
color: $color10;
}
.cp {
color: $color03;
}
.highlight .k {
color: $color02;
font-weight: bold;
}
.cs {
color: $color04;
font-weight: bold;
}
.highlight .cm {
color: $color05;
font-style: italic;
}
.err {
background-color: $color14;
color: $color09;
}
.highlight .cp {
color: $color04;
}
.gd {
background-color: $color16;
color: $color00;
}
.highlight .c1 {
color: $color05;
font-style: italic;
}
.ge {
font-style: italic;
}
.highlight .cs {
color: $color05;
font-weight: bold;
}
.gh {
color: $color08;
}
.highlight .gd {
background-color: $color17;
color: $color01;
}
.gi {
background-color: $color13;
color: $color00;
}
.highlight .ge {
font-style: italic;
}
.go {
color: $color07;
}
.highlight .gr {
color: $color11;
}
.gp {
color: $color05;
}
.highlight .gh {
color: $color09;
}
.gr {
color: $color10;
}
.highlight .gi {
background-color: $color14;
color: $color01;
}
.gs {
font-weight: bold;
}
.highlight .go {
color: $color08;
}
.gt {
color: $color10;
}
.highlight .gp {
color: $color06;
}
.gu {
color: $color11;
}
.highlight .gs {
font-weight: bold;
}
.hll {
background-color: $color17;
}
.highlight .gu {
color: $color12;
}
.il {
color: $color02;
}
.highlight .gt {
color: $color11;
}
.k {
color: $color01;
font-weight: bold;
}
.highlight .kc {
color: $color02;
font-weight: bold;
}
.kc {
color: $color01;
font-weight: bold;
}
.highlight .kd {
color: $color02;
font-weight: bold;
}
.kd {
color: $color01;
font-weight: bold;
}
.highlight .kn {
color: $color02;
font-weight: bold;
}
.kn {
color: $color01;
font-weight: bold;
}
.highlight .kp {
color: $color02;
font-weight: bold;
}
.kp {
color: $color01;
font-weight: bold;
}
.highlight .kr {
color: $color02;
font-weight: bold;
}
.kr {
color: $color01;
font-weight: bold;
}
.highlight .kt {
color: $color02;
font-weight: bold;
}
.kt {
color: $color01;
font-weight: bold;
}
.highlight .m {
color: $color03;
}
.m {
color: $color02;
}
.highlight .s {
color: $color03;
}
.mf {
color: $color02;
}
.highlight .na {
color: $color16;
}
.mh {
color: $color02;
}
.highlight .nt {
color: $color02;
font-weight: bold;
}
.mi {
color: $color02;
}
.highlight .ow {
font-weight: bold;
}
.mo {
color: $color02;
}
.highlight .w {
color: $color13;
}
.na {
color: $color15;
}
.highlight .mf {
color: $color03;
}
.nt {
color: $color01;
font-weight: bold;
}
.highlight .mh {
color: $color03;
}
.ow {
font-weight: bold;
}
.highlight .mi {
color: $color03;
}
.s {
color: $color02;
}
.highlight .mo {
color: $color03;
}
.s1 {
color: $color02;
}
.highlight .sb {
color: $color03;
}
.s2 {
color: $color02;
}
.highlight .sc {
color: $color07;
}
.sb {
color: $color02;
}
.highlight .sd {
color: $color03;
}
.sc {
color: $color06;
}
.highlight .s2 {
color: $color03;
}
.sd {
color: $color02;
}
.highlight .se {
color: $color03;
}
.se {
color: $color02;
}
.highlight .sh {
color: $color03;
}
.sh {
color: $color02;
}
.highlight .si {
color: $color03;
}
.si {
color: $color02;
}
.highlight .sx {
color: $color03;
}
.sr {
color: $color02;
}
.highlight .sr {
color: $color03;
}
.ss {
color: $color02;
}
.highlight .s1 {
color: $color03;
}
.sx {
color: $color02;
}
.highlight .ss {
color: $color03;
}
.highlight .il {
color: $color03;
.w {
color: $color12;
}
}

View File

@ -111,6 +111,7 @@ img {
pre {
background-color: $color-bg-alt;
border-radius: 4px;
display: block;
overflow-x: auto;
padding: 1em;
@ -118,6 +119,7 @@ pre {
code {
background-color: $color-bg-alt;
border-radius: 4px;
font-size: .9em;
padding: 0 .5em;
white-space: pre-wrap;