Template:LoreOperators/styles.css
Template page
More actions
/* Base table reset and typography */
.table-operators {
width: 100%;
border-collapse: collapse; /* removes double borders for a seamless look */
font-size: 0.700rem; /* compact but readable */
background-color: #0d0e12; /* Citizen skin dark base */
color: #ececec; /* off-white text on dark bg */
}
.table-operators-title {
display: table-cell; /* ensures it behaves like a <th> */
font-size: 1.1rem;
font-weight: 600;
padding: 0.8em;
background-color: rgba(255,255,255,0.08);
letter-spacing: 0.02em;
text-align: center;
border-bottom: 1px solid rgba(255,255,255,0.15);
border-radius: 16px 16px 0 0;
}
/* Header styling */
.table-operators th {
padding: 0.5em 2em; /* minimal padding */
background-color: rgba(255,255,255,0.05); /* subtle contrast for headers */
font-weight: 600;
letter-spacing: 0.04em;
border-bottom: 1px solid rgba(255,255,255,0.15);
}
/* Data cell styling */
.table-operators td {
padding: 0.4em 0.75em; /* even tighter vertical spacing */
border: 1px solid rgba(255,255,255,0.08);
vertical-align: middle;
}
/* Zebra striping improves row readability */
.table-operators tbody tr:nth-child(odd) {
background-color: rgba(255,255,255,0.02);
}
/* Hover highlight helps focus on a row */
.table-operators tbody tr:hover {
background-color: rgba(255,255,255,0.08);
}
/* Constrain images to 200px width, maintain aspect ratio */
.table-operators td img {
max-width: 200px; /* prevents oversize */
height: auto;
border-radius: 0.25rem; /* slight rounding */
}