Template:Cargo orders/styles.css: Difference between revisions
From Space Station 14 Wiki
made tables take all width for consistency |
consistent columns width |
||
Line 10: | Line 10: | ||
border-top: 1px solid var(--border-top-col) !important; | border-top: 1px solid var(--border-top-col) !important; | ||
border-right: 1px solid var(--border-right-col) !important; | border-right: 1px solid var(--border-right-col) !important; | ||
} | |||
.cargo-orders-table tr:first-child th:nth-child(1) { | |||
width: 20ch; | |||
} | |||
.cargo-orders-table tr:first-child th:nth-child(2) { | |||
width: 18ch; | |||
} | |||
.cargo-orders-table tr:first-child th:nth-child(4) { | |||
width: 30ch; | |||
} | } | ||
Revision as of 11:45, 21 May 2025
.cargo-orders-table {
width: 100%;
}
.cargo-orders-table td {
vertical-align: top;
border: none !important;
--border-top-col: hsl(240 7% 70% / 50%);
--border-right-col: hsl(240 7% 70% / 53%);
border-top: 1px solid var(--border-top-col) !important;
border-right: 1px solid var(--border-right-col) !important;
}
.cargo-orders-table tr:first-child th:nth-child(1) {
width: 20ch;
}
.cargo-orders-table tr:first-child th:nth-child(2) {
width: 18ch;
}
.cargo-orders-table tr:first-child th:nth-child(4) {
width: 30ch;
}
.cargo-orders-table .item {
font-weight: normal;
}
.pool-section-label {
display: block;
background-color: var(--bg-color-light);
padding: 0.25em 0.25em;
font-weight: bold;
}
.pool-section-label::after {
content: " group, one of:";
color: gray;
}