Fix fonts

This commit is contained in:
Hazem Krimi
2024-01-28 00:37:35 +01:00
parent 4cc71b0634
commit c3324f12f8
4 changed files with 3 additions and 16 deletions
+3 -1
View File
@@ -1,3 +1,5 @@
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');
:root { :root {
--black: #131314; --black: #131314;
--white: #dddddd; --white: #dddddd;
@@ -38,7 +40,7 @@
} }
body { body {
font-family: OpenSans, sans-serif; font-family: 'Open Sans', sans-serif;
font-size: 16px; font-size: 16px;
line-height: normal; line-height: normal;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
Binary file not shown.
Binary file not shown.
-15
View File
@@ -54,21 +54,6 @@
<link rel="icon" type="image/png" sizes="16x16" href="{{ $favIcon16.Permalink }}"> <link rel="icon" type="image/png" sizes="16x16" href="{{ $favIcon16.Permalink }}">
<link rel="icon" type="image/x-icon" href="{{ $favIcon.Permalink }}"> <link rel="icon" type="image/x-icon" href="{{ $favIcon.Permalink }}">
<link
rel="preload"
href="{{ $normalFont.Permalink }}"
as="font"
type="font/ttf"
crossorigin
/>
<link
rel="preload"
href="{{ $italicFont.Permalink }}"
as="font"
type="font/ttf"
crossorigin
/>
<link rel="stylesheet" href="{{ $baseStyles.Permalink }}"> <link rel="stylesheet" href="{{ $baseStyles.Permalink }}">
<link rel="stylesheet" href="{{ $partialsStyles.Permalink }}"> <link rel="stylesheet" href="{{ $partialsStyles.Permalink }}">
{{ block "styles" . }}{{ end }} {{ block "styles" . }}{{ end }}