Difference between revisions of "Template:Infobox/styles.css"

trim to .infobox
>Izno
(and a bit more)
>Izno
(trim to .infobox)
Line 3: Line 3:
  * [[Template:Tool]], etc.
  * [[Template:Tool]], etc.
  */
  */
.tpl-infobox {
.infobox {
box-sizing: border-box;
box-sizing: border-box;
border: 2px solid #a2a9b1;
border: 2px solid #a2a9b1;
Line 20: Line 20:
/* high specificity to ensure specific infoboxes won't override these
/* high specificity to ensure specific infoboxes won't override these
* properties with their own tstyles inadvertently */
* properties with their own tstyles inadvertently */
body.mediawiki .tpl-infobox {
body.mediawiki .infobox {
float: none;
float: none;
clear: both;
clear: both;
Line 28: Line 28:
}
}


.tpl-infobox td {
.infobox td {
border: 2px none #a2a9b1;
border: 2px none #a2a9b1;
padding: 0.2em 0.5em;
padding: 0.2em 0.5em;
Line 35: Line 35:
}
}


.tpl-infobox-header {
.infobox-header {
background-color: #a2a9b1;
background-color: #a2a9b1;
color: #FFF;
color: #FFF;
Line 41: Line 41:
}
}


.tpl-infobox-header a {
.infobox-header a {
color: #FFF;
color: #FFF;
}
}


.tpl-infobox-header td {
.infobox-header td {
padding-top: 0.5em;
padding-top: 0.5em;
}
}


.tpl-infobox-header img {
.infobox-header img {
padding: 0 0.2em 0 0.5em;
padding: 0 0.2em 0 0.5em;
}
}
Anonymous user