Skip to content

Commit 8ed5501

Browse files
committed
docs(font): improve font settings, the previous settings were ineffective as Artegra is not available on Google Fonts.
1 parent 506b566 commit 8ed5501

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

docs/ArtegraSans-Regular.ttf

205 KB
Binary file not shown.

docs/extra.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
@font-face {
2+
font-family: "Artegra Sans";
3+
src: url("ArtegraSans-Regular.ttf");
4+
}
5+
6+
html {
7+
font-family: "Artegra Sans", Sans-serif;
8+
}
9+
110
[data-md-color-scheme="default"] {
211
--md-primary-fg-color: #002060;
312
--md-typeset-a-color: #008ed5;

mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ theme:
3434
logo: logo.svg
3535
favicon: favicon.png
3636
font:
37-
text: Artegra Sans
37+
text: Artegra Sans
3838
palette:
3939
- media: "(prefers-color-scheme: light)"
4040
scheme: default

0 commit comments

Comments
 (0)