From 6da42f1532e3c6bfdc634c3e165364a4638231d0 Mon Sep 17 00:00:00 2001 From: Fini Jastrow Date: Mon, 9 Oct 2023 11:13:08 +0200 Subject: [PATCH] Remove dependency from FA's css [why] Keep the dependencies as small as possible. We already have the github icon in our own set which we import anyhow, so there is no need to fetch fontawesome's CSS. [how] Replace fa-github with nf-fa-github. Signed-off-by: Fini Jastrow --- _includes/css/nerd-font-tweaks.scss | 4 +--- index.html | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/_includes/css/nerd-font-tweaks.scss b/_includes/css/nerd-font-tweaks.scss index 1e2bea3f7..da0208d4c 100644 --- a/_includes/css/nerd-font-tweaks.scss +++ b/_includes/css/nerd-font-tweaks.scss @@ -535,10 +535,8 @@ a.nerd-font-button:before { } } */ + // Github url button - -@import url("https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"); - #github { text-decoration: none; color: #000000; diff --git a/index.html b/index.html index d3e67a0d6..c47fac90f 100755 --- a/index.html +++ b/index.html @@ -7,7 +7,7 @@
+ class="nf nf-fa-github">
{% include topnav.html %} {% for page in site.posts reversed %}