mirror of
https://github.com/Spythere/pojazdownik.git
synced 2026-05-03 11:45:34 +00:00
chore: added preloading images & fonts
This commit is contained in:
+4
-12
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user