theme: fix page background and make headings slightly smaller

This commit is contained in:
jaseg 2025-10-21 10:59:33 +02:00
parent d70e23068c
commit 0a095fa359

View file

@ -121,6 +121,7 @@ html, body {
border: 0;
margin: 0;
padding: 0;
min-height: 100vh;
}
body {
@ -292,7 +293,7 @@ body > header > h1 {
-webkit-background-clip: text;
color: transparent;
filter: drop-shadow(0 0 10px rgba(0, 0, 0, var(--shadow-opacity)));
font-size: clamp(20px, 120px, min(10vw, 10vh));
font-size: clamp(20px, 60px, min(10vw, 10vh));
/* Padding to avoid the first character getting cut off in firefox */
padding-left: 40px;
padding-right: 40px;