Skip to content

Commit

Permalink
Update nf.css
Browse files Browse the repository at this point in the history
  • Loading branch information
octoshrimpy authored Oct 29, 2022
1 parent 4871328 commit 508db85
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions nf.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@

@import "https://cdn.jsdelivr.net/gh/ryanoasis/nerd-fonts@master/css/nerd-fonts-generated.min.css";

@font-face {
font-family: "NF icons";
font-family: 'NerdFontsSymbols Nerd Font';
/* @TODO you need to adjust the path to the font: */
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');
font-weight: normal;
font-style:normal ;
font-style: normal;
}

.icon {
Expand All @@ -15,16 +19,16 @@
}

i[class^="nf-"] {
font-family: "NF icons";
font-family: 'NerdFontsSymbols Nerd Font';
speak: none;
font-style: normal;
font-weight: 400;
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;
transition: all 0.15s ease-in-out;
color: currentColor;
}

@import "https://cdn.jsdelivr.net/gh/ryanoasis/nerd-fonts@master/css/nerd-fonts-generated.min.css";

0 comments on commit 508db85

Please sign in to comment.