Improved card fold, Added one to the index, Fixed typos

Update .gitignore, 403.php, and 4 more files...
This commit is contained in:
2022-09-22 12:46:12 +02:00
parent 2555400b2d
commit 4a8b815b6e
6 changed files with 53 additions and 4 deletions

View File

@@ -21,6 +21,13 @@
user-select: none;
&.primary {
color: var(--dm-button-primary-text-color);
background-color: var(--dm-button-primary-bg-color);
background-image: var(--dm-button-primary-bg-image);
border-color: var(--dm-button-primary-border-color);
}
&.secondary {
color: var(--dm-button-secondary-text-color);
background-color: var(--dm-button-secondary-bg-color);
@@ -41,6 +48,11 @@
bottom: 0.2rem;
transition: right 0.25s ease, bottom 0.25s ease;
transition-timing-function: cubic-bezier(.47,1.64,.41,.8);
&.r-45 {
// Small fix
right: 0.4rem;
}
}
&:hover {
@@ -51,6 +63,29 @@
i {
bottom: 0.325em;
right: 0.325rem;
&.r-45 {
// Small fix
right: 0.7rem;
}
}
}
// Extra rule for mobile
// If it doesn't work, use "768px" !
@media (max-width: 576px) {
width: 3.5rem;
height: 3.5rem;
opacity: 0.8;
i {
bottom: 0.325em;
right: 0.325rem;
&.r-45 {
// Small fix
right: 0.7rem;
}
}
}
}

View File

@@ -14,3 +14,11 @@
// Same as above.
text-transform: uppercase;
}
.r-45 {
transform: rotate(45deg);
}
.r-135 {
transform: rotate(135deg);
}