Skip to content

Commit 5c9ce25

Browse files
feat: new coord font
1 parent d17da9a commit 5c9ce25

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

src/components/CoordDisplay.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
}
2727

2828
.coord {
29-
font-family: 'Roboto Mono', Consolas, monospace;
29+
font-family: 'MC Font', Consolas, monospace;
3030
}
3131

3232
.p {

src/css/custom.css

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,19 @@
44
* work well for content-centric websites.
55
*/
66

7-
/*
7+
/*
88
<link rel='stylesheet' href='https://chinese-fonts-cdn.deno.dev/packages/qxs/dist/quan/result.css' />
99
*/
1010
/* @import url('https://chinese-fonts-cdn.deno.dev/packages/qxs/dist/quan/result.css'); */
1111

1212
/* Many Thanks to Mi Inc. credits for them!! */
1313
@import url('https://cdn-font.hyperos.mi.com/font/css?family=MiSans:100,200,300,400,450,500,600,650,700,900:Chinese_Simplify,Latin&display=swap');
1414

15+
@font-face {
16+
font-family: 'MC Font';
17+
src: url('/fonts/mc_font.otf') format('opentype');
18+
}
19+
1520
.cubic-font {
1621
font-family: 'QuanPixel 8px';
1722
font-weight: 'Regular';
@@ -37,7 +42,7 @@
3742
* {
3843
/* font-family: source-serif-pro, Georgia, Cambria, "Times New Roman", Times, serif; */
3944

40-
font-family: "MiSans", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
45+
font-family: 'MiSans', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
4146
color: #292929;
4247
letter-spacing: 0.03em;
4348
}

static/fonts/mc_font.otf

10.8 KB
Binary file not shown.

static/fonts/mc_font.woff2

3.46 KB
Binary file not shown.

0 commit comments

Comments
 (0)