body { max-width: 650px; margin: 40px auto; padding: 0 10px; color: #444444; background: #eeeeee; animation: fadeIn 0.5s; } @keyframes fadeIn { 0% {opacity: 0;} 100% {opacity: 1;} } h1, h2, h3, h4, h5, h6 { color: #010101; } body, button { font: 18px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; } div { border-top: 1px solid; } textarea { width: 100%; height: 15em; padding-top: 1em; resize: none; } input { height: 100%; } label, input, button, textarea { display: block; margin-top: 1em; border: none; border-radius: 5px; transition-duration: 0.2s; } input, textarea, button { border: 1px solid #44444444; } input:focus, textarea:focus, button:focus { outline: none; } input:focus, textarea:focus { border: 1px solid #444444aa; } textarea:disabled, input:disabled { opacity: 40%; } .alert { border-radius: 3px; margin-top: 0.5em; padding: 0.75em; background: #ffffff44; width: 75%; } .alert-error { background: #ffaaaa44; } .alert-info { background: #aaaaff44; } [hidden] { animation: fadeOut 0.2s, disappear 0.3s; opacity: 0; visibility: hidden; max-height: 0; margin: 0; } @keyframes fadeOut { 0% {opacity: 1; visibility: visible;} 100% {opacity: 0; visibility: hidden;} } @keyframes disappear { 0% { max-height: 100em; } 100% { max-height: 0; margin: 0; } } p { text-align: justify; } button { transition-duration: 0.05s; border: 1px solid #44444444; } button:hover { border: 1px solid #444444aa; } button:active { opacity: 50%; } @media (prefers-color-scheme: dark) { body { color: #c9d1d9; background: #0d1117; } h1, h2, h3, h4, h5, h6 { color: #c9d1d9; } a:link { color: #58a6ff; } a:visited { color: #8e96f0; } textarea, input, button { background: #1d2127; color: #c9d1d9; } }