/* Docs site of the meshcore-tth fork (mkdocs.tth.yml, theme mkdocs-terminal, palette "dark"): only what the palette lacks. Green instead of its blue, and the GitHub callouts (> [!WARNING]) the theme does not style. */ :root { --primary-color: #5fd38d; --progress-bar-fill: #5fd38d; /* plain black; the palette's 60em column was a thin noodle on a wide screen (user, 2. 12. 2026) */ --background-color: #000; --invert-font-color: #000; --code-bg-color: #161616; --page-width: min(110em, 94vw); } .admonition { border: 1px solid var(--secondary-color); padding: 0.2em 1em; margin: var(--global-line-height) 0; } .admonition-title { font-weight: bold; margin: 0.4em 0 0; } .admonition.warning, .admonition.caution, .admonition.danger { border-color: #e5a50a; } .admonition.warning > .admonition-title, .admonition.caution > .admonition-title, .admonition.danger > .admonition-title { color: #e5a50a; } .admonition.note > .admonition-title, .admonition.tip > .admonition-title, .admonition.important > .admonition-title { color: var(--primary-color); } /* power calculator (power-calculator.md, docs/_js/power-calculator.js): a card of its own inside the theme, proportional labels, monospace numbers */ .pc-card { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; border: 1px solid #333; border-radius: 10px; background: #0b0b0b; padding: 1rem 1.25rem 1.25rem; margin: 1.5rem 0; line-height: 1.45; } .pc-card table, .pc-card td, .pc-card th { border: 0; } .pc-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 0.75rem; font-size: 1.05rem; } .pc-layout { display: grid; grid-template-columns: 1fr; gap: 1.5rem; } @media (min-width: 52em) { .pc-layout { grid-template-columns: minmax(0, 1fr) minmax(19rem, 24rem); align-items: start; } .pc-result { order: 2; position: sticky; top: 1rem; } } .pc-form { display: flex; flex-direction: column; gap: 1rem; } .pc-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 1rem; } .pc-sel { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); } .pc-sets { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; } .pc-grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 0.75rem 1rem; margin-top: 0.75rem; } .pc-field { display: flex; flex-direction: column; gap: 0.3rem; min-width: 0; } .pc-label { font-size: 0.85rem; color: #b8bcc4; } .pc-card input { font-family: ui-monospace, monospace; } .pc-card select { font-family: inherit; } .pc-card select, .pc-card input { font-size: 0.95rem; width: 100%; box-sizing: border-box; background: #151515; color: #e8e9ed; border: 1px solid #3a3a3a; border-radius: 6px; padding: 0.4rem 0.5rem; } .pc-card select:focus, .pc-card input:focus, .pc-seg button:focus-visible { outline: 2px solid var(--primary-color); outline-offset: 1px; } .pc-seg { display: flex; flex-wrap: nowrap; max-width: 100%; border: 1px solid #3a3a3a; border-radius: 6px; overflow: hidden; width: fit-content; } .pc-seg button { font: inherit; font-size: 0.9rem; background: transparent; color: #e8e9ed; border: 0; border-right: 1px solid #3a3a3a; padding: 0.35rem 0.8rem; cursor: pointer; margin: 0; border-radius: 0; flex: 1 1 auto; white-space: nowrap; } @media (max-width: 30em) { .pc-seg button { font-size: 0.85rem; padding: 0.35rem 0.55rem; } .pc-card { padding: 0.8rem; } } .pc-seg button:last-child { border-right: 0; } .pc-seg button:hover:not(:disabled) { background: #1d2a22; } .pc-seg button[aria-pressed="true"] { background: var(--primary-color); color: #000; font-weight: 600; } .pc-seg button:disabled { color: #6b6f76; cursor: not-allowed; } .pc-lang button { font-size: 0.8rem; padding: 0.15rem 0.55rem; } .pc-warn { color: #f0b429; font-size: 0.85rem; } .pc-warn.pc-small { font-size: 0.8rem; } .pc-warn a, .pc-hint a { color: inherit; text-decoration: underline; } .pc-hint { font-size: 0.8rem; color: #9da1a8; } .pc-adv > summary, .pc-bd > summary, .pc-values > summary { cursor: pointer; color: #b8bcc4; } .pc-adv { border-top: 1px solid #262626; padding-top: 0.75rem; } .pc-adv[open] > .pc-field { margin-top: 0.75rem; } .pc-result { background: #111; border: 1px solid #262626; border-radius: 8px; padding: 1rem; } .pc-big { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; } .pc-bignum { font-family: ui-monospace, monospace; font-size: 2.2rem; line-height: 1.1; font-weight: 700; color: var(--primary-color); } .pc-unit { font-size: 1rem; font-weight: 400; color: #b8bcc4; } .pc-sub { font-size: 0.8rem; color: #9da1a8; min-height: 1.2em; } .pc-bar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; background: #222; margin: 1rem 0 0.4rem; } .pc-bar span { display: block; height: 100%; } .pc-b-node { background: #5fd38d; } .pc-b-tx { background: #e5a50a; } .pc-b-rx { background: #62a0ea; } .pc-legend { display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; font-size: 0.8rem; color: #b8bcc4; } .pc-legend i { display: inline-block; width: 0.7em; height: 0.7em; border-radius: 2px; margin-right: 0.35em; } .pc-me { margin-top: 0.6rem; font-size: 0.85rem; } .pc-m-t { color: #5fd38d; } .pc-e-t { color: #f0b429; } .pc-bd { margin-top: 0.8rem; font-size: 0.85rem; } .pc-lines { width: 100%; margin-top: 0.5rem; } .pc-lines td { padding: 0.25rem 0.3rem; vertical-align: top; } .pc-num { text-align: right; white-space: nowrap; font-family: ui-monospace, monospace; } .pc-m, .pc-e { font-size: 0.7rem; padding: 0 0.3em; border: 1px solid; border-radius: 3px; } .pc-m { color: #5fd38d; } .pc-e { color: #f0b429; } .pc-values { margin: 1rem 0; } .pc-scroll { overflow-x: auto; font-size: 0.85rem; }