Template:Infobox styles.css: Difference between revisions

Keep document buttons blue in dark mode for consistency (via update-page on MediaWiki MCP Server)
Add mobile-responsive styles for infoboxes to be full-width on narrow screens (via update-page on MediaWiki MCP Server)
Line 67: Line 67:
.mod-not-feasible {
.mod-not-feasible {
     color: #cc3333;
     color: #cc3333;
}
/* ===== MOBILE RESPONSIVE STYLES ===== */
@media screen and (max-width: 720px) {
    .infobox-crt-model,
    .infobox-av-device {
        float: none !important;
        width: 100% !important;
        margin: 0 0 1em 0 !important;
        box-sizing: border-box;
    }
   
    .infobox-crt-model .infobox-image img,
    .infobox-av-device .infobox-image img {
        max-width: 100%;
        height: auto;
    }
}
}


MediaWiki Appliance - Powered by TurnKey Linux