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
 
(2 intermediate revisions by the same user not shown)
Line 6: Line 6:
     display: flex;
     display: flex;
     margin-bottom: 6px;
     margin-bottom: 6px;
    align-items: center;
}
}


Line 24: Line 25:


.law-summary .ribbon {
.law-summary .ribbon {
     border: solid 1px #a49980;
     border-top: solid 1px #a49980;
    border-left: none;
    border-right: none;
     width: max-content;
     width: max-content;
     margin-top:6px;
     margin-top:4px;
    margin-bottom: 4px;
}
}



Latest revision as of 07:14, 31 July 2026

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

.law-summary .banner {
    display: flex;
    margin-bottom: 6px;
    align-items: center;
}

.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 .ribbon {
    border-top: solid 1px #a49980;
    width: max-content;
    margin-top:4px;
    margin-bottom: 4px;
}

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

.law-summary .field:first-child {
    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;
}