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

@ -14,6 +14,16 @@
}
}
html[animations='off'] {
&,
*,
*::before,
*::after {
transition: none !important;
animation: none !important;
}
}
html {
height: 100%;
@ -44,6 +54,10 @@ body {
}
}
svg {
stroke: var(--normal-text-color);
}
p {
@include main-font();
}
@ -51,6 +65,7 @@ p {
noscript {
@include square(100%);
@include center-children();
@include sub-title-font();
}
.start-button {
@ -115,7 +130,7 @@ iframe {
outline: none;
&:not(:hover) {
outline: var(--accent-color) solid 2px;
outline: var(--accent-color) solid 3px;
}
}