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 7: Line 7:


th {
th {
    text-align: left;
     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 23: Line 22:
/*    C O L U M N S
/*    C O L U M N S
/* ===================================================== */
/* ===================================================== */
.hero td:nth-child(1) {
td:nth-child(2) {
     text-align: center;
     border-left: 0;
}
}
.specialty {
.specialty {
     display: flex;
     display: flex;
     flex-direction: row;
     flex-direction: row;
}
}
.specialty-icon {
.specialty-icon {
     flex-shrink:0;
     flex-shrink: 0;
     padding-right: 6px;
     padding-right: 6px;
}
}
.specialty-text {
.specialty-text {
     flex-grow:1;
     flex-grow: 1;
}
}


Line 64: Line 66:
     font-size: 24px;
     font-size: 24px;
}
}
.separator-large td {
.separator-large td {
     text-align: center;
     text-align: center;
}
}

Revision as of 15:00, 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;
}

/* ===================================================== */
/*     C O L U M N S
/* ===================================================== */
td:nth-child(2) {
    border-left: 0;
}

.specialty {
    display: flex;
    flex-direction: row;
}

.specialty-icon {
    flex-shrink: 0;
    padding-right: 6px;
}

.specialty-text {
    flex-grow: 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;
}