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 24: | Line 24: | ||
.law-summary .ribbon { | .law-summary .ribbon { | ||
border: solid 1px #a49980 | border-bottom: solid 1px #a49980; | ||
width: max-content; | width: max-content; | ||
margin-top:6px; | margin-top:6px; | ||
Revision as of 06:40, 31 July 2026
.law-summary {
margin-top: 24px;
}
.law-summary .banner {
display: flex;
margin-bottom: 6px;
}
.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-bottom: solid 1px #a49980;
width: max-content;
margin-top:6px;
}
.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;
}


