MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 352: Line 352:


.infobox-image img {
.infobox-image img {
     background: white !important;
     background: #ffffff !important;
     border: none;
     border: none;
     box-shadow: none;
     box-shadow: none;
Line 368: Line 368:
     text-align: left;
     text-align: left;
     font-weight: bold;
     font-weight: bold;
}
/* Mobile responsive infobox */
@media screen and (max-width: 768px) {
    .infobox.biography {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 15px 0 !important;
        box-sizing: border-box;
        overflow-x: auto;
    }
    .infobox.biography table {
        width: 100% !important;
    }
    .infobox.biography th {
        width: 35% !important;
        word-break: break-word;
    }
    .infobox.biography td {
        width: 65% !important;
        word-break: break-word;
    }
    .infobox-image img {
        max-width: 100% !important;
        height: auto !important;
    }
    .infobox-title {
        font-size: 22px !important;
    }
}
}