@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100;200&display=swap'); :root, :root.dark { --backgroundDark:#2F2536; --foregroundDark:#E1B8FF; --illustrationDark: white; --backgroundLight: #f5eaff; --foregroundLight: #49332d; --illustrationLight: #8c002e; --padding: 16px; --background: var(--backgroundDark); --foreground: var(--foregroundDark); --illustration: var(--illustrationDark); } @media (prefers-color-scheme: light) { :root { --background: var(--backgroundLight); --foreground: var(--foregroundLight); --illustration: var(--illustrationLight); } } :root.light { --background: var(--backgroundLight); --foreground: var(--foregroundLight); --illustration: var(--illustrationLight); } body { background-color: var(--background); color: var(--foreground); margin: 0; padding: 0; font-family: 'Outfit', sans-serif; } #container { min-height: 100vh; display: flex; flex-direction: column; } #container header { display: flex; flex-direction: row; align-items: center; width: 100%; border-bottom: solid 1px var(--foreground); } #container header p.site-title { margin: calc(var(--padding) / 2) var(--padding); } #container header p.site-title a { font-size: 28px; color: inherit; text-decoration: none; } #container header nav { flex: 1; text-align: right; margin: calc(var(--padding) / 2) var(--padding); } #container header nav a { margin-left: var(--padding); color: inherit; } #container main { width: 800px; max-width: calc(100vw - 300px); min-width: 300px; margin: 0 auto; } #container main canvas { color: var(--illustration); } #container main p > code { padding: 2px 4px; position: relative; font-style: italic; white-space: pre; } #container main p > code::before { content: ' '; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: currentColor; border-radius: 8px; opacity: .15; pointer-events: none; } #container main p > code::after { content: ' '; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border: solid 1px currentColor; opacity: .8; border-radius: 8px; pointer-events: none; }