@font-face { font-family: 'Merriweather'; font-style: normal; font-weight: 300 900; font-stretch: 87% 112%; font-display: swap; src: url(/static/font/mwtr/mw.woff2) format('woff2'); } :root { --base-hue: 197; /* miku blue as default if no js*/ --spacing: 60; --base-color: oklch(0.8 0.12 var(--base-hue)); --text-color: oklch(from var(--base-color) l c calc(h - var(--spacing))); --bg-color: oklch(from var(--base-color) 0.175 0.02 calc(h + var(--spacing))); } html { align-content: center; height: 100%; margin: 0; } body { font-family: Merriweather, serif; font-variation-settings: 'wght'; text-align: center; font-size: 1.5rem; color: var(--text-color); background-color: var(--bg-color); } h1 { color: var(--base-color); font-size: 6rem; font-variation-settings: 'wght' 850, 'wdth' 92; padding: 1rem 1.75rem; margin: 2rem auto; width: min-content; border-radius: 1.25rem; border-style: solid; border-color: var(--base-color); border-width: 0.125ch; } a { font-variation-settings: 'wght' 600, 'wdth' 90; color: var(--text-color); transition: color 150ms, background-color 150ms, font-variation-settings 150ms, padding 150ms; border-radius: 10px; padding: 8px; &:hover { font-variation-settings: 'wght' 750, 'wdth' 102; color: var(--bg-color); background-color: var(--text-color); text-decoration: none; padding: 12px 18px; } }