1 | @import url(https://fonts.googleapis.com/css?family=Fira+Mono);
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 | code[class*="language-"],
|
11 | pre[class*="language-"] {
|
12 | font-family: "Fira Mono", Menlo, Monaco, "Lucida Console", "Courier New", Courier, monospace;
|
13 | font-size: 16px;
|
14 | line-height: 1.375;
|
15 | direction: ltr;
|
16 | text-align: left;
|
17 | word-spacing: normal;
|
18 |
|
19 | -moz-tab-size: 4;
|
20 | -o-tab-size: 4;
|
21 | tab-size: 4;
|
22 |
|
23 | -webkit-hyphens: none;
|
24 | -moz-hyphens: none;
|
25 | -ms-hyphens: none;
|
26 | hyphens: none;
|
27 | white-space: pre;
|
28 | white-space: pre-wrap;
|
29 | word-break: break-all;
|
30 | word-wrap: break-word;
|
31 | background: #322931;
|
32 | color: #b9b5b8;
|
33 | }
|
34 |
|
35 | pre > code[class*="language-"] {
|
36 | font-size: 1em;
|
37 | }
|
38 |
|
39 |
|
40 | pre[class*="language-"] {
|
41 | padding: 1em;
|
42 | margin: .5em 0;
|
43 | overflow: auto;
|
44 | }
|
45 |
|
46 |
|
47 | :not(pre) > code[class*="language-"] {
|
48 | padding: .1em;
|
49 | border-radius: .3em;
|
50 | }
|
51 |
|
52 | .token.comment,
|
53 | .token.prolog,
|
54 | .token.doctype,
|
55 | .token.cdata {
|
56 | color: #797379;
|
57 | }
|
58 |
|
59 | .token.punctuation {
|
60 | color: #b9b5b8;
|
61 | }
|
62 |
|
63 | .namespace {
|
64 | opacity: .7;
|
65 | }
|
66 |
|
67 | .token.null,
|
68 | .token.operator,
|
69 | .token.boolean,
|
70 | .token.number {
|
71 | color: #fd8b19;
|
72 | }
|
73 |
|
74 | .token.property {
|
75 | color: #fdcc59;
|
76 | }
|
77 |
|
78 | .token.tag {
|
79 | color: #1290bf;
|
80 | }
|
81 |
|
82 | .token.string {
|
83 | color: #149b93;
|
84 | }
|
85 |
|
86 | .token.selector {
|
87 | color: #c85e7c;
|
88 | }
|
89 |
|
90 | .token.attr-name {
|
91 | color: #fd8b19;
|
92 | }
|
93 |
|
94 | .token.entity,
|
95 | .token.url,
|
96 | .language-css .token.string,
|
97 | .style .token.string {
|
98 | color: #149b93;
|
99 | }
|
100 |
|
101 | .token.attr-value,
|
102 | .token.keyword,
|
103 | .token.control,
|
104 | .token.directive,
|
105 | .token.unit {
|
106 | color: #8fc13e;
|
107 | }
|
108 |
|
109 | .token.statement,
|
110 | .token.regex,
|
111 | .token.atrule {
|
112 | color: #149b93;
|
113 | }
|
114 |
|
115 | .token.placeholder,
|
116 | .token.variable {
|
117 | color: #1290bf;
|
118 | }
|
119 |
|
120 | .token.important {
|
121 | color: #dd464c;
|
122 | font-weight: bold;
|
123 | }
|
124 |
|
125 | .token.entity {
|
126 | cursor: help;
|
127 | }
|
128 |
|
129 | pre > code.highlight {
|
130 | outline: .4em solid red;
|
131 | outline-offset: .4em;
|
132 | }
|