MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
AdminIsidore (talk | contribs)
No edit summary
AdminIsidore (talk | contribs)
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 16: Line 16:
body, .mw-parser-output {
body, .mw-parser-output {
   font-family: 'Junicode', 'Quivira', 'DejaVu Sans', sans-serif;
   font-family: 'Junicode', 'Quivira', 'DejaVu Sans', sans-serif;
}
@font-face {
    font-family: "IBMPlexMono";
    src: url("https://www.ooda.wiki/resources/assets/fonts/IBMPlexMono-Regular.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
}
.glossary-graph,
.documentation,
.documentation-metadata,
.documentation-heading,
.documentation-toolbar {
    font-family: "IBMPlexMono", "Courier New", monospace;
}
}
.mermaid {
.mermaid {
Line 25: Line 38:
     border-radius: 5px;
     border-radius: 5px;
     overflow: visible;
     overflow: visible;
     min-height: 500px; /* Increased for safety */
     min-height: 800px;
}
}
@media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) {
Line 36: Line 49:
     width: 100%;
     width: 100%;
     height: auto;
     height: auto;
     min-height: 400px; /* Increased SVG height */
     min-height: 800px; /* Force larger SVG */
    font-size: 12px;
     overflow: visible;
     overflow: visible;
    transform: scale(1); /* Prevent scaling issues */
}
}
.mermaid text {
.mermaid text {
     font-size: 12px !important; /* Force text size */
     font-size: 12px !important; /* Readable size */
     dominant-baseline: middle; /* Center text vertically */
     dominant-baseline: central; /* Center vertically */
    text-anchor: middle; /* Center horizontally */
    transform: translateY(-5px); /* Shift text up */
}
}