MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
AdminIsidore (talk | contribs)
No edit summary
AdminIsidore (talk | contribs)
No edit summary
Line 25: Line 25:
     border-radius: 5px;
     border-radius: 5px;
     overflow: visible;
     overflow: visible;
     min-height: 600px;
     min-height: 800px;
}
}
@media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) {
Line 36: Line 36:
     width: 100%;
     width: 100%;
     height: auto;
     height: auto;
     min-height: 600px; /* Force larger SVG */
     min-height: 800px; /* Force larger SVG */
     overflow: visible;
     overflow: visible;
}
}
.mermaid text {
.mermaid text {
     font-size: 10px !important; /* Match template */
     font-size: 12px !important; /* Readable size */
     dominant-baseline: central; /* Center vertically */
     dominant-baseline: central; /* Center vertically */
     text-anchor: middle; /* Center horizontally */
     text-anchor: middle; /* Center horizontally */
     transform: translateY(-2px); /* Shift text up slightly */
     transform: translateY(-5px); /* Shift text up */
}
}