Module:HeroesOverview/styles.css: Difference between revisions
From Heroes of Might and Magic: Olden Era Official Wiki
Created page with "→=====================================================: →G E N E R A L /* =====================================================: .wiki-hint { border-bottom: none !important; →hide the underline applied by the Hint template: } th { text-align: left; padding-right:4px !important; →suppress the space allotted to the sortable markers: } th .wiki-hint { cursor: pointer; } td { color: #cbced1; text-align: left; } /* =============..." |
No edit summary |
||
| Line 7: | Line 7: | ||
th { | th { | ||
padding-right: 4px !important; /* suppress the space allotted to the sortable markers */ | |||
padding-right:4px !important; /* suppress the space allotted to the sortable markers */ | |||
} | } | ||
| Line 18: | Line 17: | ||
color: #cbced1; | color: #cbced1; | ||
text-align: left; | text-align: left; | ||
padding: 0 4px; | |||
} | |||
.spec { | |||
padding: 8px 8px 24px 74px; | |||
} | } | ||
| Line 23: | Line 27: | ||
/* C O L U M N S | /* C O L U M N S | ||
/* ===================================================== */ | /* ===================================================== */ | ||
/* Icon */ | |||
.hero td:nth-child(1) { | .hero td:nth-child(1) { | ||
border-right: 0; | |||
padding: 0; | |||
} | |||
/* Name */ | |||
td:nth-child(2) { | |||
border-left: 0; | |||
} | |||
/* Type */ | |||
td:nth-child(3) { | |||
text-align: center; | text-align: center; | ||
} | } | ||
/* Specialty icon */ | |||
td:nth-child(5) { | |||
border-right: 0; | |||
padding: 3px 4px; | |||
} | |||
td:nth-child(6) { | |||
border-left: 0; | |||
} | } | ||
td:nth-child(7) > div:last-child { | |||
opacity: 0.25; | |||
} | } | ||
td:nth-child(7) > div:first-child { | |||
opacity: 1; | |||
} | } | ||
| Line 64: | Line 87: | ||
font-size: 24px; | font-size: 24px; | ||
} | } | ||
.separator-large td { | .separator-large td { | ||
text-align: center; | text-align: center; | ||
padding: 0.5em; | |||
} | |||
/* ===================================================== */ | |||
/* T O G G L E | |||
/* ===================================================== */ | |||
.toggle-container { | |||
text-align: right; | |||
} | |||
.toggle { | |||
padding: 0.5em 1em; | |||
border: 1px solid #45494e; | |||
color: dodgerblue; | |||
border-radius: 4px; | |||
} | |||
td .toggle { | |||
padding: 1px 2px; | |||
} | |||
.toggle:hover { | |||
text-decoration: underline; | |||
background: #2a3347; | |||
} | |||
.toggle:active { | |||
background: #101622; | |||
} | } | ||
Revision as of 20:23, 17 June 2026
/* ===================================================== */
/* G E N E R A L
/* ===================================================== */
.wiki-hint {
border-bottom: none !important; /* hide the underline applied by the Hint template */
}
th {
padding-right: 4px !important; /* suppress the space allotted to the sortable markers */
}
th .wiki-hint {
cursor: pointer;
}
td {
color: #cbced1;
text-align: left;
padding: 0 4px;
}
.spec {
padding: 8px 8px 24px 74px;
}
/* ===================================================== */
/* C O L U M N S
/* ===================================================== */
/* Icon */
.hero td:nth-child(1) {
border-right: 0;
padding: 0;
}
/* Name */
td:nth-child(2) {
border-left: 0;
}
/* Type */
td:nth-child(3) {
text-align: center;
}
/* Specialty icon */
td:nth-child(5) {
border-right: 0;
padding: 3px 4px;
}
td:nth-child(6) {
border-left: 0;
}
td:nth-child(7) > div:last-child {
opacity: 0.25;
}
td:nth-child(7) > div:first-child {
opacity: 1;
}
@media (max-width: 900px) {
.specialty {
flex-direction: column;
}
}
/* ===================================================== */
/* S E P A R A T O R S
/* ===================================================== */
.separator:first-child, .separator:last-child, .separator + .separator {
display: none;
}
.separator-tiny {
height: 4px;
background: #c8b36c !important;
}
.separator-tiny td {
padding: 0;
}
.separator-large {
background-color: #101622 !important;
font-size: 24px;
}
.separator-large td {
text-align: center;
padding: 0.5em;
}
/* ===================================================== */
/* T O G G L E
/* ===================================================== */
.toggle-container {
text-align: right;
}
.toggle {
padding: 0.5em 1em;
border: 1px solid #45494e;
color: dodgerblue;
border-radius: 4px;
}
td .toggle {
padding: 1px 2px;
}
.toggle:hover {
text-decoration: underline;
background: #2a3347;
}
.toggle:active {
background: #101622;
}


