/* -------- Reset / Base -------- */ *, *::before, *::after { box-sizing: border-box; } html { font-size: 16px; } body { margin: 0; padding: 0; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif; line-height: 1.55; color: #1f1f1f; background-color: #f7f7f8; } /* -------- Text -------- */ h1, h2, h3, h4, h5, h6 { font-weight: 600; line-height: 1.25; margin: 0; } h1 { font-size: 2rem; } h2 { font-size: 1.4rem; } h3 { font-size: 1.15rem; } p { margin: 0.5rem 0; } small { font-size: 0.85rem; opacity: 0.85; } /* -------- Links -------- */ a { color: #2c5ec2; text-decoration: none; } a:hover { text-decoration: underline; } /* -------- Lists -------- */ ul, ol { margin: 0.5rem 0; padding-left: 1.25rem; } /* -------- Utility -------- */ code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 0.95em; } pre { background: #eee; padding: 0.75rem; border-radius: 8px; overflow-x: auto; } /* -------- Page Containers -------- */ .page { max-width: 1200px; margin: 0 auto; padding: 1rem; } /* -------- Cards (shared feel) -------- */ article { background: #ffffff; } /* -------- Accessibility -------- */ :focus-visible { outline: 2px solid #5a8dee; outline-offset: 2px; } /* -------- Dark-mode friendly base -------- */ /* (Optional – remove if unwanted) */ @media (prefers-color-scheme: dark) { body { background-color: #141416; color: #e8e8ea; } article { background: #1c1c1f; } a { color: #7aa2ff; } pre { background: #26262a; } } .topBar { position: sticky; top: 0; z-index: 999; background: #ffffff; border-bottom: 1px solid #ddd; } .topBarInner { max-width: 1200px; margin: 0 auto; padding: 0.6rem 1rem; display: flex; align-items: center; gap: 0.75rem; } .menuButton { border: 1px solid #bbb; background: #fff; border-radius: 10px; padding: 0.45rem 0.7rem; cursor: pointer; } .menuButton:hover { background: #f2f2f2; } .chapterPicker { position: relative; } .chapterDropdown { display: none; position: absolute; top: calc(100% + 0.4rem); left: 0; width: min(360px, 85vw); max-height: 55vh; overflow: auto; border: 1px solid #ddd; border-radius: 12px; background: #fff; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08); padding: 0.35rem; } .inlineNavigatorSelect, .chapterDropdown.open { display: block; } .inlineNavigatorBtn button, .chapterDropdown button { width: 100%; text-align: left; border: 0; background: transparent; padding: 0.55rem 0.6rem; border-radius: 10px; cursor: pointer; } .inlineNavigatorBtn button:hover, .chapterDropdown button:hover { background: #f3f3f3; } .searchForm { margin-left: auto; display: flex; gap: 0.5rem; align-items: center; } .headerImage { max-height: 32px; } .inlineImage { align-content: center; text-align: center; } .inlineImage>img { max-width: 800px; } .scrollLink { cursor: pointer; } .searchResultArticle { border: 1px solid #ddd; border-radius: 12px; padding: 1rem; margin: 0.75rem 0; } .searchResult { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: baseline; } hit { border-bottom: 2px groove red; } .searchInput { width: min(420px, 45vw); border: 1px solid #bbb; border-radius: 999px; padding: 0.45rem 0.75rem; } .searchSubmit { border: 1px solid #bbb; border-radius: 999px; padding: 0.45rem 0.75rem; cursor: pointer; } .searchSubmit:hover { background: #f2f2f2; } /* Make sure content doesn't hide behind sticky bar when using anchor links */ :target { scroll-margin-top: 60px; }