mirror of
https://github.com/hazemKrimi/personal-website.git
synced 2026-05-01 18:00:26 +00:00
Fix fonts
This commit is contained in:
@@ -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.
@@ -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 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user