openvibers/openvibe.bot Commits

Bot: the Build pages use the Frame's font instead of the browser's serif (#54)

OP OpenVibers committed 10 Oct 2026 · 4b62217c1a · 1 file, +1 −1

The Build pages (`/docs`, `/docs/drivers`, `/docs/profiles`) rendered their text in the browser's default serif: `docs.css` never set a font, and only the navbar and the home page's showcase containers carry the Frame's. `.docs-wrap` now uses the Frame's `--ov-font` (Inter, then the system sans stack), like the rest of the site. Screenshots will be checked at 1280 and 390 px after the deploy.

Changes

ddiff --git a/public/docs.css b/public/docs.css
iindex 64173e7..9a4e68c 100644
---- a/public/docs.css
++++ b/public/docs.css
@@@ -1,6 +1,6 @@
/* OpenVibe.Bot's "Build" pages (/docs, /docs/drivers, /docs/profiles): a docs layout inside the OpenVibe Frame.
Colours come from the Frame's theme variables, so the pages follow the person's theme. */
--.docs-wrap { max-width: 1120px; margin: 0 auto; padding: 32px 16px 64px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; }
++.docs-wrap { font-family: var(--ov-font, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif); max-width: 1120px; margin: 0 auto; padding: 32px 16px 64px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; }
.docs-side { position: sticky; top: 76px; display: flex; flex-direction: column; gap: 2px; }
.docs-side .docs-side-title { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-secondary, #96a7c2); margin: 0 0 8px 10px; }
.docs-side a { display: block; padding: 8px 10px; border-radius: 8px; color: var(--text-secondary, #96a7c2); text-decoration: none; font-size: 14px; font-weight: 600; }