MediaWiki:Common.css: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 112:
.hlist li ol > li:first-child:before {
content: " (" counter(listitem) "\a0";
}
 
/** Generic infobox styling **/
.infobox {
width: 23em;
text-align: right;
border: 1px solid #AAA;
background-color: #F9F9F9;
color: #000;
margin: 0.5em 0 0.5em 1em;
padding: 0.2em;
float: right;
clear: right;
font-size: 88%;
line-height: 1.2em;
vertical-align: top;
border-collapse: collapse;
}
.infobox td[colspan="2"],
.infobox th[colspan="2"] {
text-align: center;
}
.infobox td:first-child:not([colspan="2"]) {
text-align: left;
font-weight: bold;
width: 50%;
vertical-align: top;
}
.infobox th.infoboxFirstHeader {
font-size: 120%
}
.infobox td ul,
.infobox td ol {
text-align: left;
}
.infobox th {
border-bottom: #AAA thin solid;
border-top: #AAA thin solid;
}
.infobox th,
.infobox td {
padding: 0.4em 0.6em 0.2em 0.6em;
}
.infobox tr.infoboxSubsectionBreak {
border-top: #AAA thin solid;
}
.infobox th.infoboxSectionHeader,
.infobox th.infoboxFirstHeader {
background-color: #CDDEFF;
}
.infoboxSubsectionBreak td {
padding: 0;
}
.infoboxBlockImage img {
width:240px;
height: auto;
}