12,652
editsno edit summary
(Style level up headers) |
No edit summary |
||
(42 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* | |||
* The CSS here should be moved to Vector.css as much as possible. Currently, | |||
* no other skin is supported for desktop, and mobile doesn't use Common.css | |||
* anyway. Any future skin that we intend to support will need careful | |||
* consideration and porting of CSS to its own skin-specific CSS page. | |||
*/ | |||
/* Global variables used for various things */ | |||
:root { | |||
/* Originally for the "tooltip" style boxes; also used for some other | |||
* things now. Should perhaps be renamed or split into different variables. | |||
*/ | |||
--bg3wiki-tooltip-border: #785000; | |||
/* PortableInfobox configuration */ | |||
--pi-width: 280px; | |||
} | |||
/* Table of contents */ | |||
.toc { | .toc { | ||
margin: 0.5em 0 0 0.5em; | margin: 0.5em 0 0 0.5em; | ||
Line 10: | Line 31: | ||
} | } | ||
/* Trick to easily make lists with list-style: none */ | |||
/* Wrap a list in <div class="bg3wiki-list-style-none"> */ | |||
.bg3wiki-list-style-none > ul { | |||
list-style: none; | |||
} | |||
/* Some h3 use an alternative style. */ | |||
.bg3wiki-tooltip-box h3, | .bg3wiki-tooltip-box h3, | ||
h3.bg3wiki-level-header { | h3.bg3wiki-level-header { | ||
Line 15: | Line 43: | ||
font-family: 'Linux Libertine', 'Georgia', 'Times', serif; | font-family: 'Linux Libertine', 'Georgia', 'Times', serif; | ||
font-weight: normal; | font-weight: normal; | ||
} | |||
h3.bg3wiki-level-header { | |||
font-size: 140%; | |||
} | } | ||
Line 35: | Line 67: | ||
/* Item, spell, etc. properties */ | /* Item, spell, etc. properties */ | ||
.bg3wiki-property-list > ul { | |||
.bg3wiki-property-list | |||
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; | |||
} | |||
/* ItemIcon stuff */ | |||
:root { | :root { | ||
--bg3wiki-itemicon-common: 72, 72, 72; | --bg3wiki-itemicon-common: 72, 72, 72; | ||
Line 56: | Line 88: | ||
--bg3wiki-itemicon-legendary: 183, 134, 29; | --bg3wiki-itemicon-legendary: 183, 134, 29; | ||
--bg3wiki-itemicon-story: 255, 89, 1; | --bg3wiki-itemicon-story: 255, 89, 1; | ||
--bg3wiki-itemicon-gradient-top-opacity: 0%; | --bg3wiki-itemicon-gradient-top-opacity: 0%; | ||
--bg3wiki-itemicon-gradient-bot-opacity: 12.5%; | --bg3wiki-itemicon-gradient-bot-opacity: 12.5%; | ||
--bg3wiki-itemicon-border-opacity: 60%; | --bg3wiki-itemicon-border-opacity: 60%; | ||
} | } | ||
Line 118: | Line 149: | ||
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; | |||
} | } | ||
/* Relative | /* [[Template:Relative location]] */ | ||
.relative-location { | .relative-location { | ||
background: var(--bg3wiki-relative-location-bg); | background: var(--bg3wiki-relative-location-bg); | ||
Line 135: | Line 167: | ||
text-align: center; | text-align: center; | ||
} | } | ||
.relative-location-header { | .relative-location-header { | ||
background: var(--bg3wiki-relative-location-header-bg-dark); | background: var(--bg3wiki-relative-location-header-bg-dark); | ||
Line 148: | Line 179: | ||
/* Damage Rider As Source (DRS) template */ | /* Damage Rider As Source (DRS) template */ | ||
.bg3wiki-damage-rider-source { | .bg3wiki-damage-rider-source { | ||
font-size:10px; | font-size: 10px; | ||
vertical-align: top; | vertical-align: top; | ||
font-style: italic; | font-style: italic; | ||
Line 155: | Line 186: | ||
/* Proficiency abbreviation styling */ | /* Proficiency abbreviation styling */ | ||
.bg3wiki-save-proficiency-abbr { | .bg3wiki-save-proficiency-abbr { | ||
font-size:10px; | font-size: 10px; | ||
vertical-align: top; | vertical-align: top; | ||
} | } | ||
Line 161: | Line 192: | ||
/* For mobile eyes only */ | /* For mobile eyes only */ | ||
.nodesktop { | .nodesktop { | ||
display: none; | display: none; | ||
} | } | ||
/* License box */ | /* License box */ | ||
#mw-license-preview .bg3wiki-license-box-container { | #mw-license-preview .bg3wiki-license-box-container { | ||
/* Don't want margin in the preview box because that breaks things */ | |||
margin: auto auto auto 0; | |||
} | } | ||
Line 737: | Line 769: | ||
} | } | ||
/* | /* PortableInfobox */ | ||
.infobox { | |||
background-color: var(--bg3wiki-box-detail-bg | .portable-infobox { | ||
background-color: var(--bg3wiki-box-detail-bg); | |||
border: var(--bg3wiki-wikitable-border); | border: var(--bg3wiki-wikitable-border); | ||
padding: 4px; | |||
} | |||
.portable-infobox .pi-item-spacing { | |||
padding: 0 | padding: 0; | ||
} | |||
.portable-infobox .pi-group { | |||
border: none; | |||
} | } | ||
.infobox- | .portable-infobox .pi-data { | ||
border: 0; | border: none; | ||
margin: 2px 0; | |||
} | } | ||
.infobox- | .portable-infobox .pi-title { | ||
background: var(--bg3wiki-box-header-bg); | background: var(--bg3wiki-box-header-bg); | ||
text-align: center; | |||
font-size: | 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; | |||
} | } | ||
.infobox- | .portable-infobox .pi-tab-link, | ||
.portable-infobox .pi-section-tab { | |||
color: var(-- | color: var(--link); | ||
border: none; | border: none; | ||
flex-grow: 1; | |||
} | } | ||
.infobox- | .portable-infobox .pi-tab-link.current, | ||
.infobox- | .portable-infobox .pi-section-tab.pi-section-active { | ||
. | background: none; | ||
background | border-bottom: 1px solid var(--link); | ||
border | |||
} | } | ||
.infobox-label { | .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); | background-color: var(--bg3wiki-box-label-bg); | ||
font-weight: normal; | font-weight: normal; | ||
} | } | ||
.infobox | .portable-infobox table { | ||
background- | background: none; | ||
} | |||
border: | .pi-horizontal-group .pi-horizontal-group-item:not(:first-child) { | ||
border-left: 2px solid var(--bg3wiki-box-detail-bg); | |||
padding: 0 | } | ||
.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; | |||
flex-wrap: wrap; | |||
} | } | ||
. | .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); | ||
} | } | ||
. | /* Character info template styling */ | ||
.infobox { | |||
background-color: var(--bg3wiki-box-detail-bg); | |||
color: var(--fg); | |||
border: var(--bg3wiki-wikitable-border); | |||
font-size: 90%; | |||
float: right; | |||
margin: 0.5em 0 0.5em 1em; | |||
padding: 0.2em 0.2em 0.6em 0.2em; | |||
clear: right; | |||
line-height: 1.5em; | |||
width: 23em; | |||
vertical-align: top; | |||
} | } | ||
. | .infobox-title { | ||
border: 0; | |||
} | } | ||
.bg3wiki- | .infobox-above { | ||
background: var(--bg3wiki-box-header-bg); | |||
color: var(--fg); | |||
font-size: 130%; | |||
border: var(--bg3wiki-box-accent-dark-border); | |||
} | } | ||
.infobox-header { | |||
. | background: var(--bg3wiki-box-header-bg); | ||
color: var(--fg); | |||
background | border: none; | ||
border: none | |||
} | } | ||
. | .infobox-subheader, | ||
.infobox-image, | |||
background-color: var(--bg3wiki- | .infobox-caption { | ||
border | background-color: var(--bg3wiki-box-detail-bg); | ||
border: var(--bg3wiki-box-detail-border); | |||
color: var(--fg); | |||
} | } | ||
. | .infobox-label { | ||
background-color: var(--bg3wiki-box-label-bg); | |||
background-color: var(--bg3wiki- | border: none; | ||
border | color: var(--fg); | ||
text-align: left; | |||
padding: 0.2em 0.4em 0.2em 0.4em; | |||
vertical-align: top; | |||
font-weight: normal; | |||
} | } | ||
.infobox-label:has(.bg3wiki-icontext-block) { | |||
. | vertical-align: middle; | ||
} | } | ||
. | .infobox-data { | ||
background-color: | background-color: transparent; | ||
color: var(--fg); | color: var(--fg); | ||
border: none; | |||
text-align: center; | |||
padding: 0.2em 0.4em 0.2em 0.4em; | |||
} | } | ||
/* Will remove this when I re-do the themes variables */ | |||
.infobox-data-last { | |||
border: none !important | border-bottom: none !important; | ||
} | } | ||
/* | .infobox-below { | ||
.bg3wiki-navbox | background: var(--bg3wiki-box-header-bg); | ||
color: var(--fg); | |||
border: none; | |||
} | |||
/** | |||
Navbox classes | |||
**/ | |||
.navbox, | |||
.mw-parser-output .navbox-list-with-group, | |||
.bg3wiki-navbox { | |||
text-align: center; | |||
border:1px solid var(--bg3wiki-tooltip-border); | |||
color: var(--fg); | |||
width: 100%; | |||
} | } | ||
.mw-parser-output .navbox-list-with-group, { | |||
. | |||
color: var(--bg3wiki-navbox-header-text); | color: var(--bg3wiki-navbox-header-text); | ||
background-color: var(--bg3wiki-navbox-bg); | |||
} | } | ||
.bg3wiki-navbox-header { | |||
.bg3wiki- | font-weight: bold; | ||
font-size: 105%; | |||
background-color: var(--bg3wiki-navbox-header-bg); | |||
border: 0px none; | |||
} | } | ||
.bg3wiki- | .bg3wiki-navbox-side-header { | ||
background-color: var(--bg3wiki-navbox-header-bg); | |||
} | } | ||
.bg3wiki- | .bg3wiki-navbox-side-secondary-header { | ||
background-color: var(--bg3wiki-navbox-header-secondary-bg); | |||
} | } | ||
. | /* These important tags will be removed, emergency fix */ | ||
.navbox-title { | |||
font-weight: bold; | |||
background-color: var(--bg3wiki-navbox-header-bg); | |||
border: none !important; | |||
} | } | ||
. | .navbox-group { | ||
font-weight: bold; | |||
border- | background-color: var(--bg3wiki-navbox-label-bg); | ||
border-top: var(--bg3wiki-navbox-label-border); | |||
} | } | ||
.navbox-subgroup .navbox-group { | |||
background-color: var(--bg3wiki- | font-weight: bold; | ||
border: var(--bg3wiki- | background-color: var(--bg3wiki-navbox-sublabel-bg); | ||
border-top: var(--bg3wiki-navbox-label-border); | |||
border-left: var(--bg3wiki-navbox-label-border); | |||
} | } | ||
. | |||
.navbox-list { | |||
border:1px solid var(--bg3wiki-tooltip-border); | |||
background-color: var(--bg3wiki-navbox-data-bg); | |||
} | } | ||
. | .navbox-odd { | ||
background-color: var(--bg3wiki-navbox-data-row-odd-bg); | |||
border: none !important; | |||
color: var(--fg); | |||
} | } | ||
.navbox-even { | |||
background-color: var(--bg3wiki-navbox-data-row-even-bg); | |||
background-color: var(--bg3wiki- | border: none !important; | ||
border-top: var(--bg3wiki-navbox-label-border); | |||
color: var(--fg); | color: var(--fg); | ||
} | } | ||
. | /* The actual contents of the navbox. */ | ||
. | .bg3wiki-navbox-content { | ||
text-align: left; | |||
padding: 0 4px; | |||
} | } | ||
. | /* Wikitext sometimes inserts implicit <p>s */ | ||
.bg3wiki-navbox-content p { | |||
color: var(--bg3wiki-navbox-header-text); | |||
} | } | ||
. | /* Classes for gameplay navboxes */ | ||
.bg3wiki-gameplay-navbox { | |||
color: var(--bg3wiki-navbox-header-text); | |||
background-color: var(--bg3wiki-gameplay-navbox-bg); | |||
margin-top: 1rem; | |||
border: 1px solid var(--bg3wiki-tooltip-border); | |||
width: 100%; | |||
} | } | ||
. | .bg3wiki-gameplay-navbox-header { | ||
background-color: var(--bg3wiki-gameplay-navbox-header-bg); | |||
text-align: center; | |||
} | } | ||
. | .bg3wiki-gameplay-navbox-row-header { | ||
font-size: 95%; | |||
padding: 0.75rem; | |||
} | } | ||
. | .bg3wiki-gameplay-navbox-content { | ||
border: 0px none; | |||
font-size: 95%; | |||
padding-left: 1ch; | |||
} | } | ||
. | .wikitable { | ||
margin: 1em 0 !important; | |||
border-collapse: collapse !important; | |||
} | } | ||
. | table.wikitable td { | ||
background-color: var(--bg3wiki- | background-color: var(--bg3wiki-wikitable-bg) !important; | ||
border: var(--bg3wiki-box- | border: var(--bg3wiki-wikitable-border) !important; | ||
} | |||
.wikitable th { | |||
background-color: var(--bg3wiki-wikitable-header-bg) !important; | |||
border: var(--bg3wiki-wikitable-border) !important; | |||
} | |||
.wikitable th[scope=row], | |||
.wikitable th[scope=rowgroup] { | |||
font-weight: normal; | |||
text-align: left; | |||
} | |||
/* Sidebar styling */ | |||
table.sidebar { | |||
background-color: var(--bg3wiki-box-detail-bg); | |||
color: var(--fg); | color: var(--fg); | ||
border: var(--bg3wiki-box-border); | |||
} | } | ||
.sidebar- | .sidebar-title, | ||
.sidebar-navbar { | |||
background: var(--bg3wiki-box-header-bg); | background: var(--bg3wiki-box-header-bg); | ||
color: var(--fg); | color: var(--fg); | ||
Line 1,002: | Line 1,096: | ||
} | } | ||
.bg3wiki- | .sidebar-above { | ||
background: var(--bg3wiki-box-header-bg); | |||
color: var(--fg); | |||
border: var(--bg3wiki-box-accent-dark-border); | |||
display: block; | |||
margin-bottom: 0.5em; | |||
} | } | ||
. | .sidebar-image, | ||
.sidebarcaption { | |||
background-color: var(--bg3wiki-box-detail-bg); | |||
border: var(--bg3wiki-box-detail-border); | |||
color: var(--fg); | |||
} | } | ||
.sidebar-list-title { | |||
background-color: var(--bg3wiki-box-label-bg); | |||
border: var(--bg3wiki-box-label-border); | |||
color: var(--fg); | |||
text-align: left; | |||
color: var(--bg3wiki- | |||
} | } | ||
. | .sidebar-content { | ||
background-color: var(--bg3wiki-box-data-bg); | |||
color: var(--fg); | |||
border: 1px solid var(--bg3wiki-box-data-border); | |||
} | } | ||
.sidebar-list { | |||
. | background-color: var(--bg3wiki-box-data-bg); | ||
color: var(--bg3wiki- | color: var(--fg); | ||
border: 1px solid var(--bg3wiki-box-data-border); | |||
} | } | ||
. | .sidebar-list-content { | ||
color: var(--bg3wiki- | background-color: var(--bg3wiki-box-data-bg); | ||
color: var(--fg); | |||
border: 1px solid var(--bg3wiki-box-data-border); | |||
} | } | ||
.sidebar-heading { | |||
. | background-color: var(--bg3wiki-box-label-bg); | ||
color: var(--bg3wiki- | border: var(--bg3wiki-box-label-border); | ||
color: var(--fg); | |||
display: block; | |||
margin-bottom: 0.5em; | |||
} | } | ||
.bg3wiki- | .sidebar-below { | ||
color: var(--bg3wiki- | background: var(--bg3wiki-box-header-bg); | ||
color: var(--fg); | |||
border: var(--bg3wiki-box-accent-dark-border); | |||
} | } | ||
.bg3wiki-sheet { | |||
. | max-width: none; | ||
width: 100%; | |||
} | } | ||
. | .ui-menu .ui-menu-item a { | ||
color: var(--bg3wiki- | color: var(--bg3wiki-ui-menu-item-a); | ||
} | } | ||
/* Damage type colors, primarily used by [[Template:Damage colour]]. */ | |||
. | .bg3wiki-damage-type-physical, | ||
color: var(--bg3wiki-damage-colour- | .bg3wiki-damage-type-weapon, | ||
.bg3wiki-damage-type-piercing, | |||
.bg3wiki-damage-type-bludgeoning, | |||
.bg3wiki-damage-type-slashing { | |||
color: var(--bg3wiki-damage-colour-physical-fg); | |||
} | } | ||
.bg3wiki-damage-type-acid { | |||
.bg3wiki- | color: var(--bg3wiki-damage-colour-acid-fg); | ||
color: var(--bg3wiki-damage-colour- | |||
} | } | ||
.bg3wiki-damage-type-cold { | |||
color: var(--bg3wiki-damage-colour-cold-fg); | |||
.healing { | } | ||
.bg3wiki-damage-type-fire { | |||
color: var(--bg3wiki-damage-colour-fire-fg); | |||
} | |||
.bg3wiki-damage-type-force { | |||
color: var(--bg3wiki-damage-colour-force-fg); | |||
} | |||
.bg3wiki-damage-type-healing { | |||
color: var(--bg3wiki-damage-colour-healing-fg); | color: var(--bg3wiki-damage-colour-healing-fg); | ||
} | } | ||
.bg3wiki-damage-type-lightning { | |||
. | |||
color: var(--bg3wiki-damage-colour-lightning-fg); | color: var(--bg3wiki-damage-colour-lightning-fg); | ||
} | } | ||
.bg3wiki-damage-type-necrotic { | |||
. | |||
color: var(--bg3wiki-damage-colour-necrotic-fg); | color: var(--bg3wiki-damage-colour-necrotic-fg); | ||
} | } | ||
.bg3wiki-damage-type-poison { | |||
.bg3wiki- | color: var(--bg3wiki-damage-colour-poison-fg); | ||
color: var(--bg3wiki-damage-colour- | |||
} | } | ||
.bg3wiki-damage-type-radiant { | |||
color: var(--bg3wiki-damage-colour-radiant-fg); | |||
. | } | ||
color: var(--bg3wiki-damage-colour- | .bg3wiki-damage-type-thunder { | ||
color: var(--bg3wiki-damage-colour-thunder-fg); | |||
} | } | ||
.bg3wiki-damage-type-psychic { | |||
.bg3wiki- | color: var(--bg3wiki-damage-colour-psychic-fg); | ||
color: var(--bg3wiki-damage-colour- | |||
} | } | ||
.bg3wiki-info-blob .bg3wiki-damage-type-physical, | |||
. | .bg3wiki-info-blob .bg3wiki-damage-type-weapon, | ||
color: var(--bg3wiki-damage-colour- | .bg3wiki-info-blob .bg3wiki-damage-type-piercing, | ||
.bg3wiki-info-blob .bg3wiki-damage-type-bludgeoning, | |||
.bg3wiki-info-blob .bg3wiki-damage-type-slashing { | |||
color: var(--bg3wiki-damage-colour-physical-fg-bright); | |||
} | } | ||
.bg3wiki-info-blob .bg3wiki-damage-type-acid { | |||
.bg3wiki-info-blob . | color: var(--bg3wiki-damage-colour-acid-fg-bright); | ||
color: var(--bg3wiki-damage-colour- | |||
} | } | ||
.bg3wiki-info-blob .bg3wiki-damage-type-cold { | |||
color: var(--bg3wiki-damage-colour-cold-fg-bright); | |||
. | |||
color: var(--bg3wiki-damage-colour- | |||
} | } | ||
.bg3wiki-info-blob .bg3wiki-damage-type-fire { | |||
.bg3wiki-info-blob . | color: var(--bg3wiki-damage-colour-fire-fg-bright); | ||
color: var(--bg3wiki-damage-colour- | |||
} | } | ||
.bg3wiki-info-blob .bg3wiki-damage-type-force { | |||
color: var(--bg3wiki-damage-colour-force-fg-bright); | |||
.psychic { | } | ||
color: var(--bg3wiki-damage-colour-psychic-fg); | .bg3wiki-info-blob .bg3wiki-damage-type-healing { | ||
} | color: var(--bg3wiki-damage-colour-healing-fg-bright); | ||
} | |||
.bg3wiki-info-blob .psychic { | .bg3wiki-info-blob .bg3wiki-damage-type-lightning { | ||
color: var(--bg3wiki-damage-colour-psychic-fg-bright); | color: var(--bg3wiki-damage-colour-lightning-fg-bright); | ||
} | } | ||
.bg3wiki-info-blob .bg3wiki-damage-type-necrotic { | |||
.fire-radiant { | color: var(--bg3wiki-damage-colour-necrotic-fg-bright); | ||
color: #db7d02; | } | ||
} | .bg3wiki-info-blob .bg3wiki-damage-type-poison { | ||
color: var(--bg3wiki-damage-colour-poison-fg-bright); | |||
/* Colour classes for templates */ | } | ||
.bg3wiki-red-1, | .bg3wiki-info-blob .bg3wiki-damage-type-radiant { | ||
th.red { | color: var(--bg3wiki-damage-colour-radiant-fg-bright); | ||
background-color: var(--bg3wiki-box-dark-red); | } | ||
} | .bg3wiki-info-blob .bg3wiki-damage-type-thunder { | ||
color: var(--bg3wiki-damage-colour-thunder-fg-bright); | |||
.bg3wiki-red-2 { | } | ||
background-color: var(--bg3wiki-box-mid-red); | .bg3wiki-info-blob .bg3wiki-damage-type-psychic { | ||
} | color: var(--bg3wiki-damage-colour-psychic-fg-bright); | ||
} | |||
.bg3wiki-red-3 { | |||
background-color: var(--bg3wiki-box-bright-red); | /* The following single-word variants of the damage type class names are | ||
} | * obsolete and should be removed once we've confirmed that they aren't still | ||
* used somewhere. | |||
.bg3wiki-red-border { | */ | ||
border: var(--bg3wiki-box-border-red); | |||
} | .physical, | ||
.weapon, | |||
.bg3wiki-red-border-faded { | .piercing, | ||
border: var(--bg3wiki-box-border-faded-red); | .bludgeoning, | ||
} | .slashing { | ||
color: var(--bg3wiki-damage-colour-physical-fg); | |||
.bg3wiki-orange-1, | } | ||
.acid { | |||
color: var(--bg3wiki-damage-colour-acid-fg); | |||
} | |||
.cold { | |||
color: var(--bg3wiki-damage-colour-cold-fg); | |||
} | |||
.fire { | |||
color: var(--bg3wiki-damage-colour-fire-fg); | |||
} | |||
.force { | |||
color: var(--bg3wiki-damage-colour-force-fg); | |||
} | |||
.healing { | |||
color: var(--bg3wiki-damage-colour-healing-fg); | |||
} | |||
.lightning { | |||
color: var(--bg3wiki-damage-colour-lightning-fg); | |||
} | |||
.necrotic { | |||
color: var(--bg3wiki-damage-colour-necrotic-fg); | |||
} | |||
.poison { | |||
color: var(--bg3wiki-damage-colour-poison-fg); | |||
} | |||
.radiant { | |||
color: var(--bg3wiki-damage-colour-radiant-fg); | |||
} | |||
.thunder { | |||
color: var(--bg3wiki-damage-colour-thunder-fg); | |||
} | |||
.psychic { | |||
color: var(--bg3wiki-damage-colour-psychic-fg); | |||
} | |||
.bg3wiki-info-blob .physical, | |||
.bg3wiki-info-blob .weapon, | |||
.bg3wiki-info-blob .piercing, | |||
.bg3wiki-info-blob .bludgeoning, | |||
.bg3wiki-info-blob .slashing { | |||
color: var(--bg3wiki-damage-colour-physical-fg-bright); | |||
} | |||
.bg3wiki-info-blob .acid { | |||
color: var(--bg3wiki-damage-colour-acid-fg-bright); | |||
} | |||
.bg3wiki-info-blob .cold { | |||
color: var(--bg3wiki-damage-colour-cold-fg-bright); | |||
} | |||
.bg3wiki-info-blob .fire { | |||
color: var(--bg3wiki-damage-colour-fire-fg-bright); | |||
} | |||
.bg3wiki-info-blob .force { | |||
color: var(--bg3wiki-damage-colour-force-fg-bright); | |||
} | |||
.bg3wiki-info-blob .healing { | |||
color: var(--bg3wiki-damage-colour-healing-fg-bright); | |||
} | |||
.bg3wiki-info-blob .lightning { | |||
color: var(--bg3wiki-damage-colour-lightning-fg-bright); | |||
} | |||
.bg3wiki-info-blob .necrotic { | |||
color: var(--bg3wiki-damage-colour-necrotic-fg-bright); | |||
} | |||
.bg3wiki-info-blob .poison { | |||
color: var(--bg3wiki-damage-colour-poison-fg-bright); | |||
} | |||
.bg3wiki-info-blob .radiant { | |||
color: var(--bg3wiki-damage-colour-radiant-fg-bright); | |||
} | |||
.bg3wiki-info-blob .thunder { | |||
color: var(--bg3wiki-damage-colour-thunder-fg-bright); | |||
} | |||
.bg3wiki-info-blob .psychic { | |||
color: var(--bg3wiki-damage-colour-psychic-fg-bright); | |||
} | |||
/* WTF is this? */ | |||
.fire-radiant { | |||
color: #db7d02; | |||
} | |||
/* Colour classes for templates */ | |||
.bg3wiki-red-1, | |||
th.red { | |||
background-color: var(--bg3wiki-box-dark-red); | |||
} | |||
.bg3wiki-red-2 { | |||
background-color: var(--bg3wiki-box-mid-red); | |||
} | |||
.bg3wiki-red-3 { | |||
background-color: var(--bg3wiki-box-bright-red); | |||
} | |||
.bg3wiki-red-border { | |||
border: var(--bg3wiki-box-border-red); | |||
} | |||
.bg3wiki-red-border-faded { | |||
border: var(--bg3wiki-box-border-faded-red); | |||
} | |||
.bg3wiki-orange-1, | |||
th.orange { | th.orange { | ||
background-color: var(--bg3wiki-box-dark-orange); | background-color: var(--bg3wiki-box-dark-orange); | ||
Line 1,411: | Line 1,615: | ||
.bg3wiki-achievement { | .bg3wiki-achievement { | ||
width: 100%; | width: 100%; | ||
} | |||
/* For visual effect, as of now only used on [[Illithid Powers]]. */ | |||
.bg3wiki-visible-on-hover { | |||
opacity: 0; | |||
transition-property: opacity; | |||
transition-duration: .4s; | |||
} | |||
.bg3wiki-visible-on-hover:hover, | |||
.bg3wiki-visible-on-hover:focus { | |||
opacity: 1; | |||
} | |||
/* Template:WeaponsTableHeader / Template:WeaponsTableRow */ | |||
.bg3wiki-weapons-table td:not(:last-child) { | |||
text-align: center; | |||
} | } |