MediaWiki:Mobile.css: Difference between revisions

Created page with "All CSS here will be loaded for users of the mobile site: .infobox { background: #f7f7f7; border: 1px solid #aaa; padding: 0.25em; width: 100%; margin-top: 0.5rem; } .infobox-title { font-size: 1.5rem; text-align: center; } .infobox-subtitle { font-style: italic; text-align: center; } .infobox-image { text-align: center; } .infobox-table { display: flex; flex-direction: column; align-items: center; margin-top:..."
 
No edit summary
Line 1: Line 1:
/* All CSS here will be loaded for users of the mobile site */
/* All CSS here will be loaded for users of the mobile site */


.infobox {
.infobox.mobile {
    background: #f7f7f7;
    border: 1px solid #aaa;
    padding: 0.25em;
     width: 100%;
     width: 100%;
     margin-top: 0.5rem;
     margin-top: 0.5rem;
}
.infobox-title {
    font-size: 1.5rem;
    text-align: center;
}
.infobox-subtitle {
    font-style: italic;
    text-align: center;
}
.infobox-image {
    text-align: center;
}
.infobox-table {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0.5rem;
}
.infobox-table > span:nth-child(odd) {
    font-weight: bold;
}
}