Skip to content

Commit 508db85

Browse files
authored
Update nf.css
1 parent 4871328 commit 508db85

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

nf.css

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1+
2+
@import "https://cdn.jsdelivr.net/gh/ryanoasis/nerd-fonts@master/css/nerd-fonts-generated.min.css";
3+
14
@font-face {
2-
font-family: "NF icons";
5+
font-family: 'NerdFontsSymbols Nerd Font';
6+
/* @TODO you need to adjust the path to the font: */
37
src: url('https://cdn.jsdelivr.net/gh/ryanoasis/nerd-fonts@master/patched-fonts/NerdFontsSymbolsOnly/complete/Symbols-2048-em%20Nerd%20Font%20Complete%20Mono%20Windows%20Compatible.ttf') format('truetype');
48
font-weight: normal;
5-
font-style:normal ;
9+
font-style: normal;
610
}
711

812
.icon {
@@ -15,16 +19,16 @@
1519
}
1620

1721
i[class^="nf-"] {
18-
font-family: "NF icons";
22+
font-family: 'NerdFontsSymbols Nerd Font';
23+
speak: none;
1924
font-style: normal;
20-
font-weight: 400;
25+
font-weight: normal;
2126
font-variant: normal;
2227
text-transform: none;
2328
line-height: 1;
29+
/* Better Font Rendering (from devicons, et al) */
2430
-webkit-font-smoothing: antialiased;
2531
-moz-osx-font-smoothing: grayscale;
2632
transition: all 0.15s ease-in-out;
2733
color: currentColor;
2834
}
29-
30-
@import "https://cdn.jsdelivr.net/gh/ryanoasis/nerd-fonts@master/css/nerd-fonts-generated.min.css";

0 commit comments

Comments
 (0)