MediaWiki:Common.css: Difference between revisions

No edit summary
Tag: Manual revert
No edit summary
Line 1: Line 1:
/* Infoboxes */
/* -----------------
--- Infoboxes ---
----------------- */
 
.infobox {
.infobox {
    background-color: #f8f9fa;
border: 1px solid #a2a9b1;
border: 1px solid #a2a9b1;
color: black;
color: black;
padding: 0.2em;
padding: .2em;
font-size: .9em;
font-size: .9em;
line-height: 1.5em;
line-height: 1.5em;
Line 13: Line 17:
     font-weight: bold;
     font-weight: bold;
     text-align: left;
     text-align: left;
vertical-align: top;
}
}


.infobox td {
.infobox td {
     padding: 0.2em 0.5em;
     padding: .2em .5em;
}
    text-align: left;
 
vertical-align: top;
@media screen {
.infobox {
background-color: #f8f9fa;
    }
}
}


Line 54: Line 55:
width: 22em;
width: 22em;
}
}
}
.infobox-header,
.infobox-label,
.infobox-above,
.infobox-full-data,
.infobox-data,
.infobox-below,
.infobox-subheader,
.infobox-image,
.infobox-navbar,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox td {
vertical-align: top;
}
.infobox-label,
.infobox-data,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox td {
/* @noflip */
    text-align: left;
}
}


Line 105: Line 82:
     font-size: .9em;
     font-size: .9em;
     text-align: center !important;
     text-align: center !important;
}
.infobox-title,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox caption {
padding: 0.2em;
}
/* Remove .infobox when element selectors above are removed */
.infobox .infobox-header,
.infobox .infobox-subheader,
.infobox .infobox-image,
.infobox .infobox-full-data,
.infobox .infobox-below {
text-align: center;
}
/* Remove .infobox when element selectors above are removed */
.infobox .infobox-navbar {
/* @noflip */
text-align: right;
}
}