From 0d1956e4b6dbf511b6968aa1aca6af4c814814b0 Mon Sep 17 00:00:00 2001 From: Oscar Najera Date: Fri, 17 Jan 2025 04:43:33 +0100 Subject: [CSS][Icons] Vendor Fontawesome & Academicons Instead of loading from CDN all the css, vendor it an only include the CSS classes that I use. Font awesome 6.7.2 Academicons 1.9.4 --- assets/js/loads.js | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'assets/js') diff --git a/assets/js/loads.js b/assets/js/loads.js index c8a03a7..c50037c 100644 --- a/assets/js/loads.js +++ b/assets/js/loads.js @@ -11,14 +11,4 @@ addEventListener("load", function () { if (document.querySelector(".highlight .chroma")) { load_css("/css/syntax.css"); } - - if (document.querySelector(".ai")) { - load_css( - "https://cdn.jsdelivr.net/gh/jpswalsh/academicons@1/css/academicons.min.css", - ); - } - if (document.querySelectorAll(".fa,.fab,.fas,.far")) - load_css( - "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css", - ); }); -- cgit v1.2.3