Template:Sandbox/Aurelain/HeroesNavbox/styles.css: Difference between revisions
From Heroes of Might and Magic: Olden Era Official Wiki
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
text-align: center; | text-align: center; | ||
border: solid 1px #BCB096; | border: solid 1px #BCB096; | ||
display:flex; | |||
flex-direction: column; | |||
align-items: center; | |||
} | } | ||
| Line 14: | Line 17: | ||
.heroes-navbox .container { | .heroes-navbox .container { | ||
display:flex; | display:flex; | ||
flex-direction: column; | flex-direction: column; | ||
align-items: center; | |||
gap:8px; | gap:8px; | ||
padding: 8px; | padding: 8px; | ||
Revision as of 08:04, 2 September 2026
.heroes-navbox .faction {
text-align: center;
border: solid 1px #BCB096;
display:flex;
flex-direction: column;
align-items: center;
}
.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;
align-items: center;
gap:8px;
padding: 8px;
}
.heroes-navbox .group {
border: solid 1px #BCB096;
border-radius: 8px;
}
.heroes-navbox .list {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 8px;
padding: 8px;
}
.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 .human .header {
background: #8b7e47;
}
/* == undead == */
.heroes-navbox .undead .header {
background: #122c29;
}
/* == nature == */
.heroes-navbox .nature .header {
background: #3d0c21;
}
/* == demon == */
.heroes-navbox .demon .header {
background: #400f08;
}
/* == unfrozen == */
.heroes-navbox .unfrozen .header {
background: #1f3756;
}
/* == dungeon == */
.heroes-navbox .dungeon .header {
background: #2d143c;
}


