1
0
mirror of https://github.com/danbee/danbarber.me.hugo.git synced 2025-03-04 08:59:18 +00:00
danbarber.me.hugo/assets/css/elements/_html.scss

26 lines
501 B
SCSS

html {
background-color: $background-color;
color: $text-color;
font-family: $body-font-family;
font-size: calc(1vmin + 13px);
font-style: normal;
font-weight: 300;
hanging-punctuation: first last;
line-height: 1.6;
@media (prefers-color-scheme: dark) {
background-color: $background-color-dark;
color: $text-color-dark;
}
}
_:default:not(:root:root),
html {
animation: webkitfix 1s forwards infinite;
}
@-webkit-keyframes webkitfix {
100% {
z-index: auto;
}
}