body { margin:40px auto; max-width:800px; line-height:1.6; font-size:18px; font-family: Sans-Serif; color:#444; padding: 1em; padding: 0 10px; } h1,h2,h3 { line-height:1.2; } @media (prefers-color-scheme: dark) { body { color:#ebecf7; background-color:#171b25; } a { color:#a7b1fc; }; a:visited { color:#ac71bb; } } @media (prefers-color-scheme: light) { body { color:#444; background-color:unset; } }