Skip to content

Commit fd3a038

Browse files
committed
Add new theme and update prismjs css
1 parent f52f766 commit fd3a038

File tree

1 file changed

+143
-0
lines changed

1 file changed

+143
-0
lines changed

static/style.css

Lines changed: 143 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,143 @@
1+
:root {
2+
--background: #FFFBF7;
3+
--foreground: #45372B;
4+
--accent: #DF7020;
5+
}
6+
7+
/* PrismJS 1.29.0
8+
https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript+bash+plsql+ruby+sql */
9+
code[class*=language-],
10+
pre[class*=language-] {
11+
color: #000;
12+
background: 0 0;
13+
text-shadow: 0 1px #fff;
14+
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
15+
font-size: 1em;
16+
text-align: left;
17+
white-space: pre;
18+
word-spacing: normal;
19+
word-break: normal;
20+
word-wrap: normal;
21+
line-height: 1.5;
22+
-moz-tab-size: 4;
23+
-o-tab-size: 4;
24+
tab-size: 4;
25+
-webkit-hyphens: none;
26+
-moz-hyphens: none;
27+
-ms-hyphens: none;
28+
hyphens: none
29+
}
30+
31+
code[class*=language-] ::-moz-selection,
32+
code[class*=language-]::-moz-selection,
33+
pre[class*=language-] ::-moz-selection,
34+
pre[class*=language-]::-moz-selection {
35+
text-shadow: none;
36+
background: #b3d4fc
37+
}
38+
39+
code[class*=language-] ::selection,
40+
code[class*=language-]::selection,
41+
pre[class*=language-] ::selection,
42+
pre[class*=language-]::selection {
43+
text-shadow: none;
44+
background: #b3d4fc
45+
}
46+
47+
@media print {
48+
49+
code[class*=language-],
50+
pre[class*=language-] {
51+
text-shadow: none
52+
}
53+
}
54+
55+
pre[class*=language-] {
56+
padding: 1em;
57+
margin: .5em 0;
58+
overflow: auto
59+
}
60+
61+
:not(pre)>code[class*=language-],
62+
pre[class*=language-] {
63+
background: #f5f2f0
64+
}
65+
66+
:not(pre)>code[class*=language-] {
67+
padding: .1em;
68+
border-radius: .3em;
69+
white-space: normal
70+
}
71+
72+
.token.cdata,
73+
.token.comment,
74+
.token.doctype,
75+
.token.prolog {
76+
color: #708090
77+
}
78+
79+
.token.punctuation {
80+
color: #999
81+
}
82+
83+
.token.namespace {
84+
opacity: .7
85+
}
86+
87+
.token.boolean,
88+
.token.constant,
89+
.token.deleted,
90+
.token.number,
91+
.token.property,
92+
.token.symbol,
93+
.token.tag {
94+
color: #905
95+
}
96+
97+
.token.attr-name,
98+
.token.builtin,
99+
.token.char,
100+
.token.inserted,
101+
.token.selector,
102+
.token.string {
103+
color: #690
104+
}
105+
106+
.language-css .token.string,
107+
.style .token.string,
108+
.token.entity,
109+
.token.operator,
110+
.token.url {
111+
color: #9a6e3a;
112+
background: hsla(0, 0%, 100%, .5)
113+
}
114+
115+
.token.atrule,
116+
.token.attr-value,
117+
.token.keyword {
118+
color: #07a
119+
}
120+
121+
.token.class-name,
122+
.token.function {
123+
color: #dd4a68
124+
}
125+
126+
.token.important,
127+
.token.regex,
128+
.token.variable {
129+
color: #e90
130+
}
131+
132+
.token.bold,
133+
.token.important {
134+
font-weight: 700
135+
}
136+
137+
.token.italic {
138+
font-style: italic
139+
}
140+
141+
.token.entity {
142+
cursor: help
143+
}

0 commit comments

Comments
 (0)