Updated, loads of changes to layout parts
[blog.git] / _scss / highlight.scss
1 .highlight {
2 background-color: $bg-color; color: $body;
3 border: solid 1px;
4 padding: 1vmax;
5 overflow: auto;
6
7 font:{
8 family: $font-family-mono;
9 size: 0.75 * $base-font-pct;
10 size: 0.98 * $base-font-rel;
11 }
12
13 p, pre {
14 margin-bottom: 0;
15 }
16
17 .c { color: $base01; } /* Comment */
18 .err { color: $body; } /* Error */
19 .g { color: $body; } /* Generic */
20 .k { color: $green; } /* Keyword */
21 .l { color: $body; } /* Literal */
22 .n { color: $body; } /* Name */
23 .o { color: $green; } /* Operator */
24 .x { color: $orange; } /* Other */
25 .p { color: $body; } /* Punctuation */
26 .cm { color: $base01; } /* Comment.Multiline */
27 .cp { color: $green; } /* Comment.Preproc */
28 .c1 { color: $base01; } /* Comment.Single */
29 .cs { color: $green; } /* Comment.Special */
30 .gd { color: $cyan; } /* Generic.Deleted */
31 .ge { color: $body;; font-style: italic } /* Generic.Emph */
32 .gr { color: $red; } /* Generic.Error */
33 .gh { color: $orange; } /* Generic.Heading */
34 .gi { color: $green; } /* Generic.Inserted */
35 .go { color: $body; } /* Generic.Output */
36 .gp { color: $body; } /* Generic.Prompt */
37 .gs { color: $body;; font-weight: bold } /* Generic.Strong */
38 .gu { color: $orange; } /* Generic.Subheading */
39 .gt { color: $body; } /* Generic.Traceback */
40 .kc { color: $orange; } /* Keyword.Constant */
41 .kd { color: $blue; } /* Keyword.Declaration */
42 .kn { color: $green; } /* Keyword.Namespace */
43 .kp { color: $green; } /* Keyword.Pseudo */
44 .kr { color: $blue; } /* Keyword.Reserved */
45 .kt { color: $red; } /* Keyword.Type */
46 .ld { color: $body; } /* Literal.Date */
47 .m { color: $cyan; } /* Literal.Number */
48 .s { color: $cyan; } /* Literal.String */
49 .na { color: $body; } /* Name.Attribute */
50 .nb { color: $orange } /* Name.Builtin */
51 .nc { color: $blue; } /* Name.Class */
52 .no { color: $orange; } /* Name.Constant */
53 .nd { color: $blue; } /* Name.Decorator */
54 .ni { color: $orange; } /* Name.Entity */
55 .ne { color: $orange; } /* Name.Exception */
56 .nf { color: $blue; } /* Name.Function */
57 .nl { color: $body; } /* Name.Label */
58 .nn { color: $body; } /* Name.Namespace */
59 .nx { color: $body; } /* Name.Other */
60 .py { color: $body; } /* Name.Property */
61 .nt { color: $blue; } /* Name.Tag */
62 .nv { color: $blue; } /* Name.Variable */
63 .ow { color: $green; } /* Operator.Word */
64 .w { color: $body; } /* Text.Whitespace */
65 .mf { color: $cyan; } /* Literal.Number.Float */
66 .mh { color: $cyan; } /* Literal.Number.Hex */
67 .mi { color: $cyan; } /* Literal.Number.Integer */
68 .mo { color: $cyan; } /* Literal.Number.Oct */
69 .sb { color: $base01 } /* Literal.String.Backtick */
70 .sc { color: $cyan; } /* Literal.String.Char */
71 .sd { color: $body; } /* Literal.String.Doc */
72 .s2 { color: $cyan; } /* Literal.String.Double */
73 .se { color: $orange; } /* Literal.String.Escape */
74 .sh { color: $body; } /* Literal.String.Heredoc */
75 .si { color: $cyan; } /* Literal.String.Interpol */
76 .sx { color: $cyan; } /* Literal.String.Other */
77 .sr { color: $red; } /* Literal.String.Regex */
78 .s1 { color: $cyan; } /* Literal.String.Single */
79 .ss { color: $cyan; } /* Literal.String.Symbol */
80 .bp { color: $blue; } /* Name.Builtin.Pseudo */
81 .vc { color: $blue; } /* Name.Variable.Class */
82 .vg { color: $blue; } /* Name.Variable.Global */
83 .vi { color: $blue; } /* Name.Variable.Instance */
84 .il { color: $cyan; } /* Literal.Number.Integer.Long */
85 }