Template:Sandbox/Aurelain/HeroClassInfobox/styles.css: Difference between revisions
From Heroes of Might and Magic: Olden Era Official Wiki
No edit summary |
No edit summary |
||
| Line 69: | Line 69: | ||
.hc-box .image img { | .hc-box .image img { | ||
filter: none; | filter: none; | ||
} | |||
.hc-box .attributes { | |||
border: none; | |||
} | } | ||
.hc-box .attributes td { | .hc-box .attributes td { | ||
border-bottom: none; | border-bottom: none; | ||
border-top: none; | border-top: none; | ||
} | } | ||
Revision as of 12:52, 4 August 2026
.hc-box {
float: right;
clear: right;
width: 302px;
margin: 0 1em 1em 1em;
}
@media (max-width: 600px) {
.hc-box {
width: 100%;
margin: 0 0 1em 0;
}
.hc-box .image img {
width: 100%;
}
}
.hc-box table {
border-collapse: collapse;
border: 1px solid #BCB096;
width: 100%;
}
.hc-box td {
border: 1px solid #BCB096;
padding: 4px;
text-align: center;
vertical-align: middle;
}
.hc-box .field {
display: flex;
align-items: center;
}
.hc-box .field > div:first-child {
flex-grow: 1;
text-align: left;
}
.hc-box .field > div:last-child {
flex-shrink: 0;
color: #fff;
}
.hc-box .band {
background-color: #1f3756;
}
.hc-box .band td {
padding: 1px;
}
.hc-box .title {
padding: 0;
line-height: 1.1;
font-size: 150%;
}
.hc-box .title .field > div:first-child {
padding-left: 16px;
text-align: left;
}
.hc-box .image {
padding: 0;
}
.hc-box .image img {
filter: none;
}
.hc-box .attributes {
border: none;
}
.hc-box .attributes td {
border-bottom: none;
border-top: none;
}
/* FACTION COLORS */
.hc-box.faction-human .band {
background-color:#8b7e47;
}
.hc-box.faction-human .band td {
color:#fff;
}
.hc-box.faction-undead .band {
background-color:#122c29;
}
.hc-box.faction-nature .band {
background-color:#3d0c21;
}
.hc-box.faction-demon .band {
background-color:#400f08;
}
.hc-box.faction-unfrozen .band {
background-color:#1f3756;
}
.hc-box.faction-dungeon .band {
background-color:#2d143c;
}
.hc-box.faction-neutral .band {
background-color:#3e3e3e;
}


