feat: Using nerd fonts symbol icons
This commit is contained in:
parent
3abde8a76f
commit
de0ab61b22
4 changed files with 51 additions and 7 deletions
42
assets/css/webfont.css
Normal file
42
assets/css/webfont.css
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
/*
|
||||
*# [Nerd Fonts] Website: https://www.nerdfonts.com
|
||||
*# [Nerd Fonts] Development Website: https://github.com/ryanoasis/nerd-fonts
|
||||
*# [Nerd Fonts] Version: 3.4.0
|
||||
*# [Nerd Fonts] The following is generated from the build script
|
||||
*/
|
||||
@font-face {
|
||||
font-family: "NerdFontsSymbols Nerd Font";
|
||||
src: url("../fonts/SymbolsNerdFontMono-Regular.ttf") format("truetype");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
.nf,
|
||||
.nerd-font,
|
||||
.nerd-fonts {
|
||||
font-family: "NerdFontsSymbols Nerd Font";
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-variant: normal;
|
||||
text-transform: none;
|
||||
line-height: 1;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
.nf-fa-terminal:before {
|
||||
content: "\f120";
|
||||
}
|
||||
.nf-cod-diff_added:before {
|
||||
content: "\eadc";
|
||||
}
|
||||
.nf-oct-download:before {
|
||||
content: "\f409";
|
||||
}
|
||||
.nf-dev-readthedocs:before {
|
||||
content: "\e889";
|
||||
}
|
||||
.nf-fa-readme:before {
|
||||
content: "\eda4";
|
||||
}
|
||||
.nf-fa-people_carry_box:before {
|
||||
content: "\eda2";
|
||||
}
|
||||
BIN
assets/fonts/SymbolsNerdFontMono-Regular.ttf
Normal file
BIN
assets/fonts/SymbolsNerdFontMono-Regular.ttf
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue