Fixed a bg pane bug and added material icons fonts

This commit is contained in:
Alexis
2021-03-19 23:04:14 +01:00
parent e4c6861c06
commit 6784667b92
3 changed files with 26 additions and 1 deletions

View File

@@ -1,3 +1,14 @@
@keyframes toggleFavHeart {
0%, 20% {
color: #d01d35;
transform: scale(1.2);
}
100% {
color: #d01d35;
transform: scale(1);
}
}
@keyframes fadeInBg { @keyframes fadeInBg {
from { from {
opacity: 0; opacity: 0;

View File

@@ -1 +1,2 @@
@import url('https://fonts.googleapis.com/icon?family=Material+Icons|Material+Icons+Round');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Poppins:wght@400;600;700;800;900&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Poppins:wght@400;600;700;800;900&display=swap');

View File

@@ -66,6 +66,18 @@ a {
} }
} }
button {
&.no-style {
padding: 0;
background: none;
border: none;
cursor: pointer;
&:focus {
outline: none;
}
}
}
hr { hr {
border-color: rgba($white, .2); border-color: rgba($white, .2);
} }
@@ -140,13 +152,14 @@ hr {
width: 100%; width: 100%;
background-size: cover; background-size: cover;
background-attachment: fixed; background-attachment: fixed;
background-repeat: no-repeat;
z-index: -1; z-index: -1;
opacity: 33%; opacity: 33%;
pointer-events: none; pointer-events: none;
} }
&.bg-fade-in { &.bg-fade-in {
&:after { &:after {
width: 120vw; background-size: 120vw;
opacity: 0; opacity: 0;
animation: fadeInBg 2s ease-out 0s 1 forwards, animation: fadeInBg 2s ease-out 0s 1 forwards,
paneBgAround 35s ease-in-out 0s infinite forwards; paneBgAround 35s ease-in-out 0s infinite forwards;