:root { --width: 800px; --font-main: Verdana, sans-serif; --font-secondary: Verdana, sans-serif; --font-scale: 1em; --background-color: #1e1e2e; /* Base color */ --heading-color: #cdd6f4; /* Text color */ --text-color: #cdd6f4; /* Text color */ --link-color: #89b4fa; /* Blue */ --visited-color: #cba6f7; /* Mauve */ --code-background-color: #313244; /* Surface1 */ --code-color: #cdd6f4; /* Text color */ --blockquote-color: #cdd6f4; /* Text color */ } @media (prefers-color-scheme: dark) { :root { --background-color: #1e1e2e; /* Base color */ --heading-color: #cdd6f4; /* Text color */ --text-color: #cdd6f4; /* Text color */ --link-color: #89b4fa; /* Blue */ --visited-color: #cba6f7; /* Mauve */ --code-background-color: #313244; /* Surface1 */ --code-color: #cdd6f4; /* Text color */ --blockquote-color: #cdd6f4; /* Text color */ } } body { font-family: var(--font-secondary); font-size: var(--font-scale); margin: auto; padding: 20px; max-width: var(--width); text-align: left; background-color: var(--background-color); word-wrap: break-word; overflow-wrap: break-word; line-height: 1.5; color: var(--text-color); } h1, h2, h3, h4, h5, h6 { font-family: var(--font-main); color: var(--heading-color); } a { color: var(--link-color); cursor: pointer; text-decoration: none; } a:hover { text-decoration: underline; } nav a { margin-right: 8px; } strong, b { color: var(--heading-color); } button { margin: 0; cursor: pointer; } main { line-height: 1.6; } table { width: 100%; } hr { border-top: 1px dashed var(--blockquote-color); } img { max-width: 100%; } code { font-family: monospace; padding: 2px; background-color: var(--code-background-color); color: var(--code-color); border-radius: 3px; } blockquote { border-left: 2px solid var(--link-color); color: var(--blockquote-color); padding-left: 20px; font-style: italic; } footer { padding: 25px 0; text-align: center; } .title:hover { text-decoration: none; } .title h1 { font-size: 1.5em; } .inline { width: auto !important; } .highlight, .code { padding: 1px 15px; background-color: var(--code-background-color); color: var(--code-color); border-radius: 3px; } /* blog post list */ ul.blog-posts { list-style-type:none;padding:none } ul.blog-posts li{display:flex} ul.blog-posts li span{flex-basis:auto} ul.blog-posts li a{color:#cba6f7} ul.blog-posts li a:hover{text-decoration:none} ul.blog-posts li a::before{content:"\2022";margin-right:.5rem;color:#89b4fa} textarea { background-color: #1e1e2e; /* Base color */ color: #cdd6f4; /* Text color */ border: 1px solid #313244; /* Surface1 */ padding: 10px; font-family: Verdana, sans-serif; font-size: 1em; resize: vertical; /* Allow vertical resizing only */ outline: none; } textarea:focus { border-color: #89b4fa; /* Blue for focus */ box-shadow: 0 0 5px #89b4fa; } input:not([type="submit"]), textarea, .editable { background-color: #1e1e2e; /* Base color */ color: #cdd6f4; /* Text color */ border: 1px solid #313244; /* Surface1 */ padding: 10px; font-family: Verdana, sans-serif; font-size: 1em; outline: none; } input:not([type="submit"]):focus, textarea:focus, .editable:focus { border-color: #89b4fa; /* Blue for focus */ box-shadow: 0 0 5px #89b4fa; } @media (prefers-color-scheme: dark) { input:not([type="submit"]), textarea, .editable { background-color: #1e1e2e; /* Base color */ color: #cdd6f4; /* Text color */ border: 1px solid #313244; /* Surface1 */ } }