/* Based on SPCSS by Susam Pal: https://github.com/susam/spcss Enhanced with colorful heading hierarchy and brighter code colors */ body { color: #333; font-family: helvetica, arial, sans-serif; line-height: 1.5; margin: 0 auto; max-width: 40em; padding: 0 1em; } a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid #111; outline-offset: 2px; } fieldset { border: 0; margin: 0; min-width: 0; padding: 0; } legend { padding: 0; } .sr-only { border: 0; clip: rect(0, 0, 0, 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; } h1, h2, h3, h4, h5, h6 { margin: 1.25em 0 0.5em 0; line-height: 1.2; } /* Colorful heading hierarchy */ h1 { color: #ff4500; } h2 { color: #008844; } h3 { color: #336699; } a:link { color: #0000ff; } a:visited { color: #336699; } a:focus, a:hover { color: #03f; } a:active { color: #e00; } h1 a:empty:before, h2 a:empty:before, h3 a:empty:before, h4 a:empty:before, h5 a:empty:before, h6 a:empty:before { content: "#"; } h1 a:empty, h2 a:empty, h3 a:empty, h4 a:empty, h5 a:empty, h6 a:empty { visibility: hidden; padding-left: 0.25em; } h1:hover a:empty, h2:hover a:empty, h3:hover a:empty, h4:hover a:empty, h5:hover a:empty, h6:hover a:empty { visibility: visible; } img { max-width: 100%; } figure { margin: 1em 0; text-align: center; } figcaption { font-size: small; } pre, code, samp, kbd { font-family: monospace, monospace; } /* Brighter code colors */ pre, code, kbd { color: #009; } pre kbd { color: #060; } samp { color: #730; } pre, blockquote { background: #eee; padding: 0.5em; } pre { overflow: auto; } blockquote { border-left: medium solid #ccc; margin: 1em 0; } blockquote :first-child { margin-top: 0; } blockquote :last-child { margin-bottom: 0; } .announcement { border-left: 3px solid #22c55e; margin-left: 0; padding-left: 1em; } .notice { border-left: 3px solid #ef4444; margin-left: 0; padding-left: 1em; } table { border-collapse: collapse; } th, td { border: thin solid #999; padding: 0.3em 0.4em; text-align: left; } /* Optional header section styling */ #header { background-color: #33bb33; color: #cccccc; border-bottom: 2px solid #336699; padding: 3px 10px; margin: -0.5em -1em 1em -1em; } #header a { color: #cccccc; } #header li { display: inline; margin-right: 1em; } /* Blink animation for special effects */ @keyframes blink { 50% { opacity: 0.0; } } .blink { animation: blink 1s step-start 0s infinite; } /* Dark mode with adjusted vibrant colors */ @media (prefers-color-scheme: dark) { body { background: #111; color: #bbb; } /* Lighter, more vibrant heading colors for dark mode */ h1 { color: #ff6347; } h2 { color: #4ed34e; } h3 { color: #5cacee; } a:link { color: #9bf; } a:visited { color: #caf; } a:focus, a:hover { color: #9cf; } a:active { color: #f99; } a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline-color: #fff; } /* Lighter code colors for dark backgrounds */ pre, code, kbd { color: #6c9bd1; } pre kbd { color: #9c6; } samp { color: #db0; } pre, blockquote { background: #000; } blockquote { border-color: #333; } .announcement { border-color: #4ade80; } .notice { border-color: #f87171; } th, td { border-color: #666; } /* Dark mode header */ #header { background-color: #2a9d2a; border-bottom-color: #5cacee; } }