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 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; | ||
} | |||
.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; | |||
} | |||
} | } |