Template:Sandbox/Aurelain/LawSummary/styles.css: Difference between revisions

From Heroes of Might and Magic: Olden Era Official Wiki
No edit summary
No edit summary
Line 26: Line 26:
     display: inline-block;
     display: inline-block;
     vertical-align: middle;
     vertical-align: middle;
    border-left: solid 2px rgba(255, 255, 255, 0.1);
     white-space: nowrap;
     white-space: nowrap;
     padding: 0 8px;
     padding: 0 8px;

Revision as of 06:14, 31 July 2026

.law-summary {
    margin-top: 24px;
}

.law-summary .banner {
    display: flex;
    margin-bottom: 4px;
}

.law-summary .icon {
    flex-shrink: 0;
}

.law-summary .about {
    margin-left: 8px;
    flex-grow: 1;
}

.law-summary .name {
    font-size: larger;
    font-weight: bold;
    color: #bcb096;
}

.law-summary .field {
    display: inline-block;
    vertical-align: middle;
    white-space: nowrap;
    padding: 0 8px;
}

.law-summary .field.first {
    border-left: none;
    padding-left:0;
}

.law-summary .island {
    font-weight: bold;
    white-space: nowrap;
}

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

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

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

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