Module:UnitsOverview/styles.css: Difference between revisions
From Heroes of Might and Magic: Olden Era Official Wiki
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
img | /* ---- GENERAL ---- */ | ||
position:relative; | table { | ||
top:-1px; | white-space: nowrap; | ||
margin-left:1px; | } | ||
td { | |||
color: #cbced1; | |||
} | |||
tr:hover { | |||
background: #13161a; | |||
} | |||
/* ---- IMAGES ---- */ | |||
th img { | |||
width: 24px; | |||
height: 24px; | |||
} | |||
td:first-child img { | |||
width: 40px; | |||
height: 40px; | |||
} | |||
td:last-child img { | |||
width: 32px; | |||
height: 32px; | |||
} | |||
/* ---- STATS ---- */ | |||
td:nth-child(5) img, td:nth-child(6) img, td:nth-child(7) img, td:nth-child(8) img, | |||
td:nth-child(9) img, td:nth-child(10) img, td:nth-child(11) img, td:nth-child(12) img { | |||
width: 16px; | |||
height: 16px; | |||
position: relative; | |||
top: -1px; | |||
margin-left: 1px; | |||
opacity: 0.5; | opacity: 0.5; | ||
} | } | ||
background:# | td:nth-child(5), td:nth-child(6), td:nth-child(7), td:nth-child(8), | ||
td:nth-child(9), td:nth-child(10), td:nth-child(11), td:nth-child(12) { | |||
text-align: right; | |||
} | |||
/* ---- SEPARATORS ---- */ | |||
.separator:first-child, .separator:last-child, .separator + .separator { | |||
display: none; | |||
} | |||
.separator-tiny { | |||
height: 3px; | |||
background: #c8b36c !important; | |||
} | |||
.separator-tiny td { | |||
padding: 0; | |||
} | |||
.separator-large { | |||
background-color: #101622 !important; | |||
text-align: center; | |||
font-size: 24px; | |||
} | |||
.separator-large img { | |||
width: 54px; | |||
} | } | ||
. | |||
/* ---- MORALE AND LUCK ---- */ | |||
.elevated1 { | |||
color: #c8b36c; | |||
} | } | ||
. | |||
.elevated2 { | |||
color: #2ea821; | |||
} | } | ||
. | |||
.elevated3 { | |||
color: #47adf2; | |||
} | } | ||
Revision as of 07:35, 24 May 2026
/* ---- GENERAL ---- */
table {
white-space: nowrap;
}
td {
color: #cbced1;
}
tr:hover {
background: #13161a;
}
/* ---- IMAGES ---- */
th img {
width: 24px;
height: 24px;
}
td:first-child img {
width: 40px;
height: 40px;
}
td:last-child img {
width: 32px;
height: 32px;
}
/* ---- STATS ---- */
td:nth-child(5) img, td:nth-child(6) img, td:nth-child(7) img, td:nth-child(8) img,
td:nth-child(9) img, td:nth-child(10) img, td:nth-child(11) img, td:nth-child(12) img {
width: 16px;
height: 16px;
position: relative;
top: -1px;
margin-left: 1px;
opacity: 0.5;
}
td:nth-child(5), td:nth-child(6), td:nth-child(7), td:nth-child(8),
td:nth-child(9), td:nth-child(10), td:nth-child(11), td:nth-child(12) {
text-align: right;
}
/* ---- SEPARATORS ---- */
.separator:first-child, .separator:last-child, .separator + .separator {
display: none;
}
.separator-tiny {
height: 3px;
background: #c8b36c !important;
}
.separator-tiny td {
padding: 0;
}
.separator-large {
background-color: #101622 !important;
text-align: center;
font-size: 24px;
}
.separator-large img {
width: 54px;
}
/* ---- MORALE AND LUCK ---- */
.elevated1 {
color: #c8b36c;
}
.elevated2 {
color: #2ea821;
}
.elevated3 {
color: #47adf2;
}


