MediaWiki:Common.css: Difference between revisions
I swear that min-width and max-width will confuse me til the end |
... |
||
Line 2: | Line 2: | ||
.infoboxOuter { | .infoboxOuter { | ||
width: | width: 200px; | ||
} | } | ||
@media ( | @media (max-width: 500px) { | ||
.infoboxOuter { | .infoboxOuter { | ||
width: | width: 100%;; | ||
} | } | ||
} | } |
Revision as of 18:44, 21 November 2024
/* CSS placed here will be applied to all skins */ .infoboxOuter { width: 200px; } @media (max-width: 500px) { .infoboxOuter { width: 100%;; } }