Changelog: - Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
52 lines
1.8 KiB
CSS
52 lines
1.8 KiB
CSS
/* 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) */
|
|
.pc-grid { display: grid; grid-template-columns: minmax(18em, 28em) 1fr; gap: 2em; }
|
|
@media (max-width: 60em) { .pc-grid { grid-template-columns: 1fr; } }
|
|
.pc-row { display: grid; grid-template-columns: 14em 1fr; gap: 0.2em 0.6em; align-items: center; margin: 0.15em 0; }
|
|
.pc-row > span { grid-column: 2; font-size: 0.85em; }
|
|
.pc-row select, .pc-row input { width: 100%; }
|
|
.pc-num { text-align: right; white-space: nowrap; }
|
|
.pc-m, .pc-e { font-size: 0.8em; padding: 0 0.3em; border: 1px solid; }
|
|
.pc-m { color: var(--primary-color); }
|
|
.pc-e { color: #e5a50a; }
|
|
.pc-cost { color: #e5a50a; font-size: 0.85em; }
|
|
.pc-note { font-size: 0.85em; opacity: 0.8; }
|
|
.pc-lang { float: right; }
|
|
.pc-values { overflow-x: auto; }
|