/** * Any CSS included here will be global. The classic template * bundles Infima by default. Infima is a CSS framework designed to * work well for content-centric websites. */ /* Align primary palette with the main app header (SiteHeader teal). */ :root { --ifm-color-primary: #0d9488; --ifm-color-primary-dark: #0f766e; --ifm-color-primary-darker: #0f766e; --ifm-color-primary-darkest: #115e59; --ifm-color-primary-light: #14b8a6; --ifm-color-primary-lighter: #2dd4bf; --ifm-color-primary-lightest: #5eead4; --ifm-button-background-color: #0d9488; --ifm-button-color: #ffffff; --ifm-code-font-size: 95%; --docusaurus-highlighted-code-line-bg: rgba(13, 148, 136, 0.12); --ifm-background-color: #ffffff; --ifm-navbar-link-color: #44403c; --ifm-navbar-link-hover-color: #0f766e; --ifm-navbar-sidebar-link-color: #44403c; --ifm-navbar-height: 64px; --ifm-navbar-padding-horizontal: 1.25rem; --ifm-navbar-shadow: 0 1px 0 #e7e5e4; --ifm-font-family-base: 'Source Sans 3', system-ui, sans-serif; } /* Light theme only (#735) — no dark-mode palette. */ html { --ifm-background-color: #ffffff; --ifm-background-surface-color: #ffffff; } htmlbody { background-color: #ffffff !important; } /* Brand row — match web_app SiteHeader (C1 mark + Open Navigator / by CommunityOne). */ @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Source+Sans+3:wght@400;500;600;700&display=swap'); .navbar { border-bottom: 1px solid #e7e5e4; box-shadow: none !important; } .navbar__inner { max-width: 1180px; margin: 0 auto; } .navbar__brand { margin-right: 1.25rem; } .navbar__logo { margin-right: 0.55rem !important; } .navbar__logo img { height: 38px !important; width: 38px !important; max-height: 38px !important; border-radius: 50%; object-fit: cover; } .navbar__title { font-family: 'Playfair Display', Georgia, serif !important; font-size: 1.15rem !important; font-weight: 700 !important; color: #1c1917 !important; line-height: 1.1; } /* Sub-brand under the title (SiteHeader “by CommunityOne”). */ .navbar__title::after { content: 'by CommunityOne'; display: block; font-family: 'Source Sans 3', system-ui, sans-serif; font-size: 0.72rem; font-weight: 500; color: #78716c; margin-top: 0.1rem; letter-spacing: 0; } .navbar__item { font-family: 'Source Sans 3', system-ui, sans-serif; } .navbar__link { font-size: 0.9rem !important; font-weight: 600 !important; padding: 0.35rem 0.55rem !important; } .navbar__link--active::after, .navbar__link:hover:not(.navbar__link--active)::after { left: 0.55rem !important; transform: none !important; width: calc(100% - 1.1rem) !important; background-color: #0d9488 !important; } @media (max-width: 996px) { .navbar__title::after { display: none; } } /* Sidebar backgrounds */ .theme-doc-sidebar-container { background-color: #F1F5F9 !important; } aside.theme-doc-sidebar-container { background-color: #F1F5F9 !important; } /* Sidebar navigation link colors - lighter and less bold */ .theme-doc-sidebar-item-link, .menu__link, .theme-doc-sidebar-item-category > .menu__list-item-collapsible > .menu__link { color: #64748b !important; /* Lighter slate color */ font-weight: 400 !important; /* Regular weight for better readability */ } .menu__link:hover, .menu__link--active { color: #354F52 !important; } /* Category labels - lighter text */ .menu__list-item-collapsible { color: #475569 !important; /* Lighter slate color */ } /* Table of Contents (right sidebar) background */ .theme-doc-toc-desktop, .table-of-contents { background-color: #F1F5F9 !important; padding: 1rem; border-radius: 8px; } /* Active navigation link underline (matches main React app) */ .navbar__link--active { position: relative; padding-bottom: 4px !important; } .navbar__link--active::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 80%; height: 2px; background-color: var(--ifm-color-primary); } .navbar__link:hover { position: relative; padding-bottom: 4px; } .navbar__link:hover:not(.navbar__link--active)::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 80%; height: 2px; background-color: rgba(53, 79, 82, 0.3); transition: background-color 0.2s ease; } /* Active sidebar link underline - lighter emphasis */ .menu__link--active { border-left: 3px solid var(--ifm-color-primary) !important; background-color: rgba(53, 79, 82, 0.05) !important; font-weight: 500 !important; /* Medium weight, was 600 */ color: #354F52 !important; /* Slightly darker when active */ } /* Table of contents active link underline */ .table-of-contents__link--active { border-left: 2px solid var(--ifm-color-primary) !important; font-weight: 600 !important; color: var(--ifm-color-primary) !important; } /* Table of contents - increase spacing between vertical line and text */ .table-of-contents__link { padding-left: 1rem !important; /* Increased from default 0.5rem */ line-height: 1.6 !important; margin-bottom: 0.25rem !important; } .table-of-contents__link--active { padding-left: calc(1rem - 2px) !important; /* Account for border width */ } /* Professional navbar styling - clean without emojis */ .navbar__item.navbar__link { font-weight: 600; letter-spacing: 0.025em; transition: all 0.2s ease; } .navbar__item.navbar__link:hover { transform: translateY(-1px); } /* Sidebar category labels - lighter and more readable */ .menu__list-item-collapsible > .menu__link { font-weight: 600; /* Medium bold, was 700 */ font-size: 1.02em; /* Slightly smaller, was 1.05em */ text-transform: none; padding: 0.5rem 0.75rem; border-left: 3px solid transparent; transition: all 0.2s ease; color: #475569 !important; /* Lighter than regular links */ } .menu__list-item-collapsible > .menu__link:hover { border-left-color: #354F52; background-color: rgba(53, 79, 82, 0.05); } /* Active sidebar section - lighter */ .theme-doc-sidebar-item-category-level-1 > .menu__list-item-collapsible > .menu__link { color: #475569 !important; /* Lighter slate */ font-size: 1.05em; /* Slightly smaller, was 1.1em */ } /* Main content area - keep white */ .theme-doc-markdown, article { background-color: #ffffff !important; } /* Content headers color */ .markdown h1, .markdown h2, .markdown h3, .markdown h4, .markdown h5, .markdown h6 { color: #354F52 !important; } article h1, article h2, article h3, article h4, article h5, article h6 { color: #354F52 !important; } /* Dark mode overrides */ /* Mermaid diagrams - ensure they render large and readable */ .mermaid { font-size: 18px !important; line-height: 1.4 !important; } .mermaid svg { max-width: 100% !important; height: auto !important; } /* ERD entity boxes should be larger */ .er.entityBox { min-width: 200px !important; min-height: 140px !important; } .er .entityLabel { font-size: 20px !important; font-weight: 700 !important; } .er .attributeBoxEven, .er .attributeBoxOdd { font-size: 16px !important; padding: 8px 12px !important; } /* Phones: keep the C1 mark, drop the text title so it never clips under the search button (#1424). The logo img keeps alt="CommunityOne" as the link's accessible name. */ @media (max-width: 576px) { .navbar__title { display: none !important; } .navbar__brand { margin-right: 0.5rem; } }