diff --git a/src/css/base.css b/src/css/base.css index 500d598..bd74e2f 100644 --- a/src/css/base.css +++ b/src/css/base.css @@ -4,10 +4,14 @@ html { font-family: system-ui; } +:is(html, body):fullscreen { + height: 100vh; +} + html::before { content: attr(title); position: absolute; - inset: 97.5dvh 0 0; + inset: 97.5% 0 0; font-size: 0.8rem; font-weight: 300; font-family: inherit; @@ -22,7 +26,7 @@ html::after { z-index: -1; inset: 0; overflow: hidden; - height: 100dvh; + height: 100%; }