Simplify & improve CSS
This commit is contained in:
parent
0c21bfc997
commit
7e88f405ad
8 changed files with 44 additions and 43 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue