:root { --bg: #f3f3f3; --fg: #181a1b; --link: #175db6; --code: #e8e8e8; --footer: #828997; --home-link: #c02c38; --quote-border: #c678dd; } .dark-mode { --bg: #282c34; --fg: #c8ceda; --link: #64d9a8; --code: #363a45; --footer: #828997; --home-link: #89b4fa; --quote-border: #c678dd; } html { background-color: var(--bg); color: var(--fg); } body { font: 1em/1.8 'Open Sans', sans-serif; margin: 0 auto; max-width: 50em; padding: 0em 1em; } header { overflow:hidden; margin-top: 1em; margin-bottom: 1em; font-size: 2em; color: var(--footer); } .nav-left { float:left; } .nav-right { float:right; } footer { margin-top: 3em; margin-bottom: 2em; text-align: center; font-size: 0.95em; color: var(--footer); } a { color: var(--link); text-decoration: none; } a:hover { text-decoration: underline; } pre > code { display: block; padding: 10px 15px; white-space: pre-wrap; line-height: 1.4em; } pre, code { font-family: 'Fira Code', monospace; font-size: 0.98em; /* color: var(--fg); */ background-color: var(--code); border-radius: 5px; } code { padding: 3px 5px; white-space: nowrap; } p img, table { max-width: 100%; } img { display: block; margin-left: auto; margin-right: auto; } blockquote { background-color: var(--code); border-left: 5px solid var(--quote-border); border-radius: 5px; margin: 0em 1em; padding-left: 1em; } .homepage-link { color: var(--home-link); } #darkmodetoggle:hover { cursor: pointer; text-decoration: none; } #title { margin-top: 0; } #date { margin-bottom: 0; }