MediaWiki:Common.css

From OODA WIKI
Revision as of 21:02, 28 August 2025 by AdminIsidore (talk | contribs)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */
@font-face {
  font-family: 'Junicode';
  src: url('/resources/fonts/Junicode-Regular.woff2') format('woff2'),
       url('/resources/fonts/JunicodeTwoBeta-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Quivira';
  src: url('/resources/fonts/Quivira.woff2') format('woff2'),
       url('/resources/fonts/Quivira.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
body, .mw-parser-output {
  font-family: 'Junicode', 'Quivira', 'DejaVu Sans', sans-serif;
}
.mermaid {
    max-width: 100%;
    margin: 1em auto;
    padding: 1em;
    background: #ffffff; /* White background for light theme */
    border: 1px solid #cccccc;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
/* Dark theme support */
@media (prefers-color-scheme: dark) {
    .mermaid {
        background: #333333; /* Dark background */
        border-color: #555555;
    }
}