9,917
editsno edit summary
No edit summary |
No edit summary |
||
(25 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
/* PortableInfobox configuration */ | /* PortableInfobox configuration */ | ||
--pi- | --pi-width: 280px; | ||
} | } | ||
Line 60: | 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 766: | Line 765: | ||
background-color: var(--bg3wiki-box-detail-bg); | background-color: var(--bg3wiki-box-detail-bg); | ||
border: var(--bg3wiki-wikitable-border); | border: var(--bg3wiki-wikitable-border); | ||
padding: | padding: 4px; | ||
} | } | ||
.portable-infobox .pi-item-spacing { | |||
.portable-infobox .pi- | padding: 0; | ||
} | |||
.portable-infobox .pi-group { | |||
.portable-infobox .pi- | border: none; | ||
} | } | ||
.portable-infobox .pi- | .portable-infobox .pi-data { | ||
border: none; | |||
margin: 2px 0; | |||
} | } | ||
Line 783: | Line 782: | ||
background: var(--bg3wiki-box-header-bg); | background: var(--bg3wiki-box-header-bg); | ||
text-align: center; | text-align: center; | ||
font-size: 1.4em; | |||
font-weight: bold; | |||
} | } | ||
.portable-infobox .pi-data | .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-bottom: 2px; | |||
} | |||
.portable-infobox .pi-tab-link, | |||
.portable-infobox .pi-section-tab { | |||
color: var(--link); | |||
border: none; | |||
flex-grow: 1; | |||
} | } | ||
.portable-infobox .pi- | .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; | 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 { | .portable-infobox .pi-data-label { | ||
background-color: var(--bg3wiki-box-label-bg); | background-color: var(--bg3wiki-box-label-bg); | ||
padding: 0. | 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); | |||
} | } | ||