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 20: | Line 20: | ||
max-width: 800px; | max-width: 800px; | ||
margin: 1em auto; | margin: 1em auto; | ||
padding: | padding: 2em; /* Increased padding */ | ||
background: #ffffff; | background: #ffffff; | ||
border: 1px solid #cccccc; | border: 1px solid #cccccc; | ||
border-radius: 5px; | border-radius: 5px; | ||
overflow: visible; /* Prevent clipping */ | |||
min-height: 300px; /* Ensure enough vertical space */ | |||
} | } | ||
@media (prefers-color-scheme: dark) { | @media (prefers-color-scheme: dark) { | ||
| Line 30: | Line 32: | ||
border-color: #555555; | border-color: #555555; | ||
} | } | ||
} | |||
.mermaid svg { | |||
width: 100%; | |||
height: auto; /* Allow SVG to scale vertically */ | |||
font-size: 14px; /* Adjust font size */ | |||
} | } | ||