Skip to content

Soul-driven AI agent with permission-hardened tools, token budgets, and multi-channel access. Runs 24/7 from CLI, Telegram or More.

9.9 KB
Raw Blame
:root {
  /* Mercury teal: AA contrast on paper. The dark theme uses the brighter cyan. */
  --ifm-color-primary: #0b7285;
  --ifm-color-primary-dark: #0a6778;
  --ifm-color-primary-darker: #096170;
  --ifm-color-primary-darkest: #08505c;
  --ifm-color-primary-light: #0c7d92;
  --ifm-color-primary-lighter: #0d8399;
  --ifm-color-primary-lightest: #0f94ad;
  --ifm-background-color: #fbfbf8;
  --ifm-background-surface-color: #f3f3ee;
  --ifm-color-content: #3c4347;
  --ifm-heading-color: #111416;
  --ifm-code-font-size: 92%;
  --ifm-font-family-base: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --ifm-font-family-monospace: 'Geist Mono', 'SF Mono', 'Cascadia Code', 'JetBrains Mono', Menlo, monospace;
  --ifm-navbar-height: 64px;
  --ifm-navbar-shadow: none;
  --docusaurus-highlighted-code-line-bg: rgba(11, 114, 133, 0.08);
  --mx-site-line: rgba(17, 20, 22, 0.10);
}

[data-theme='dark'] {
  --ifm-color-primary: #7fd8e8;
  --ifm-color-primary-dark: #63cfe2;
  --ifm-color-primary-darker: #55cbdf;
  --ifm-color-primary-darkest: #2ebdd6;
  --ifm-color-primary-light: #9be1ee;
  --ifm-color-primary-lighter: #a9e5f0;
  --ifm-color-primary-lightest: #d1f2f8;
  --ifm-background-color: #0a0d10;
  --ifm-background-surface-color: #0e1216;
  --ifm-color-content: #c3ccd1;
  --ifm-heading-color: #f1f5f7;
  --docusaurus-highlighted-code-line-bg: rgba(127, 216, 232, 0.08);
  --mx-site-line: rgba(230, 240, 244, 0.09);
}

[data-theme='dark'] .menu {
  background: var(--ifm-background-color);
}

/* Mobile sidebar - ensure visibility in dark mode */
[data-theme='dark'] .navbar-sidebar {
  background-color: #111 !important;
  --ifm-menu-color: #dadde1;
  --ifm-color-content: #dadde1;
  color: #dadde1;
}

[data-theme='dark'] .navbar-sidebar .menu {
  background: #111;
}

[data-theme='dark'] .navbar-sidebar .menu__link {
  color: #dadde1;
}

[data-theme='dark'] .navbar-sidebar .menu__link:hover,
[data-theme='dark'] .navbar-sidebar .menu__link--active {
  color: #00d4ff;
}

[data-theme='dark'] .navbar-sidebar .menu__link--sublist-caret::after {
  background: currentColor;
}

[data-theme='dark'] .navbar-sidebar__brand {
  background: #111;
  border-bottom: 1px solid #333;
}

[data-theme='dark'] .navbar-sidebar__close svg {
  color: #dadde1;
}

[data-theme='dark'] .navbar-sidebar__items {
  background: #111;
}

[data-theme='dark'] .navbar-sidebar__backdrop {
  background-color: rgba(0, 0, 0, 0.6);
}

[data-theme='dark'] .table-of-contents {
  border-left: 1px solid var(--mx-site-line);
}

[data-theme='dark'] code {
  background: rgba(0, 212, 255, 0.08);
  color: #00d4ff;
  border: none;
}

[data-theme='light'] code {
  background: rgba(0, 180, 220, 0.08);
  color: #0088a8;
  border: none;
}

[data-theme='dark'] .theme-doc-sidebar-container {
  border-right: 1px solid var(--mx-site-line);
}

/* ---- Navbar: hairline, translucent, same on docs and homepage ----
 * The blur lives on a pseudo-element, never on .navbar itself. A
 * backdrop-filter makes its element the containing block for position:fixed
 * descendants, and the mobile drawer (.navbar-sidebar) is rendered inside the
 * navbar: with the filter on .navbar, Safari and every iOS browser squeeze the
 * drawer to the navbar's 64px height, so the menu opens blank. */
