circuitforge-core/docs/stylesheets/theme.css
pyr0ball f32faae7be
Some checks failed
CI / test (pull_request) Has been cancelled
feat(signal-bus): add SSE event publisher; finish video upload + docs theme WIP
- circuitforge_core.signal_bus: SignalBus/SignalEvent generic pub-sub over
  Server-Sent Events for real-time signal streams (thread-safe publish,
  bounded per-subscriber queues with drop-oldest overflow, keepalive).
  New `signal-bus` extra.
- circuitforge_core.video.app: POST /caption/upload accepts a multipart
  video file for callers without filesystem access to the video-service
  node; added test coverage. video-service extra now pulls in
  python-multipart, required by UploadFile parsing.
- docs: mkdocs.yml blue-grey/cyan palette now wired to a central
  docs/stylesheets/theme.css for consistent theme-aware styling.
- Bump to 0.22.0; update README module table/install line and CHANGELOG.

Closes: #58
2026-07-10 16:10:34 -07:00

39 lines
1.1 KiB
CSS

/*
* circuitforge-core docs theme
*
* Central place for palette tweaks and small layout fixes on top of
* mkdocs-material's blue grey / cyan palette (see mkdocs.yml). Keep
* product-specific overrides out of individual markdown pages — add
* them here so light/dark mode and mobile layout stay consistent
* across the whole site.
*/
:root {
--cf-accent-strong: #00acc1; /* cyan 600, matches material accent */
--cf-code-bg-light: #eceff1; /* blue grey 50 */
--cf-code-bg-dark: #263238; /* blue grey 900 */
}
/* Slightly stronger contrast for inline code than material's default,
in both color schemes. */
[data-md-color-scheme="default"] {
--md-code-bg-color: var(--cf-code-bg-light);
}
[data-md-color-scheme="slate"] {
--md-code-bg-color: var(--cf-code-bg-dark);
}
/* Module reference tables can get wide (Module | Status | Description);
let them scroll horizontally on narrow viewports instead of overflowing
the page or squeezing text unreadably small. */
.md-typeset table:not([class]) {
display: block;
overflow-x: auto;
}
@media screen and (max-width: 44.9375em) {
.md-typeset table:not([class]) {
font-size: 0.7rem;
}
}