chore: added preloading images & fonts

This commit is contained in:
2025-11-03 23:09:47 +01:00
parent 4022d2ea2f
commit 05dbf33b4f
7 changed files with 54 additions and 61 deletions
+4 -12
View File
@@ -10,16 +10,6 @@ $accentColor: #e4c428;
$sponsorColor: gold;
$teamColor: #ff4848;
@font-face {
font-family: 'Lato';
src:
url('/fonts/Lato-Light.woff2') format('woff2'),
url('/fonts/Lato-Light.woff') format('woff');
font-weight: 300;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Lato';
src:
@@ -350,7 +340,7 @@ hr {
outline: none;
}
label > input:checked + span {
label>input:checked+span {
color: $accentColor;
border-color: $accentColor;
}
@@ -358,6 +348,7 @@ hr {
// Vue Transition anims
.slide-top {
&-enter-from,
&-leave-to {
transform: translateY(-100%);
@@ -370,6 +361,7 @@ hr {
}
.card-appear {
&-enter-from,
&-leave-to {
opacity: 0;
@@ -379,4 +371,4 @@ hr {
&-leave-active {
transition: all 100ms ease-in-out;
}
}
}