Module:Sandbox/Aurelain/Heroes/styles.css: Difference between revisions
From Heroes of Might and Magic: Olden Era Official Wiki
No edit summary |
No edit summary |
||
| Line 32: | Line 32: | ||
} | } | ||
.heroes-overview . | .heroes-overview .is-compact th:nth-child(2), | ||
.heroes-overview . | .heroes-overview .is-compact th:nth-child(3), | ||
.heroes-overview . | .heroes-overview .is-compact td:nth-child(3), | ||
.heroes-overview . | .heroes-overview .is-compact td:nth-child(4) { | ||
display: none; | display: none; | ||
} | } | ||
Latest revision as of 14:07, 24 June 2026
/* ===================================================== */
/* G E N E R A L
/* ===================================================== */
.heroes-overview table {
width: 100%
}
.heroes-overview table.forced-class {
width: auto
}
.heroes-overview .wiki-hint {
border-bottom: none !important; /* hide the underline applied by the Hint template */
}
.heroes-overview th {
padding-right: 4px !important; /* suppress the space allotted to the sortable markers */
}
.heroes-overview th .wiki-hint {
cursor: pointer;
}
.heroes-overview td {
color: #cbced1;
text-align: left;
padding: 0 4px;
}
.heroes-overview .specialty-full-td {
padding: 8px 8px 24px 74px;
}
.heroes-overview .is-compact th:nth-child(2),
.heroes-overview .is-compact th:nth-child(3),
.heroes-overview .is-compact td:nth-child(3),
.heroes-overview .is-compact td:nth-child(4) {
display: none;
}
/* ===================================================== */
/* C O L U M N S
/* ===================================================== */
/* Icon */
.heroes-overview .hero td:nth-child(1) {
border-right: 0;
padding: 0;
width: 70px;
}
/* Name */
.heroes-overview td:nth-child(2) {
border-left: 0;
}
/* Type */
.heroes-overview td:nth-child(3) {
text-align: center;
}
/* Specialty icon */
.heroes-overview td:nth-child(5) {
border-right: 0;
padding: 3px 4px;
width: 70px;
}
/* Specialty text */
.heroes-overview td:nth-child(6) {
border-left: 0;
}
/* Starting skills */
.heroes-overview td:nth-child(7) {
white-space: nowrap;
}
.heroes-overview td:nth-child(7) > div:last-child {
opacity: 0.25;
}
.heroes-overview td:nth-child(7) > div:first-child {
opacity: 1;
}
/* ===================================================== */
/* S E P A R A T O R S
/* ===================================================== */
.heroes-overview .separator:first-child,
.heroes-overview .separator:last-child,
.heroes-overview .separator + .separator {
display: none;
}
.heroes-overview .separator-tiny {
height: 4px;
background: #c8b36c !important;
}
.heroes-overview .separator-tiny td {
padding: 0;
}
.heroes-overview .separator-large {
background-color: #101622 !important;
font-size: 24px;
}
.heroes-overview .separator-large td {
text-align: center;
padding: 0.5em;
}
/* ===================================================== */
/* T O G G L E
/* ===================================================== */
.heroes-overview .toggle-container {
text-align: right;
}
.heroes-overview .toggle {
padding: 0.5em 1em;
border: 1px solid #45494e;
color: dodgerblue;
border-radius: 4px;
}
.heroes-overview td .toggle {
padding: 1px 2px;
}
.heroes-overview .toggle:hover {
text-decoration: underline;
background: #2a3347;
}
.heroes-overview .toggle:active {
background: #101622;
}


