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
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
td {
td {
     color: #cbced1;
     color: #cbced1;
}
td:nth-child(1), td:nth-child(4), td:nth-child(6) {
    white-space: nowrap;
}
td:nth-child(6) {
    text-align: right;
}
td:nth-child(1) img {
    width: 64px;
    height: 64px;
}
td:nth-child(4) img, td:nth-child(6) img {
    width: 24px;
    height: 24px;
}
}


Line 32: Line 50:
.island {
.island {
     font-weight: bold;
     font-weight: bold;
    white-space: nowrap;
}
}


.island span::after {
.island > span {
     position: relative;
     padding-left: 1px;
    font-size: x-small;
     padding-right: 1px;
     top:-6px;
    left:-2px;
}
}


.island span:nth-child(1) {
.island > span:nth-child(1) {
     color: #c8b36c;
     color: #c8b36c;
}
}


.island span:nth-child(1)::after {
.island > span:nth-child(2) {
    content: '[1]';
}
 
.island span:nth-child(2) {
     color: #2ea821;
     color: #2ea821;
}
}


.island span:nth-child(2)::after {
.island > span:nth-child(3) {
    content: '[2]';
}
 
.island span:nth-child(3) {
     color: #47adf2;
     color: #47adf2;
}
.island span:nth-child(3)::after {
    content: '[3]';
}
}

Latest revision as of 05:01, 23 May 2026

td {
    color: #cbced1;
}

td:nth-child(1), td:nth-child(4), td:nth-child(6) {
    white-space: nowrap;
}

td:nth-child(6) {
    text-align: right;
}

td:nth-child(1) img {
    width: 64px;
    height: 64px;
}

td:nth-child(4) img, td:nth-child(6) img {
    width: 24px;
    height: 24px;
}

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;
    white-space: nowrap;
}

.island > span {
    padding-left: 1px;
    padding-right: 1px;
}

.island > span:nth-child(1) {
    color: #c8b36c;
}

.island > span:nth-child(2) {
    color: #2ea821;
}

.island > span:nth-child(3) {
    color: #47adf2;
}