UNPKG

1.81 kBCSSView Raw
1/**
2 * Nord Theme Originally by Arctic Ice Studio
3 * https://nordtheme.com
4 *
5 * Ported for PrismJS by Zane Hitchcoxc (@zwhitchcox) and Gabriel Ramos (@gabrieluizramos)
6 */
7
8code[class*="language-"],
9pre[class*="language-"] {
10 color: #f8f8f2;
11 background: none;
12 font-family: "Fira Code", Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
13 text-align: left;
14 white-space: pre;
15 word-spacing: normal;
16 word-break: normal;
17 word-wrap: normal;
18 line-height: 1.5;
19 -moz-tab-size: 4;
20 -o-tab-size: 4;
21 tab-size: 4;
22 -webkit-hyphens: none;
23 -moz-hyphens: none;
24 -ms-hyphens: none;
25 hyphens: none;
26}
27
28/* Code blocks */
29pre[class*="language-"] {
30 padding: 1em;
31 margin: .5em 0;
32 overflow: auto;
33 border-radius: 0.3em;
34}
35
36:not(pre) > code[class*="language-"],
37pre[class*="language-"] {
38 background: #2E3440;
39}
40
41/* Inline code */
42:not(pre) > code[class*="language-"] {
43 padding: .1em;
44 border-radius: .3em;
45 white-space: normal;
46}
47
48.token.comment,
49.token.prolog,
50.token.doctype,
51.token.cdata {
52 color: #636f88;
53}
54
55.token.punctuation {
56 color: #81A1C1;
57}
58
59.namespace {
60 opacity: .7;
61}
62
63.token.property,
64.token.tag,
65.token.constant,
66.token.symbol,
67.token.deleted {
68 color: #81A1C1;
69}
70
71.token.number {
72 color: #B48EAD;
73}
74
75.token.boolean {
76 color: #81A1C1;
77}
78
79.token.selector,
80.token.attr-name,
81.token.string,
82.token.char,
83.token.builtin,
84.token.inserted {
85 color: #A3BE8C;
86}
87
88.token.operator,
89.token.entity,
90.token.url,
91.language-css .token.string,
92.style .token.string,
93.token.variable {
94 color: #81A1C1;
95}
96
97.token.atrule,
98.token.attr-value,
99.token.function,
100.token.class-name {
101 color: #88C0D0;
102}
103
104.token.keyword {
105 color: #81A1C1;
106}
107
108.token.regex,
109.token.important {
110 color: #EBCB8B;
111}
112
113.token.important,
114.token.bold {
115 font-weight: bold;
116}
117
118.token.italic {
119 font-style: italic;
120}
121
122.token.entity {
123 cursor: help;
124}