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