mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2025-02-06 12:35:00 +02:00
Adds CSS header to be used with build script
This commit is contained in:
parent
846e1e6bc1
commit
df0dcb87dd
21
bin/scripts/css-header.txt
Normal file
21
bin/scripts/css-header.txt
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
@font-face {
|
||||||
|
font-family: 'NerdFontsSymbols Nerd Font';
|
||||||
|
src: url("../fonts/NerdFontsSymbols-2048-em Nerd Font Complete.ttf") format("truetype");
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nf, .nerd-font, .nerd-fonts {
|
||||||
|
font-family: 'NerdFontsSymbols Nerd Font';
|
||||||
|
speak: none;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: normal;
|
||||||
|
font-variant: normal;
|
||||||
|
text-transform: none;
|
||||||
|
line-height: 1;
|
||||||
|
/* Better Font Rendering (from devicons, et al) */
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user