MediaWiki:Vector.css: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(Added infobox styles and tweaked pre and code boxes)
(Tweaked infobox label and captions styles)
Line 261: Line 261:
}
}


table.infobox tr {
.infobox-caption {
padding: 2px 7px;
max-width: 100%;

line-height: 1.5em;
text-overflow: wrap;
}

.infobox tr * {
vertical-align: middle;
}

.infobox tr {
line-height: 2.2em;
line-height: 2.2em;
border: 1px solid rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.1);
Line 278: Line 290:
width: 30%;
width: 30%;
text-indent: 10%;
text-indent: 10%;
}
.infobox-label:before {
content: '';
margin-left: 5px;
}

.infobox-label {
padding: 0.5em 0em;

line-height: 1.5em;
text-indent: 0px;
}

.infobox-data:before {
content: '';
margin-left: 5px;
}
}