fix: enable theme sections and local search
Build and publish Corp v1 steering documentation / build (push) Successful in 45s

This commit is contained in:
2026-08-12 13:13:42 +00:00
parent 7cc3bd42a0
commit e44abc1028
18 changed files with 628 additions and 304 deletions
+43 -17
View File
@@ -1,6 +1,7 @@
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500;700&display=swap');
:root {
:root,
[data-theme='light'] {
--ifm-font-family-base: 'Inter', system-ui, sans-serif;
--ifm-font-family-monospace: 'JetBrains Mono', monospace;
--ifm-color-primary: #0f766e;
@@ -10,6 +11,21 @@
--ifm-color-primary-light: #14b8a6;
--ifm-color-primary-lighter: #2dd4bf;
--ifm-color-primary-lightest: #5eead4;
--ifm-background-color: #f7f9fb;
--ifm-background-surface-color: #ffffff;
--ifm-color-content: #111827;
--ifm-color-content-secondary: #526174;
--ifm-toc-border-color: #cdd5df;
--portal-navbar-bg: rgba(255, 255, 255, .97);
--portal-navbar-ink: #111827;
--portal-navbar-muted: #526174;
--portal-border: #cdd5df;
--portal-sidebar-bg: #ffffff;
--portal-footer-bg: #edf1f5;
--portal-footer-ink: #111827;
--portal-footer-muted: #526174;
--portal-active-bg: rgba(15, 118, 110, .09);
--portal-accent: #0f766e;
--ifm-global-radius: 0;
--ifm-code-border-radius: 0;
--ifm-pre-border-radius: 0;
@@ -33,38 +49,48 @@
--ifm-color-content: #f5f7fa;
--ifm-color-content-secondary: #a5b0c2;
--ifm-toc-border-color: #283345;
--portal-navbar-bg: rgba(8, 16, 27, .97);
--portal-navbar-ink: #f5f7fa;
--portal-navbar-muted: #a5b0c2;
--portal-border: #283345;
--portal-sidebar-bg: #08101b;
--portal-footer-bg: #050b12;
--portal-footer-ink: #f5f7fa;
--portal-footer-muted: #a5b0c2;
--portal-active-bg: rgba(94, 234, 212, .08);
--portal-accent: #5eead4;
}
html, body { background: #08101b; }
html,
body { background: var(--ifm-background-color); }
/* Corp v1 has an explicit no-rounding rule. This intentionally overrides
Infima and third-party component radii across all rendered shapes. */
/* Corp v1 has an explicit no-rounding rule. */
*, *::before, *::after { border-radius: 0 !important; }
.navbar {
height: 68px;
background: rgba(8, 16, 27, .97) !important;
border-bottom: 1px solid #283345 !important;
background: var(--portal-navbar-bg) !important;
border-bottom: 1px solid var(--portal-border) !important;
box-shadow: none !important;
}
.navbar__brand { margin-right: 2.5rem; }
.navbar__title { color: #f5f7fa !important; font-size: .87rem; letter-spacing: .09em; font-weight: 700; }
.navbar__link { color: #a5b0c2 !important; font-size: .86rem; font-weight: 500; }
.navbar__link:hover, .navbar__link--active { color: #5eead4 !important; }
.navbar-sidebar { background: #08101b !important; }
.navbar__title { color: var(--portal-navbar-ink) !important; font-size: .87rem; letter-spacing: .09em; font-weight: 700; }
.navbar__link { color: var(--portal-navbar-muted) !important; font-size: .86rem; font-weight: 500; }
.navbar__link:hover, .navbar__link--active { color: var(--portal-accent) !important; }
.navbar-sidebar { background: var(--portal-sidebar-bg) !important; }
.footer { background: #050b12 !important; border-top: 1px solid #283345; }
.footer__title { color: #f5f7fa; letter-spacing: .04em; }
.footer__link-item { color: #a5b0c2; }
.footer__link-item:hover { color: #5eead4; }
.footer { background: var(--portal-footer-bg) !important; border-top: 1px solid var(--portal-border); color: var(--portal-footer-muted); }
.footer__title { color: var(--portal-footer-ink); letter-spacing: .04em; }
.footer__link-item, .footer__copyright { color: var(--portal-footer-muted); }
.footer__link-item:hover { color: var(--portal-accent); }
.theme-doc-markdown h1,
.theme-doc-markdown h2,
.theme-doc-markdown h3 { letter-spacing: -.025em; }
.theme-doc-sidebar-container { border-right-color: #283345 !important; }
.theme-doc-sidebar-container { border-right-color: var(--portal-border) !important; }
.menu__link { font-size: .9rem; }
.menu__link--active { background: rgba(94, 234, 212, .08) !important; }
.table-of-contents__link--active { color: #5eead4; }
.menu__link--active { background: var(--portal-active-bg) !important; }
.table-of-contents__link--active { color: var(--portal-accent); }
.button, code, pre, .card, .alert, .pagination-nav__link, .menu,
input, select, textarea, details, summary, table, .dropdown__menu,