Module:Sandbox/Aurelain/Spells/styles.css: Difference between revisions
From Heroes of Might and Magic: Olden Era Official Wiki
No edit summary |
No edit summary |
||
| Line 23: | Line 23: | ||
text-align: center; | text-align: center; | ||
} | } | ||
td:nth-child(2) img { | td:nth-child(2) img { | ||
border-radius: 50%; | border-radius: 50%; | ||
padding:4px; | padding: 4px; | ||
} | } | ||
| Line 95: | Line 96: | ||
background: rgba(98, 65, 15, 0.1); | background: rgba(98, 65, 15, 0.1); | ||
} | } | ||
.day td:nth-child(2) img { | .day td:nth-child(2) img { | ||
background: rgb(98, 65, 15); | background: rgb(98, 65, 15); | ||
| Line 102: | Line 104: | ||
background: rgba(70, 27, 91, 0.1); | background: rgba(70, 27, 91, 0.1); | ||
} | } | ||
. | |||
.night td:nth-child(2) img { | |||
background: rgb(70, 27, 91); | background: rgb(70, 27, 91); | ||
} | } | ||
| Line 109: | Line 112: | ||
background: rgba(103, 40, 27, 0.1); | background: rgba(103, 40, 27, 0.1); | ||
} | } | ||
. | |||
.primal td:nth-child(2) img { | |||
background: rgb(103, 40, 27); | background: rgb(103, 40, 27); | ||
} | } | ||
| Line 116: | Line 120: | ||
background: rgba(28, 68, 79, 0.1); | background: rgba(28, 68, 79, 0.1); | ||
} | } | ||
. | |||
.space td:nth-child(2) img { | |||
background: rgb(28, 68, 79); | background: rgb(28, 68, 79); | ||
} | } | ||
| Line 123: | Line 128: | ||
background: rgba(56, 55, 101, 0.1); | background: rgba(56, 55, 101, 0.1); | ||
} | } | ||
. | |||
.neutral td:nth-child(2) img { | |||
background: rgb(56, 55, 101); | background: rgb(56, 55, 101); | ||
} | } | ||
Revision as of 09:50, 30 May 2026
.wiki-hint {
border-bottom: none !important; /* hide the underline applied by the Hint template */
}
th .wiki-hint {
cursor: pointer;
}
th:nth-child(2) {
width: 100px;
}
th:nth-child(4) {
min-width: 320px;
}
td {
color: #cbced1;
}
/* School */
td:nth-child(2) {
text-align: center;
}
td:nth-child(2) img {
border-radius: 50%;
padding: 4px;
}
/* Tier */
td:nth-child(3) {
text-align: center;
}
/* Mana cost */
td:nth-child(5) {
text-align: right;
white-space: nowrap;
}
/* Global Map */
td:nth-child(6) {
text-align: center;
}
/* Special */
td:nth-child(7) {
text-align: center;
}
/* ---- SEPARATORS ---- */
.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;
text-align: center;
font-size: 24px;
}
/* ---- LEVELS ---- */
.level {
margin-left: 2em;
margin-bottom: 0;
color: #cbced1;
}
.level b {
color: #c8b36c;
}
.masterful, .masterful b {
margin-bottom: 0;
color: peru;
}
/* ---- SCHOOLS ---- */
.school td {
padding-top: 16px;
padding-bottom: 16px;
}
.day {
background: rgba(98, 65, 15, 0.1);
}
.day td:nth-child(2) img {
background: rgb(98, 65, 15);
}
.night {
background: rgba(70, 27, 91, 0.1);
}
.night td:nth-child(2) img {
background: rgb(70, 27, 91);
}
.primal {
background: rgba(103, 40, 27, 0.1);
}
.primal td:nth-child(2) img {
background: rgb(103, 40, 27);
}
.space {
background: rgba(28, 68, 79, 0.1);
}
.space td:nth-child(2) img {
background: rgb(28, 68, 79);
}
.neutral {
background: rgba(56, 55, 101, 0.1);
}
.neutral td:nth-child(2) img {
background: rgb(56, 55, 101);
}


