Fix auth font loading

This commit is contained in:
Matija Rešek
2021-10-06 09:47:29 +02:00
parent 40e0385045
commit 2af6b756e8
2 changed files with 9 additions and 39 deletions
+6 -36
View File
@@ -6,38 +6,6 @@
--body-margin: 2.6vw;
}
@font-face {
font-family: 'Poppins-Bold';
src: url('./fonts/poppins/Poppins-Bold.ttf') format('truetype');
font-weight: 100 900;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Poppins-SemiBold';
src: url('./fonts/poppins/Poppins-SemiBold.ttf') format('truetype');
font-weight: 100 900;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Poppins-Regular';
src: url('./fonts/poppins/Poppins-Regular.ttf') format('truetype');
font-weight: 100 900;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Poppins-Medium';
src: url('./fonts/poppins/Poppins-Medium.ttf') format('truetype');
font-weight: 100 900;
font-style: normal;
font-display: swap;
}
html {
height: 100%;
}
@@ -45,7 +13,7 @@ html {
body {
margin-top: var(--body-margin);
font-family: 'Poppins-Regular';
font-family: 'Poppins', sans-serif;
min-height: calc(100% - var(--body-margin));
display: grid;
grid-template-rows: auto;
@@ -67,7 +35,8 @@ body {
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
font-family: 'Poppins-SemiBold';
font-family: 'Poppins';
font-weight: 600;
}
thead th,
@@ -75,13 +44,14 @@ legend,
label,
a,
.btn {
font-family: 'Poppins-Medium';
font-family: 'Poppins';
}
strong,
b,
.font-weight-bold {
font-family: 'Poppins-SemiBold';
font-family: 'Poppins';
font-weight: 600;
}
/* over-ride default variables colors */
+3 -3
View File
@@ -7,11 +7,11 @@
<link href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css" rel="stylesheet">
<!-- Bootstrap icons -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.3.0/font/bootstrap-icons.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap" rel="stylesheet">
<!-- Custom CSS -->
<link href="{{ links.Assets }}/style.css?{{ buildtime }}" rel="stylesheet">
<!-- Nunito font -->
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Nunito:wght@400;600&display=swap" rel="stylesheet">
<title>Corteza</title>
</head>
<body style="background: url({{ links.Assets }}/background.jpeg) no-repeat top;background-size: cover;background-attachment: fixed;">