Skip to content

Commit 67bc21d

Browse files
committed
调整文件名
1 parent 1ef1df1 commit 67bc21d

3 files changed

Lines changed: 47 additions & 47 deletions

File tree

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { createApp } from "vue";
22

33
import i18n from "./i18n";
4-
import "./style.css";
4+
import "./public.css";
55
import App from "./App.vue";
66

77
import "sober";

src/public.css

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
:root {
2+
color-scheme: dark;
3+
line-height: 1.5;
4+
font-weight: 400;
5+
font-synthesis: none;
6+
text-rendering: optimizeLegibility;
7+
-webkit-font-smoothing: antialiased;
8+
-moz-osx-font-smoothing: grayscale;
9+
cursor: default;
10+
user-select: none;
11+
}
12+
13+
:root,
14+
input,
15+
select,
16+
button,
17+
textarea {
18+
font-family: "HarmonyOS Sans SC", sans-serif;
19+
}
20+
21+
pre,
22+
input[type="text"],
23+
input[type="number"] {
24+
font-family: "Jetbrains Mono", monospace;
25+
}
26+
27+
* {
28+
outline: none;
29+
}
30+
31+
@font-face {
32+
font-family: "KaTeX";
33+
src: url("/fonts/KaTeX_AllInOne.woff2");
34+
}
35+
36+
.styled::part(input),
37+
.styled {
38+
font-family: "KaTeX", "Times new roman";
39+
font-variant-ligatures: common-ligatures discretionary-ligatures contextual
40+
historical-ligatures;
41+
}
42+
43+
.monospace,
44+
.monospace::part(input) {
45+
font-family: "Jetbrains Mono", monospace;
46+
}

src/style.css

Lines changed: 0 additions & 46 deletions
This file was deleted.

0 commit comments

Comments
 (0)