Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Download web_docs/src/css/custom.css from CommunityOne/open-navigator: direct link, hf CLI and curl.
- Browser
- Download file 7.52 kB
-
https://huggingface.co/spaces/CommunityOne/open-navigator/resolve/main/web_docs/src/css/custom.css
- Command line
-
hf download hf://spaces/CommunityOne/open-navigator/web_docs/src/css/custom.css
-
curl -L -o custom.css https://huggingface.co/spaces/CommunityOne/open-navigator/resolve/main/web_docs/src/css/custom.css
7.52 kB
| /** | |
| * 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 ; | |
| } | |
| /* 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 ; | |
| } | |
| .navbar__inner { | |
| max-width: 1180px; | |
| margin: 0 auto; | |
| } | |
| .navbar__brand { | |
| margin-right: 1.25rem; | |
| } | |
| .navbar__logo { | |
| margin-right: 0.55rem ; | |
| } | |
| .navbar__logo img { | |
| height: 38px ; | |
| width: 38px ; | |
| max-height: 38px ; | |
| border-radius: 50%; | |
| object-fit: cover; | |
| } | |
| .navbar__title { | |
| font-family: 'Playfair Display', Georgia, serif ; | |
| font-size: 1.15rem ; | |
| font-weight: 700 ; | |
| color: #1c1917 ; | |
| 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 ; | |
| font-weight: 600 ; | |
| padding: 0.35rem 0.55rem ; | |
| } | |
| .navbar__link--active::after, | |
| .navbar__link:hover:not(.navbar__link--active)::after { | |
| left: 0.55rem ; | |
| transform: none ; | |
| width: calc(100% - 1.1rem) ; | |
| background-color: #0d9488 ; | |
| } | |
| @media (max-width: 996px) { | |
| .navbar__title::after { | |
| display: none; | |
| } | |
| } | |
| /* Sidebar backgrounds */ | |
| .theme-doc-sidebar-container { | |
| background-color: #F1F5F9 ; | |
| } | |
| aside.theme-doc-sidebar-container { | |
| background-color: #F1F5F9 ; | |
| } | |
| /* 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 ; /* Lighter slate color */ | |
| font-weight: 400 ; /* Regular weight for better readability */ | |
| } | |
| .menu__link:hover, | |
| .menu__link--active { | |
| color: #354F52 ; | |
| } | |
| /* Category labels - lighter text */ | |
| .menu__list-item-collapsible { | |
| color: #475569 ; /* Lighter slate color */ | |
| } | |
| /* Table of Contents (right sidebar) background */ | |
| .theme-doc-toc-desktop, | |
| .table-of-contents { | |
| background-color: #F1F5F9 ; | |
| padding: 1rem; | |
| border-radius: 8px; | |
| } | |
| /* Active navigation link underline (matches main React app) */ | |
| .navbar__link--active { | |
| position: relative; | |
| padding-bottom: 4px ; | |
| } | |
| .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) ; | |
| background-color: rgba(53, 79, 82, 0.05) ; | |
| font-weight: 500 ; /* Medium weight, was 600 */ | |
| color: #354F52 ; /* Slightly darker when active */ | |
| } | |
| /* Table of contents active link underline */ | |
| .table-of-contents__link--active { | |
| border-left: 2px solid var(--ifm-color-primary) ; | |
| font-weight: 600 ; | |
| color: var(--ifm-color-primary) ; | |
| } | |
| /* Table of contents - increase spacing between vertical line and text */ | |
| .table-of-contents__link { | |
| padding-left: 1rem ; /* Increased from default 0.5rem */ | |
| line-height: 1.6 ; | |
| margin-bottom: 0.25rem ; | |
| } | |
| .table-of-contents__link--active { | |
| padding-left: calc(1rem - 2px) ; /* 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 ; /* 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 ; /* Lighter slate */ | |
| font-size: 1.05em; /* Slightly smaller, was 1.1em */ | |
| } | |
| /* Main content area - keep white */ | |
| .theme-doc-markdown, | |
| article { | |
| background-color: #ffffff ; | |
| } | |
| /* Content headers color */ | |
| .markdown h1, | |
| .markdown h2, | |
| .markdown h3, | |
| .markdown h4, | |
| .markdown h5, | |
| .markdown h6 { | |
| color: #354F52 ; | |
| } | |
| article h1, | |
| article h2, | |
| article h3, | |
| article h4, | |
| article h5, | |
| article h6 { | |
| color: #354F52 ; | |
| } | |
| /* Dark mode overrides */ | |
| /* Mermaid diagrams - ensure they render large and readable */ | |
| .mermaid { | |
| font-size: 18px ; | |
| line-height: 1.4 ; | |
| } | |
| .mermaid svg { | |
| max-width: 100% ; | |
| height: auto ; | |
| } | |
| /* ERD entity boxes should be larger */ | |
| .er.entityBox { | |
| min-width: 200px ; | |
| min-height: 140px ; | |
| } | |
| .er .entityLabel { | |
| font-size: 20px ; | |
| font-weight: 700 ; | |
| } | |
| .er .attributeBoxEven, | |
| .er .attributeBoxOdd { | |
| font-size: 16px ; | |
| padding: 8px 12px ; | |
| } | |
| /* 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 ; | |
| } | |
| .navbar__brand { | |
| margin-right: 0.5rem; | |
| } | |
| } | |