Template:Sandbox/Aurelain/HeroesNavbox/styles.css: Difference between revisions

From Heroes of Might and Magic: Olden Era Official Wiki
Created page with ".heroes-navbox .header { text-align: center; padding: 4px; border: solid 2px #BCB096; border-bottom: 0; } .heroes-navbox .list + .header { border-top: 0; } .heroes-navbox .header a { color: #fff !important; } .heroes-navbox .list { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; padding: 8px; border: solid 2px #BCB096; } .heroes-navbox .links { margin-top: 8px; display: flex; gap: 10px; }..."
 
No edit summary
Line 1: Line 1:
.heroes-navbox .header {
.heroes-navbox .faction {
     text-align: center;
     text-align: center;
    padding: 4px;
     border: solid 1px #BCB096;
     border: solid 2px #BCB096;
    border-bottom: 0;
}
}


.heroes-navbox .list + .header {
.heroes-navbox .header {
     border-top: 0;
    padding: 4px;
     border-bottom: solid 1px #BCB096;
}
}


.heroes-navbox .header a {
.heroes-navbox .header a {
     color: #fff !important;
     color: #fff !important;
}
.heroes-navbox .container {
    display:flex;
    flex-direction: column;
}
.heroes-navbox .group {
    border: solid 1px #BCB096;
}
}



Revision as of 07:50, 2 September 2026

.heroes-navbox .faction {
    text-align: center;
    border: solid 1px #BCB096;
}

.heroes-navbox .header {
    padding: 4px;
    border-bottom: solid 1px #BCB096;
}

.heroes-navbox .header a {
    color: #fff !important;
}

.heroes-navbox .container {
    display:flex;
    flex-direction: column;
}

.heroes-navbox .group {
    border: solid 1px #BCB096;
}

.heroes-navbox .list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px;
    border: solid 2px #BCB096;
}

.heroes-navbox .links {
    margin-top: 8px;
    display: flex;
    gap: 10px;
}

.heroes-navbox .faction-links {
    flex-grow: 1;
}

.heroes-navbox .general-links {
    margin-top: 6px;
}

.heroes-navbox .faction-links > *,
.heroes-navbox .general-links > * {
    white-space: nowrap;
    margin-right: 16px;
}

.heroes-navbox .general-links > *:last-child {
    margin: 0;
}

/* COLORS */
/* == human == */
.heroes-navbox .header.human {
    background: #8b7e47;
}

/* == undead == */
.heroes-navbox .header.undead {
    background: #122c29;
}

/* == nature == */
.heroes-navbox .header.nature {
    background: #3d0c21;
}

/* == demon == */
.heroes-navbox .header.demon {
    background: #400f08;
}

/* == unfrozen == */
.heroes-navbox .header.unfrozen {
    background: #1f3756;
}

/* == dungeon == */
.heroes-navbox .header.dungeon {
    background: #2d143c;
}

/* == neutral == */
.heroes-navbox .header.neutral {
    background: #3e3e3e;
}