Refactor styles and improve accessibility

This commit is contained in:
Stephan
2022-09-30 22:20:09 +02:00
parent e76a4538c4
commit 7d2af3abfe
3 changed files with 6 additions and 3 deletions
+2 -1
View File
@@ -19,7 +19,8 @@
position: relative; position: relative;
&:hover .background { &:hover .background,
&:focus-visible .background {
transform: scale(1.1); transform: scale(1.1);
} }
} }
+3 -2
View File
@@ -1,3 +1,5 @@
@import "../../styles/highlight";
.test { .test {
background: white; background: white;
@@ -8,8 +10,7 @@
justify-content: center; justify-content: center;
@media only screen and (min-width: 900px) { @media only screen and (min-width: 900px) {
border-radius: 32px; @include highten;
box-shadow: 0 6px 13px rgba($color: #000000, $alpha: 0.25);
padding: 32px; padding: 32px;
} }
} }
+1
View File
@@ -1 +1,2 @@
$accent: #ff6565; $accent: #ff6565;
$unimportant: #636363;