Template:OHC/styles.css: Difference between revisions
Template page
More languages
More actions
Content deleted Content added
Automated edit (via update-page on MediaWiki MCP Server) |
Add .ext-mermaid overflow-x:auto to prevent diagram overflow past sidebar (via update-page on MediaWiki MCP Server) |
||
| Line 57: | Line 57: | ||
.ohc-sidebar__item--active { font-weight: 700; background: var(--color-surface-2, #f8f9fa); border-left: 3px solid #059669; } |
.ohc-sidebar__item--active { font-weight: 700; background: var(--color-surface-2, #f8f9fa); border-left: 3px solid #059669; } |
||
@media (max-width: 72em) { .ohc-sidebar { float: none; width: 100%; margin: 1em 0; } } |
@media (max-width: 72em) { .ohc-sidebar { float: none; width: 100%; margin: 1em 0; } } |
||
/* Mermaid diagrams ------------------------------------------------------ */ |
|||
.ext-mermaid { overflow-x: auto; max-width: 100%; } |
|||
.ext-mermaid svg { max-width: 100%; height: auto; } |
|||
/* Message boxes --------------------------------------------------------- */ |
/* Message boxes --------------------------------------------------------- */ |
||