:root { background-color: white; color: black; } :root, input, textarea { font-family: Garamond, Times New Roman, serif; line-height: 1.25; font-size: 12pt; } body { margin: 0; padding: 0; } a { color: #d83; text-decoration: none; } .top-nav { position: fixed; top: 0; left: 0; right: 0; height: 2em; text-align: center; background-color: white; box-shadow: 0 0.25rem 0.25rem rgba(0, 0, 0, 0.25); } .title { display: inline-block; font-size: 1.2rem; line-height: 1.2rem; font-weight: bold; padding-top: 0.4rem; } .menu-container { position: absolute; top: 0; right: 0; } .menu-container summary { list-style-type: none; text-align: right; -webkit-user-select: none; user-select: none; } .menu-container summary:hover { color: #d83; } .menu-container summary span { display: inline-block; line-height: 1rem; padding: 0.5rem 0.7rem; margin: 0; border-radius: 0.5rem; } .menu-container details { text-align: left; } .menu-container details[open] summary span { background-color: #d83; color: white; } .menu-container ul { margin: 0; padding: 0; list-style-type: none; border: 1px solid #ccc; background-color: #eee; box-shadow: 0 0.25rem 0.25rem rgba(0, 0, 0, 0.25); } .menu-container a li { color: #d83; } .menu-container a:hover li { background-color: #d83; color: black; } .menu-container li { padding: 0.4em 1em; } .menu-container a + a li { border-top: 1px solid #ccc; } summary::-webkit-details-marker { display: none; } .content { max-width: 66ch; margin: 2.5em auto 2em auto; padding: 0.5em; } .error { padding: 1em; border: 1px solid #400; background-color: #fcc; color: #d00; font-weight: bold; margin-bottom: 1em; } .important { padding: 1em; border: 1px solid #886; background-color: #ffc; color: black; margin-bottom: 1em; } textarea { width: 100%; height: 8em; font-family: inherit; margin: 0; box-sizing: border-box; } textarea::placeholder { font-size: 1rem; } .submit-post { text-align: right; } input[type="submit"] { margin-top: 0.5em; min-width: 15ch; } .post-container { margin-top: 1.5rem; } .post { margin-top: 0.5em; margin-bottom: 1em; } .post p { margin: 0 0 1em 0; } .post p:last-child { margin: 0; } .post-date { font-size: 80%; color: #888; margin-top: 0.5em; } @media(prefers-color-scheme: dark) { :root, textarea, input, select { background-color: #222; color: white; } .top-nav { background-color: #444; } .menu-container ul { border: 1px solid black; background-color: #444; } .menu-container a + a li { border-top: 1px solid #000; } } @media screen and (max-width: 450px) { :root { font-size: 16pt; } }