9,856
editsno edit summary
No edit summary |
No edit summary |
||
(18 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
*/ | */ | ||
--bg3wiki-tooltip-border: #785000; | --bg3wiki-tooltip-border: #785000; | ||
/* PortableInfobox configuration */ | |||
--pi-width: 280px; | |||
} | } | ||
Line 55: | Line 58: | ||
/* Item, spell, etc. properties */ | /* Item, spell, etc. properties */ | ||
.bg3wiki-property-list | .bg3wiki-property-list > ul { | ||
margin-left: 0; | margin-left: 0; | ||
list-style: none; | |||
} | } | ||
.mw-content-ltr ul.bg3wiki-property-list { | .mw-content-ltr ul.bg3wiki-property-list { | ||
margin-left: 0; | margin-left: 0; | ||
list-style: none; | list-style: none; | ||
} | |||
.bg3wiki-property-list dd { | |||
margin-left: 0; | |||
} | } | ||
Line 782: | Line 786: | ||
} | } | ||
.portable-infobox .pi-data[data-source=" | .portable-infobox .pi-data[data-source="title"] { | ||
text-align: center; | text-align: center; | ||
font-style: italic; | font-style: italic; | ||
font-size: 1.2em; | |||
margin-top: 2px; | margin-top: 2px; | ||
margin-bottom: 2px; | margin-bottom: 2px; | ||
} | } | ||
Line 808: | Line 808: | ||
.portable-infobox .pi-header { | .portable-infobox .pi-header { | ||
background: var(--bg3wiki-box- | background: var(--bg3wiki-box-label-bg); | ||
text-align: center; | text-align: center; | ||
padding: | font-size: 1.05em; | ||
padding: 5px 0; | |||
} | } | ||
Line 821: | Line 822: | ||
background-color: var(--bg3wiki-box-label-bg); | background-color: var(--bg3wiki-box-label-bg); | ||
font-weight: normal; | font-weight: normal; | ||
} | |||
.portable-infobox table { | |||
background: none; | |||
} | |||
.pi-horizontal-group .pi-horizontal-group-item:not(:first-child) { | |||
border-left: 2px solid var(--bg3wiki-box-detail-bg); | |||
} | |||
.pi-horizontal-group th.pi-horizontal-group-item { | |||
border-top: 2px solid var(--bg3wiki-box-detail-bg); | |||
padding-top: 5px; | |||
} | |||
.pi-horizontal-group thead + tbody .pi-data-value { | |||
padding: 5px 0; | |||
} | |||
.pi-type-creature [data-item-name="resistances"] ul { | |||
margin: 0; | |||
list-style: none; | |||
display: flex; | |||
justify-content: center; | |||
gap: 5px; | |||
} | |||
.pi-type-creature li:first-child .bg3wiki-pi-creature-detail { | |||
margin-top: 5px; | |||
} | |||
.pi-type-creature li:not(:last-child) .bg3wiki-pi-creature-detail { | |||
margin-bottom: 12px; | |||
} | |||
.pi-type-creature .bg3wiki-pi-creature-detail .bg3wiki-icontext-text { | |||
margin-top: -16px; | |||
padding-left: 5px; | |||
} | |||
.pi-type-creature .bg3wiki-pi-creature-detail-text { | |||
margin-top: -12px; | |||
padding-left: 34px; | |||
} | |||
.pi-type-creature .bg3wiki-pi-creature-detail p { | |||
margin: 0; | |||
} | |||
.pi-type-creature .bg3wiki-pi-creature-detail-text a { | |||
color: unset; | |||
text-decoration: underline dotted var(--link); | |||
} | |||
.pi-type-creature .bg3wiki-pi-creature-detail-text a:hover { | |||
text-decoration: underline solid var(--link); | |||
} | } | ||