mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-18 10:18:14 +08:00
🍱 字体文件变更
This commit is contained in:
@@ -1,51 +1,70 @@
|
||||
/*
|
||||
* @file assets index.css
|
||||
* @description 全局样式文件
|
||||
* @author BTMuli <bt-muli@outlook.com>
|
||||
* @since Alpha v0.2.0
|
||||
*/
|
||||
|
||||
@import "fonts/index.css";
|
||||
@import url("themes/default.css");
|
||||
@import url("themes/dark.css");
|
||||
|
||||
:root {
|
||||
/* font */
|
||||
--font-text: "JetBrians mono", "Genshin-Light", sans-serif;
|
||||
--font-title: "JetBrians mono Bold", "Genshin", serif;
|
||||
}
|
||||
|
||||
html {
|
||||
font-family: var(--font-text);
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @description 侧边滚动条样式
|
||||
* @since Alpha v0.1.3
|
||||
*/
|
||||
::-webkit-scrollbar {
|
||||
width: 8px;
|
||||
border-radius: 5px;
|
||||
width: 8px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-track {
|
||||
background: var(--scroll-bg);
|
||||
box-shadow: inset 0 0 5px var(--scroll-bg);
|
||||
border-radius: 5px;
|
||||
background: var(--scroll-bg);
|
||||
box-shadow: inset 0 0 5px var(--scroll-bg);
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
background: #96979A;
|
||||
border-radius: 5px;
|
||||
background: #96979A;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb:hover {
|
||||
background: #555;
|
||||
background: #555;
|
||||
}
|
||||
|
||||
/* card action 内的按钮 */
|
||||
.card-btn {
|
||||
background: #4a5366;
|
||||
color: #ece5d8;
|
||||
border-radius: 50px;
|
||||
margin-left: 5px;
|
||||
background: #4a5366;
|
||||
color: #ece5d8;
|
||||
border-radius: 50px;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
.card-btn img {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
margin: 5px;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
margin: 5px;
|
||||
}
|
||||
|
||||
.card-dev-btn {
|
||||
background: #546d8b;
|
||||
color: #faf7e8;
|
||||
background: #546d8b;
|
||||
color: #faf7e8;
|
||||
}
|
||||
|
||||
.card-dev-btn img {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user