Module:Sandbox/Aurelain/Laws/styles.css: Difference between revisions
From Heroes of Might and Magic: Olden Era Official Wiki
No edit summary |
No edit summary |
||
| Line 34: | Line 34: | ||
} | } | ||
.island span::after { | .island > span::after { | ||
padding-left:1px; | |||
padding-right:1px; | |||
} | |||
.island > span::after { | |||
position: relative; | position: relative; | ||
font-size: smaller; | font-size: smaller; | ||
| Line 41: | Line 46: | ||
} | } | ||
.island span:nth-child(1) { | .island > span:nth-child(1) { | ||
color: #c8b36c; | color: #c8b36c; | ||
} | } | ||
.island span:nth-child(1)::after { | .island > span:nth-child(1)::after { | ||
content: '[1]'; | content: '[1]'; | ||
} | } | ||
.island span:nth-child(2) { | .island > span:nth-child(2) { | ||
color: #2ea821; | color: #2ea821; | ||
} | } | ||
.island span:nth-child(2)::after { | .island > span:nth-child(2)::after { | ||
content: '[2]'; | content: '[2]'; | ||
} | } | ||
.island span:nth-child(3) { | .island > span:nth-child(3) { | ||
color: #47adf2; | color: #47adf2; | ||
} | } | ||
.island span:nth-child(3)::after { | .island > span:nth-child(3)::after { | ||
content: '[3]'; | content: '[3]'; | ||
} | } | ||
Revision as of 15:54, 22 May 2026
td {
color: #cbced1;
}
tr:hover {
background: #13161a;
}
.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;
}
.separator-large img {
width: 54px;
}
.island {
font-weight: bold;
}
.island > span::after {
padding-left:1px;
padding-right:1px;
}
.island > span::after {
position: relative;
font-size: smaller;
top:-8px;
left:-2px;
}
.island > span:nth-child(1) {
color: #c8b36c;
}
.island > span:nth-child(1)::after {
content: '[1]';
}
.island > span:nth-child(2) {
color: #2ea821;
}
.island > span:nth-child(2)::after {
content: '[2]';
}
.island > span:nth-child(3) {
color: #47adf2;
}
.island > span:nth-child(3)::after {
content: '[3]';
}


