Simplify & improve CSS

This commit is contained in:
Andras Schmelczer 2022-09-24 21:50:55 +02:00
parent 0c21bfc997
commit 7e88f405ad
No known key found for this signature in database
GPG key ID: 0EA1BC97D0AB076E
8 changed files with 44 additions and 43 deletions

View file

@ -13,6 +13,10 @@
color: var(--accent-color);
}
:focus:not(:hover) {
outline: var(--very-light-text-color) solid 3px !important;
}
h1,
.placeholder {
@include title-font();
@ -27,7 +31,6 @@
}
p {
@include main-font();
text-align: justify;
}

View file

@ -54,7 +54,7 @@
&:before {
transform: translateY(-50%) translateX(calc(3 * #{$margin} + #{$icon-size}));
animation: shine 3s linear alternate infinite;
animation: shine 2s linear alternate infinite;
background-color: var(--sun-color);
@keyframes shine {
from {
@ -63,7 +63,7 @@
}
to {
filter: brightness(1.1);
filter: brightness(1.2);
box-shadow: 0 0 15px 2px var(--sun-color);
}
}