Template:Series/styles.css
Jump to navigation
Jump to search
/*
Faux table
Box styling:
* Reset font size to the main content size
(as this is normally in a header notes section with a forced smaller size)
* Margin to separate box from following series templates or header notes content
*/
.wst-series-header {
display:table;
border-collapse:collapse;
border-spacing:0px 0px;
empty-cells:hide;
border:1px solid #ACA;
margin:0px auto 4px auto;
width:100%;
font-size: 0.875rem;
}
/*
Faux tbody
Background color and border like a light navbox (about same intensity as header)
*/
.wst-series-header > div {
display:table-row-group;
background-color:#eeeeff;
border:1px solid #bbbbff;
}
/* Faux tr */
.wst-series-header > div > div {
display:table-row;
}
/* Faux td */
.wst-series-header > div > div > div {
display:table-cell;
vertical-align:middle;
}
/* Faux td left */
.wst-series-header > div > div > div:first-child {
text-align:left;
width:20%;
}
/* Faux td center */
.wst-series-header > div > div > div:nth-child(2) {
text-align:center;
width:60%;
}
/* Faux td right */
.wst-series-header > div > div > div:nth-child(3) {
text-align:right;
width:20%;
}