Skip to content

Commit f7b4bf1

Browse files
authored
docs: prism.css (#57)
# Motivation <!-- Why is this change necessary? --> # Content <!-- Please include a summary of the change --> # Testing <!-- How was the change tested? --> # Please check the following before marking your PR as ready for review - [ ] I have added tests for my changes - [ ] I have updated the documentation or added new documentation as needed - [ ] I have read and agree to the [Contributor License Agreement](../CLA.md)
1 parent f7281ef commit f7b4bf1

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

docs/prism.css

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
1+
/* Override font variables */
2+
:root {
3+
--font-jetbrains-mono: Menlo, Monaco, "Courier New", monospace !important;
4+
/* --font-jetbrains-mono: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace !important; */
5+
}
6+
7+
pre[class*="language-"],
8+
code[class*="language-"],
9+
pre,
10+
code,
11+
kbd,
12+
samp {
13+
font-family: Menlo, Monaco, "Andale Mono", "Ubuntu Mono", monospace !important;
14+
--font-jetbrains-mono: Consolas, Monaco, "Andale Mono", "Ubuntu Mono",
15+
monospace !important;
16+
font-weight: 500 !important;
17+
}
18+
119
pre[class*="language-"] {
2-
font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
20+
font-family: Menlo, Monaco, "Andale Mono", "Ubuntu Mono", monospace !important;
21+
font-weight: 500 !important;
322
text-align: left;
423
white-space: pre;
524
word-spacing: normal;
@@ -52,7 +71,7 @@ pre[class*="language-"] {
5271

5372
.language-python .language-bash {
5473
background-color: #15141b !important;
55-
font-family: Menlo, Monaco, Consolas, "Courier New", monospace !important;
74+
font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace !important;
5675
font-weight: 600 !important;
5776
font-size: 16px !important;
5877
}

0 commit comments

Comments
 (0)