MediaWiki:Common.css: Difference between revisions

Infobox.
(+tagline.)
(Infobox.)
Line 670: Line 670:
/* Infobox template style */
/* Infobox template style */
.infobox {
.infobox {
    border: 1px solid #a2a9b1;
border: 1px solid #a2a9b1;
    border-spacing: 3px;
border-spacing: 3px;
    background-color: #f8f9fa;
background-color: #f8f9fa;
    color: black;
color: black;
    /* @noflip */
/* @noflip */
    margin: 0.5em 0 0.5em 1em;
margin: 0.5em 0 0.5em 1em;
    padding: 0.2em;
padding: 0.2em;
    /* @noflip */
/* @noflip */
    float: right;
float: right;
    /* @noflip */
/* @noflip */
    clear: right;
clear: right;
    font-size: 88%;
font-size: 88%;
    line-height: 1.5em;
line-height: 1.5em;
}
width: 22em;
.infobox caption {
    font-size: 125%;
    font-weight: bold;
    padding: 0.2em;
}
.infobox td,
.infobox th {
    vertical-align: top;
    /* @noflip */
    text-align: left;
}
.infobox.bordered {
    border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
    border: 1px solid #a2a9b1;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
    border: 0;
}
}


.infobox.sisterproject {
.infobox-header,
    width: 20em;
.infobox-label,
    font-size: 90%;
.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.standard-talk {
.infobox-label,
    border: 1px solid #c0c090;
.infobox-data,
    background-color: #f8eaba;
/* Remove element selector when every .infobox thing is using the standard module/templates  */
}
.infobox th,
.infobox.standard-talk.bordered td,
.infobox td {
.infobox.standard-talk.bordered th {
/* @noflip */
    border: 1px solid #c0c090;
text-align: left;
}
}


/* styles for bordered infobox with merged rows */
/* Remove .infobox when element selectors above are removed */
.infobox.bordered .mergedtoprow td,
.infobox .infobox-above,
.infobox.bordered .mergedtoprow th {
.infobox .infobox-title,
    border: 0;
/* Remove element selector when every .infobox thing is using the standard module/templates  */
    border-top: 1px solid #a2a9b1;
.infobox caption {
    /* @noflip */
font-size: 125%;
    border-right: 1px solid #a2a9b1;
font-weight: bold;
text-align: center;
}
}


.infobox.bordered .mergedrow td,
.infobox-title,
.infobox.bordered .mergedrow th {
/* Remove element selector when every .infobox thing is using the standard module/templates  */
    border: 0;
.infobox caption {
    /* @noflip */
padding: 0.2em;
    border-right: 1px solid #a2a9b1;
}
 
/* Styles for geography infoboxes, eg countries,
  country subdivisions, cities, etc.            */
.infobox.geography {
    border-collapse: collapse;
    line-height: 1.2em;
    font-size: 90%;
}
 
.infobox.geography  td,
.infobox.geography  th {
    border-top: 1px solid #a2a9b1;
    padding: 0.4em 0.6em 0.4em 0.6em;
}
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th {
    border-top: 1px solid #a2a9b1;
    padding: 0.4em 0.6em 0.2em 0.6em;
}
 
.infobox.geography .mergedrow td,
.infobox.geography .mergedrow th {
    border: 0;
    padding: 0 0.6em 0.2em 0.6em;
}
}


.infobox.geography .mergedbottomrow td,
/* Remove .infobox when element selectors above are removed */
.infobox.geography .mergedbottomrow th {
.infobox .infobox-header,
    border-top: 0;
.infobox .infobox-subheader,
    border-bottom: 1px solid #a2a9b1;
.infobox .infobox-image,
    padding: 0 0.6em 0.4em 0.6em;
.infobox .infobox-full-data,
.infobox .infobox-below {
text-align: center;
}
}


.infobox.geography .maptable td,
/* Remove .infobox when element selectors above are removed */
.infobox.geography .maptable th {
.infobox .infobox-navbar {
    border: 0;
/* @noflip */
    padding: 0;
text-align: right;
}
}


AVS, avs, Bureaucrats, editinterface, Interface administrators, oversight, staff, Administrators
19,182

edits