9,917
editsno edit summary
(Some additional cleanup.) |
No edit summary |
||
(34 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 136: | Line 140: | ||
background: var(--bg3wiki-tooltip-bg); | background: var(--bg3wiki-tooltip-bg); | ||
box-shadow: | box-shadow: | ||
rgba(0, 0, 0, 0.14) 3px 3px 6px 0px inset, | |||
rgba(0, 0, 0, 0.14) -3px -3px 6px 1px inset; | |||
border: 0.15rem solid var(--bg3wiki-tooltip-border); | border: 0.15rem solid var(--bg3wiki-tooltip-border); | ||
border-radius: 10px; | border-radius: 10px; | ||
padding: 15px; | padding: 15px; | ||
margin: 0.5em 0.2em 0 0.2em; | margin: 0.5em 0.2em 0 0.2em; | ||
overflow: hidden; | |||
} | } | ||
Line 753: | Line 758: | ||
.wraplinks a { | .wraplinks a { | ||
white-space: normal !important; | white-space: normal !important; | ||
} | |||
/* PortableInfobox */ | |||
.portable-infobox { | |||
background-color: var(--bg3wiki-box-detail-bg); | |||
border: var(--bg3wiki-wikitable-border); | |||
padding: 4px; | |||
} | |||
.portable-infobox .pi-item-spacing { | |||
padding: 0; | |||
} | |||
.portable-infobox .pi-group { | |||
border: none; | |||
} | |||
.portable-infobox .pi-data { | |||
border: none; | |||
margin: 2px 0; | |||
} | |||
.portable-infobox .pi-title { | |||
background: var(--bg3wiki-box-header-bg); | |||
text-align: center; | |||
font-size: 1.4em; | |||
font-weight: bold; | |||
} | |||
.portable-infobox .pi-data[data-source="title"] { | |||
text-align: center; | |||
font-style: italic; | |||
font-size: 1.2em; | |||
margin-top: 2px; | |||
margin-bottom: 2px; | |||
} | |||
.portable-infobox .pi-tab-link, | |||
.portable-infobox .pi-section-tab { | |||
color: var(--link); | |||
border: none; | |||
flex-grow: 1; | |||
} | |||
.portable-infobox .pi-tab-link.current, | |||
.portable-infobox .pi-section-tab.pi-section-active { | |||
background: none; | |||
border-bottom: 1px solid var(--link); | |||
} | |||
.portable-infobox .pi-header { | |||
background: var(--bg3wiki-box-label-bg); | |||
text-align: center; | |||
font-size: 1.05em; | |||
padding: 5px 0; | |||
} | |||
.portable-infobox .pi-data-label, | |||
.portable-infobox .pi-data-value { | |||
padding: 3px 5px 3px 5px; | |||
} | |||
.portable-infobox .pi-data-label { | |||
background-color: var(--bg3wiki-box-label-bg); | |||
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); | |||
} | } | ||
Line 803: | Line 919: | ||
vertical-align: top; | vertical-align: top; | ||
font-weight: normal; | font-weight: normal; | ||
} | |||
.infobox-label:has(.bg3wiki-icontext-block) { | |||
vertical-align: middle; | |||
} | } | ||