| :root { |
| --ifm-color-primary: #b32025; |
| --ifm-color-primary-dark: #9f1c21; |
| --ifm-color-primary-darker: #8f191d; |
| --ifm-color-primary-darkest: #751418; |
| --ifm-color-primary-light: #c83b3f; |
| --ifm-color-primary-lighter: #d15256; |
| --ifm-color-primary-lightest: #df7477; |
| --ifm-font-family-base: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; |
| --ifm-heading-font-family: var(--ifm-font-family-base); |
| --ifm-navbar-height: 4rem; |
| --ifm-global-radius: 8px; |
| --hugegraph-ink: #18212f; |
| --hugegraph-muted: #5f6877; |
| --hugegraph-border: #dfe4ec; |
| --hugegraph-band: #f6f8fb; |
| --hugegraph-accent: #117a8b; |
| } |
| |
| html[data-theme='dark'] { |
| --ifm-color-primary: #ff7a7e; |
| --ifm-background-color: #111827; |
| --ifm-navbar-background-color: #101723; |
| --hugegraph-ink: #f8fafc; |
| --hugegraph-muted: #c7ced8; |
| --hugegraph-border: #2b3545; |
| --hugegraph-band: #151f2c; |
| } |
| |
| .navbar { |
| border-bottom: 1px solid var(--hugegraph-border); |
| box-shadow: none; |
| } |
| |
| .navbar__brand { |
| font-weight: 700; |
| } |
| |
| .navbar__logo { |
| height: 2rem; |
| width: 2rem; |
| } |
| |
| .navbar__item.dropdown > .navbar__link::after { |
| margin-left: 0.4rem; |
| } |
| |
| .documentationDropdown { |
| align-items: center; |
| display: flex; |
| position: relative; |
| } |
| |
| .documentationDropdown::after { |
| content: ''; |
| height: 0.3rem; |
| left: 0; |
| position: absolute; |
| right: 0; |
| top: 100%; |
| } |
| |
| .documentationDropdown__button { |
| align-items: center; |
| background: transparent; |
| border: 0; |
| color: var(--ifm-navbar-link-color); |
| cursor: pointer; |
| display: inline-flex; |
| font: inherit; |
| gap: 0.28rem; |
| height: 100%; |
| padding: var(--ifm-navbar-item-padding-vertical) var(--ifm-navbar-item-padding-horizontal); |
| } |
| |
| .documentationDropdown__button:hover, |
| .documentationDropdown__button:focus { |
| color: var(--ifm-navbar-link-hover-color); |
| outline: none; |
| } |
| |
| .documentationDropdown__button:focus-visible { |
| outline: 2px solid var(--ifm-color-primary); |
| outline-offset: 2px; |
| } |
| |
| .documentationDropdown__chevron { |
| border-bottom: 1.5px solid currentColor; |
| border-right: 1.5px solid currentColor; |
| height: 0.34rem; |
| margin-top: -0.16rem; |
| transform: rotate(45deg); |
| width: 0.34rem; |
| } |
| |
| .documentationDropdown__menu { |
| background: #ffffff; |
| border: 1px solid rgba(24, 33, 47, 0.08); |
| border-radius: 6px; |
| box-shadow: 0 10px 24px rgba(24, 33, 47, 0.14); |
| display: none; |
| left: 50%; |
| list-style: none; |
| margin: 0; |
| min-width: 132px; |
| padding: 0.28rem; |
| position: absolute; |
| top: calc(100% + 0.18rem); |
| transform: translateX(-50%); |
| z-index: var(--ifm-z-index-dropdown); |
| } |
| |
| .documentationDropdown__menu--open { |
| display: block; |
| } |
| |
| .documentationDropdown__item { |
| border-radius: 4px; |
| color: #18212f; |
| display: block; |
| font-size: 0.9rem; |
| font-weight: 600; |
| line-height: 1.2; |
| min-height: 2rem; |
| padding: 0.45rem 0.58rem; |
| text-decoration: none; |
| } |
| |
| .documentationDropdown__item:hover, |
| .documentationDropdown__item:focus { |
| background: #f3f5f8; |
| color: var(--ifm-color-primary); |
| outline: none; |
| text-decoration: none; |
| } |
| |
| .hugegraphHero { |
| align-items: center; |
| background-image: url('/img/featured-background.jpg'); |
| background-position: center; |
| background-size: cover; |
| color: #ffffff; |
| display: flex; |
| min-height: min(690px, 72vh); |
| overflow: hidden; |
| position: relative; |
| } |
| |
| .hugegraphHero__overlay { |
| background: rgba(11, 18, 29, 0.72); |
| inset: 0; |
| position: absolute; |
| } |
| |
| .hugegraphHero__content { |
| margin: 0 auto; |
| max-width: 1180px; |
| padding: 5rem 1.5rem 4rem; |
| position: relative; |
| width: 100%; |
| } |
| |
| .hugegraphHero h1 { |
| color: #ffffff; |
| font-size: 5.25rem; |
| letter-spacing: 0; |
| line-height: 1; |
| margin: 0 0 1.25rem; |
| } |
| |
| .hugegraphHero__lead { |
| color: #e8edf5; |
| font-size: 1.35rem; |
| line-height: 1.6; |
| max-width: 780px; |
| } |
| |
| .hugegraphHero__actions { |
| display: flex; |
| flex-wrap: wrap; |
| gap: 0.8rem; |
| margin-top: 2rem; |
| } |
| |
| .hugegraphHero .button--secondary { |
| --ifm-button-background-color: rgba(255, 255, 255, 0.12); |
| --ifm-button-border-color: rgba(255, 255, 255, 0.75); |
| --ifm-button-color: #ffffff; |
| color: #ffffff; |
| } |
| |
| .apacheEyebrow { |
| color: var(--ifm-color-primary); |
| font-size: 0.78rem; |
| font-weight: 700; |
| letter-spacing: 0; |
| margin-bottom: 0.65rem; |
| text-transform: uppercase; |
| } |
| |
| .hugegraphHero .apacheEyebrow { |
| color: #ffb5b8; |
| } |
| |
| .siteBand { |
| padding: 4.5rem 0; |
| } |
| |
| .siteBand--light { |
| background: var(--hugegraph-band); |
| } |
| |
| .sectionHeading { |
| margin-bottom: 2rem; |
| max-width: 760px; |
| } |
| |
| .sectionHeading h2, |
| .ecosystemLayout h2 { |
| color: var(--hugegraph-ink); |
| font-size: 2.65rem; |
| letter-spacing: 0; |
| line-height: 1.1; |
| margin: 0; |
| } |
| |
| .sectionHeading p, |
| .ecosystemLayout p { |
| color: var(--hugegraph-muted); |
| } |
| |
| .highlightGrid { |
| display: grid; |
| gap: 1rem; |
| grid-template-columns: repeat(3, minmax(0, 1fr)); |
| } |
| |
| .productCard { |
| background: var(--ifm-background-surface-color); |
| border: 1px solid var(--hugegraph-border); |
| border-radius: 8px; |
| min-height: 230px; |
| padding: 1.5rem; |
| } |
| |
| .productCard h3 { |
| color: var(--hugegraph-ink); |
| font-size: 1.3rem; |
| letter-spacing: 0; |
| } |
| |
| .productCard p { |
| color: var(--hugegraph-muted); |
| line-height: 1.65; |
| } |
| |
| .productCard a { |
| font-weight: 700; |
| } |
| |
| .ecosystemLayout { |
| align-items: center; |
| display: grid; |
| gap: 3rem; |
| grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr); |
| } |
| |
| .ecosystemMap { |
| border: 1px solid var(--hugegraph-border); |
| border-radius: 8px; |
| display: grid; |
| gap: 1px; |
| grid-template-columns: repeat(2, minmax(0, 1fr)); |
| overflow: hidden; |
| } |
| |
| .ecosystemNode { |
| background: var(--ifm-background-surface-color); |
| min-height: 150px; |
| padding: 1.25rem; |
| } |
| |
| .ecosystemNode strong, |
| .ecosystemNode span { |
| display: block; |
| } |
| |
| .ecosystemNode strong { |
| color: var(--hugegraph-ink); |
| font-size: 1.2rem; |
| margin-bottom: 0.6rem; |
| } |
| |
| .ecosystemNode span { |
| color: var(--hugegraph-muted); |
| line-height: 1.55; |
| } |
| |
| .ecosystemNode--5 { |
| grid-column: 1 / -1; |
| } |
| |
| .theme-doc-sidebar-container { |
| border-right-color: var(--hugegraph-border) !important; |
| } |
| |
| .theme-doc-sidebar-item-category-level-1 > .menu__list-item-collapsible .menu__link { |
| font-weight: 700; |
| } |
| |
| .markdown h1, |
| .markdown h2, |
| .markdown h3 { |
| letter-spacing: 0; |
| } |
| |
| .markdown table { |
| display: table; |
| width: 100%; |
| } |
| |
| .markdown img { |
| border: 1px solid var(--hugegraph-border); |
| border-radius: 8px; |
| max-width: 100%; |
| } |
| |
| .subpageHero { |
| background: var(--hugegraph-band); |
| border-bottom: 1px solid var(--hugegraph-border); |
| padding: 4rem 0 3.25rem; |
| } |
| |
| .subpageHero h1 { |
| color: var(--hugegraph-ink); |
| font-size: 3.5rem; |
| letter-spacing: 0; |
| line-height: 1.05; |
| margin: 0 0 1rem; |
| } |
| |
| .subpageHero p:not(.apacheEyebrow) { |
| color: var(--hugegraph-muted); |
| font-size: 1.15rem; |
| line-height: 1.65; |
| max-width: 840px; |
| } |
| |
| .statGrid, |
| .directoryGrid, |
| .showcaseGrid, |
| .linkGrid { |
| display: grid; |
| gap: 1rem; |
| } |
| |
| .statGrid { |
| grid-template-columns: repeat(3, minmax(0, 1fr)); |
| } |
| |
| .statCard, |
| .directoryCard, |
| .showcaseCard, |
| .linkCard { |
| background: var(--ifm-background-surface-color); |
| border: 1px solid var(--hugegraph-border); |
| border-radius: 8px; |
| } |
| |
| .statCard { |
| padding: 1.5rem; |
| } |
| |
| .statCard strong, |
| .statCard span { |
| display: block; |
| } |
| |
| .statCard strong { |
| color: var(--ifm-color-primary); |
| font-size: 2.2rem; |
| line-height: 1; |
| margin-bottom: 0.5rem; |
| } |
| |
| .statCard span { |
| color: var(--hugegraph-muted); |
| font-weight: 700; |
| } |
| |
| .directoryGrid { |
| grid-template-columns: repeat(3, minmax(0, 1fr)); |
| } |
| |
| .directoryCard, |
| .showcaseCard { |
| display: flex; |
| gap: 1rem; |
| padding: 1.25rem; |
| } |
| |
| .directoryCard h3, |
| .showcaseCard h3 { |
| color: var(--hugegraph-ink); |
| font-size: 1.15rem; |
| letter-spacing: 0; |
| margin: 0 0 0.35rem; |
| } |
| |
| .directoryCard p, |
| .showcaseCard p { |
| color: var(--hugegraph-muted); |
| line-height: 1.6; |
| margin-bottom: 0.75rem; |
| } |
| |
| .directoryAvatar, |
| .showcaseLogo { |
| align-items: center; |
| background: color-mix(in srgb, var(--ifm-color-primary) 12%, var(--ifm-background-surface-color)); |
| border: 1px solid color-mix(in srgb, var(--ifm-color-primary) 35%, var(--hugegraph-border)); |
| border-radius: 8px; |
| color: var(--ifm-color-primary); |
| display: flex; |
| flex: 0 0 auto; |
| font-weight: 800; |
| height: 3rem; |
| justify-content: center; |
| width: 3rem; |
| } |
| |
| .inlineLinks { |
| display: flex; |
| flex-wrap: wrap; |
| gap: 0.75rem; |
| font-weight: 700; |
| } |
| |
| .showcaseGrid { |
| grid-template-columns: repeat(2, minmax(0, 1fr)); |
| } |
| |
| .metadataList { |
| display: grid; |
| gap: 0.7rem; |
| grid-template-columns: repeat(3, minmax(0, 1fr)); |
| margin: 1rem 0; |
| } |
| |
| .metadataList div { |
| min-width: 0; |
| } |
| |
| .metadataList dt { |
| color: var(--hugegraph-muted); |
| font-size: 0.78rem; |
| font-weight: 700; |
| text-transform: uppercase; |
| } |
| |
| .metadataList dd { |
| color: var(--hugegraph-ink); |
| margin: 0.2rem 0 0; |
| } |
| |
| .linkGrid { |
| grid-template-columns: repeat(3, minmax(0, 1fr)); |
| margin-bottom: 2rem; |
| } |
| |
| .linkCard { |
| color: var(--hugegraph-ink); |
| display: block; |
| font-weight: 800; |
| padding: 1.2rem; |
| } |
| |
| .linkCard:hover { |
| color: var(--ifm-color-primary); |
| text-decoration: none; |
| } |
| |
| .footer { |
| background: #14171f; |
| } |
| |
| .footer__logo { |
| background: #ffffff; |
| border-radius: 8px; |
| max-width: 180px; |
| padding: 0.5rem; |
| } |
| |
| .footer__copyright { |
| color: #d7dce5; |
| font-size: 0.74rem; |
| line-height: 1.45; |
| margin: 1.5rem auto 0; |
| max-width: 880px; |
| } |
| |
| @media (max-width: 996px) { |
| .hugegraphHero { |
| min-height: 68vh; |
| } |
| |
| .hugegraphHero h1 { |
| font-size: 4rem; |
| } |
| |
| .hugegraphHero__lead { |
| font-size: 1.2rem; |
| } |
| |
| .sectionHeading h2, |
| .ecosystemLayout h2 { |
| font-size: 2.2rem; |
| } |
| |
| .highlightGrid, |
| .ecosystemLayout, |
| .statGrid, |
| .directoryGrid, |
| .showcaseGrid, |
| .linkGrid { |
| grid-template-columns: 1fr; |
| } |
| |
| .ecosystemMap { |
| grid-template-columns: 1fr; |
| } |
| |
| .navbar-sidebar .documentationDropdown { |
| align-items: stretch; |
| display: block; |
| width: 100%; |
| } |
| |
| .navbar-sidebar .documentationDropdown::after { |
| display: none; |
| } |
| |
| .navbar-sidebar .documentationDropdown__button { |
| font-size: 0.95rem; |
| justify-content: space-between; |
| min-height: 2.35rem; |
| padding: 0.5rem 0.75rem; |
| width: 100%; |
| } |
| |
| .navbar-sidebar .documentationDropdown__menu { |
| border-radius: 6px; |
| box-shadow: 0 8px 18px rgba(24, 33, 47, 0.12); |
| left: auto; |
| margin: 0.15rem 0 0.35rem 0.75rem; |
| max-height: min(15rem, 46vh); |
| min-width: 0; |
| overflow-y: auto; |
| overscroll-behavior: contain; |
| padding: 0.22rem; |
| position: static; |
| transform: none; |
| width: min(11.5rem, calc(100vw - 2rem)); |
| } |
| |
| .navbar-sidebar .documentationDropdown__item { |
| font-size: 0.82rem; |
| line-height: 1.15; |
| min-height: 1.55rem; |
| padding: 0.32rem 0.44rem; |
| } |
| |
| .ecosystemNode--5 { |
| grid-column: auto; |
| } |
| } |
| |
| @media (max-width: 480px) { |
| .hugegraphHero__content { |
| padding: 4rem 1rem 3rem; |
| } |
| |
| .hugegraphHero h1 { |
| font-size: 3rem; |
| } |
| |
| .siteBand { |
| padding: 3rem 0; |
| } |
| |
| .productCard, |
| .ecosystemNode, |
| .directoryCard, |
| .showcaseCard { |
| min-height: auto; |
| } |
| |
| .metadataList { |
| grid-template-columns: 1fr; |
| } |
| } |