Skip to content

Commit a83aebe

Browse files
Docs font
1 parent 12d1459 commit a83aebe

File tree

1 file changed

+38
-2
lines changed

1 file changed

+38
-2
lines changed

docs/content/fsdocs-theme.css

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,48 @@
1+
@font-face {
2+
font-family: 'Berkeley Mono';
3+
src: local('Berkeley Mono'),
4+
url('https://fonts.brb.engineering/BerkeleyMono/Regular/font.woff2') format('woff2');
5+
font-weight: normal;
6+
font-style: normal;
7+
font-display: swap;
8+
}
9+
10+
@font-face {
11+
font-family: 'Berkeley Mono';
12+
src: local('Berkeley Mono'),
13+
url('https://fonts.brb.engineering/BerkeleyMono/Italic/font.woff2') format('woff2');
14+
font-weight: normal;
15+
font-style: italic;
16+
font-display: swap;
17+
}
18+
19+
@font-face {
20+
font-family: 'Berkeley Mono';
21+
src: local('Berkeley Mono'),
22+
url('https://fonts.brb.engineering/BerkeleyMono/Bold/font.woff2') format('woff2');
23+
font-weight: bold;
24+
font-style: normal;
25+
font-display: swap;
26+
}
27+
28+
@font-face {
29+
font-family: 'Berkeley Mono';
30+
src: local('Berkeley Mono'),
31+
url('https://fonts.brb.engineering/BerkeleyMono/BoldItalic/font.woff2') format('woff2');
32+
font-weight: bold;
33+
font-style: italic;
34+
font-display: swap;
35+
}
36+
137
:root {
2-
--monospace-font: 'Cascadia Code', 'Fira Code', monospace;
38+
--monospace-font: 'Berkeley Mono', 'Cascadia Code', 'Fira Code', monospace;
339
}
440

541
pre,
642
code,
743
.fsdocs-tip,
844
.fssnip {
9-
font-feature-settings: 'ss02', 'ss03', 'ss04', 'ss05', 'ss06', 'zero', 'onum', 'calt';
45+
font-feature-settings: 'ss03', 'zero', 'calt';
1046
}
1147

1248
h1 code,

0 commit comments

Comments
 (0)