Template:MetrocarInfobox/styles.css: Difference between revisions
From Tyne and Wear Metro wiki
Hopperelec (talk | contribs) Created page with ".infobox { float: right; width: min-content; background-color: #f8f9fa; border-collapse: collapse; text-align: center; font-size: .8em; } .infobox > tbody > tr > th, .infobox > tbody > tr > td { border: 1px solid #c8ccd1; padding: 0; } .unit-identifier { font-weight: bold; font-size: 1.3em; } .nickname { font-style: italic; color: #999; } .thumb { display: block; margin: auto; } .key-dates, .held-liveries { list-style: none; margin: 0; white-space:..." |
Hopperelec (talk | contribs) Added <sup> styling |
||
Line 37: | Line 37: | ||
.key-dates { | .key-dates { | ||
padding: .2em; | padding: .2em; | ||
} | |||
.key-dates sup { | |||
color: #999; | |||
cursor: help | |||
} | } | ||
Latest revision as of 15:05, 28 August 2025
.infobox {
float: right;
width: min-content;
background-color: #f8f9fa;
border-collapse: collapse;
text-align: center;
font-size: .8em;
}
.infobox > tbody > tr > th,
.infobox > tbody > tr > td {
border: 1px solid #c8ccd1;
padding: 0;
}
.unit-identifier {
font-weight: bold;
font-size: 1.3em;
}
.nickname {
font-style: italic;
color: #999;
}
.thumb {
display: block;
margin: auto;
}
.key-dates, .held-liveries {
list-style: none;
margin: 0;
white-space: nowrap;
}
.key-dates {
padding: .2em;
}
.key-dates sup {
color: #999;
cursor: help
}
.held-liveries {
padding: 0;
display: flex;
flex-wrap: wrap;
justify-content: space-evenly;
}
.held-liveries li {
padding: .2em .4em;
}
.cab-moquettes {
text-align: left;
}