.navbar {
  background: transparent;
  border-bottom: 1px solid var(--mx-site-line);
}
.navbar::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: color-mix(in srgb, var(--ifm-background-color) 82%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
}
/* While the drawer is open, keep the bar opaque behind it. */
.navbar.navbar-sidebar--show::before { background: var(--ifm-background-color); }
.navbar__title { font-weight: 600; letter-spacing: -0.01em; }
.navbar__logo { height: 26px; }
.navbar__item.navbar__link { font-size: 0.92rem; font-weight: 500; }
.navbar-github {
  width: 36px; height: 36px; padding: 0; display: inline-flex; align-items: center; justify-content: center;
}
.navbar-github::before {
  content: ''; width: 20px; height: 20px; background-color: var(--ifm-navbar-link-color);
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.navbar-github:hover::before { background-color: var(--ifm-navbar-link-hover-color); }
.navbar .navbar-cta {
  margin-left: 8px; padding: 7px 16px; border-radius: 999px;
  background: var(--ifm-heading-color); color: var(--ifm-background-color) !important;
  font-weight: 500; font-size: 0.88rem;
}
.navbar .navbar-cta:hover { opacity: 0.88; color: var(--ifm-background-color); }
.navbar-sidebar .navbar-github::before { margin-right: 8px; }

/* ---- Announcement bar ---- */
.theme-announcement-bar {
  /* config colors are inline styles; the bar follows the theme instead */
  background: var(--ifm-heading-color) !important;
  color: var(--ifm-background-color) !important;
  border-bottom: 0;
  font-size: 0.86rem;
}
.theme-announcement-bar a { color: inherit; font-weight: 600; }
.theme-announcement-bar button { color: inherit; }

/* ---- Footer: quiet, hairline ---- */
.footer {
  --ifm-footer-background-color: var(--ifm-background-color);
  --ifm-footer-title-color: var(--ifm-heading-color);
  --ifm-footer-link-color: var(--ifm-color-content);
  border-top: 1px solid var(--mx-site-line);
  padding: 64px 0 48px;
}
.footer__title { font-family: var(--ifm-font-family-monospace); font-size: 0.74rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.7; }
.footer__item { font-size: 0.92rem; }
.footer__copyright { font-size: 0.84rem; opacity: 0.7; margin-top: 32px; }

[data-theme='dark'] .pagination-nav__link {
  border-color: #222;
  background: #111111;
}

[data-theme='dark'] .card {
  background: #111111;
  border-color: #222;
}

/* Admonition styles - light mode */
.theme-admonition {
  --ifm-alert-padding-vertical: 1rem;
  --ifm-alert-padding-horizontal: 1.2rem;
  border-radius: 6px;
  border-left-width: 4px;
}

.theme-admonition-info {
  --ifm-alert-background-color: rgba(0, 180, 220, 0.08);
  --ifm-alert-background-color-highlight: rgba(0, 180, 220, 0.15);
  --ifm-alert-foreground-color: #0088a8;
  --ifm-alert-border-color: #0088a8;
}

.theme-admonition-tip {
  --ifm-alert-background-color: rgba(40, 200, 64, 0.08);
  --ifm-alert-background-color-highlight: rgba(40, 200, 64, 0.15);
  --ifm-alert-foreground-color: #1a8a2e;
  --ifm-alert-border-color: #1a8a2e;
}

.theme-admonition-warning {
  --ifm-alert-background-color: rgba(254, 188, 46, 0.08);
  --ifm-alert-background-color-highlight: rgba(254, 188, 46, 0.15);
  --ifm-alert-foreground-color: #b58105;
  --ifm-alert-border-color: #b58105;
}

.theme-admonition-caution,
.theme-admonition-danger {
  --ifm-alert-background-color: rgba(255, 95, 87, 0.08);
  --ifm-alert-background-color-highlight: rgba(255, 95, 87, 0.15);
  --ifm-alert-foreground-color: #cc3730;
  --ifm-alert-border-color: #cc3730;
}

/* Admonition styles - dark mode */
[data-theme='dark'] .theme-admonition {
  background: #111111;
}

[data-theme='dark'] .theme-admonition-info {
  --ifm-alert-background-color: rgba(0, 212, 255, 0.06);
  --ifm-alert-background-color-highlight: rgba(0, 212, 255, 0.12);
  --ifm-alert-foreground-color: #00d4ff;
  --ifm-alert-border-color: #00d4ff;
}

[data-theme='dark'] .theme-admonition-tip {
  --ifm-alert-background-color: rgba(40, 200, 64, 0.06);
  --ifm-alert-background-color-highlight: rgba(40, 200, 64, 0.12);
  --ifm-alert-foreground-color: #28c840;
  --ifm-alert-border-color: #28c840;
}

[data-theme='dark'] .theme-admonition-warning {
  --ifm-alert-background-color: rgba(254, 188, 46, 0.06);
  --ifm-alert-background-color-highlight: rgba(254, 188, 46, 0.12);
  --ifm-alert-foreground-color: #febc2e;
  --ifm-alert-border-color: #febc2e;
}

[data-theme='dark'] .theme-admonition-caution,
[data-theme='dark'] .theme-admonition-danger {
  --ifm-alert-background-color: rgba(255, 95, 87, 0.06);
  --ifm-alert-background-color-highlight: rgba(255, 95, 87, 0.12);
  --ifm-alert-foreground-color: #ff5f57;
  --ifm-alert-border-color: #ff5f57;
}

[data-theme='dark'] table {
  border-collapse: collapse;
}

[data-theme='dark'] table th {
  border-bottom: 1px solid var(--mx-site-line);
  background: #111111;
  color: #00d4ff;
  font-family: var(--ifm-font-family-monospace);
  font-size: 0.85em;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

[data-theme='dark'] table td {
  border-bottom: 1px solid var(--mx-site-line);
  color: #888;
}

[data-theme='dark'] table tr:hover td {
  background: rgba(0, 212, 255, 0.03);
}

[data-theme='dark'] table td:first-child code {
  color: #00d4ff;
}