add: Fonts Awesome字体

美化滚动条
This commit is contained in:
2024-01-21 22:02:45 +08:00
parent 50306e2943
commit a7286c86e3
9 changed files with 57 additions and 5 deletions

View File

@@ -0,0 +1,2 @@
*.ttf filter=lfs diff=lfs merge=lfs -text
*.woff2 filter=lfs diff=lfs merge=lfs -text

BIN
YaeBlog.Theme.FluentUI/wwwroot/fonts/fa-regular-400.ttf (Stored with Git LFS) Normal file

Binary file not shown.

BIN
YaeBlog.Theme.FluentUI/wwwroot/fonts/fa-regular-400.woff2 (Stored with Git LFS) Normal file

Binary file not shown.

BIN
YaeBlog.Theme.FluentUI/wwwroot/fonts/fa-solid-900.ttf (Stored with Git LFS) Normal file

Binary file not shown.

BIN
YaeBlog.Theme.FluentUI/wwwroot/fonts/fa-solid-900.woff2 (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -5,3 +5,37 @@ body a {
html, body {
height: 100%;
}
*::-webkit-scrollbar {
width: 8px;
height: 8px;
}
*::-webkit-scrollbar-thumb {
background-color: #80c8f8;
}
*::-webkit-scrollbar-track {
background-color: transparent;
}
* {
scrollbar-width: thin;
scrollbar-color: #80c8f8 transparent;
}
@font-face {
font-family: "Font Awesome 6 Free";
font-style: normal;
font-weight: 400;
font-display: block;
src: url(fonts/fa-regular-400.woff2) format("woff2"),url(fonts/fa-regular-400.ttf) format("truetype")
}
@font-face {
font-family: "Font Awesome 6 Free";
font-style: normal;
font-weight: 900;
font-display: block;
src: url(fonts/fa-solid-900.woff2) format("woff2"),url(fonts/fa-solid-900.ttf) format("truetype")
}