12,652
editsSome additional cleanup.
(Start cleaning up damage type color class names.) |
(Some additional cleanup.) |
||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* 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; | |||
} | |||
/* Table of contents */ | |||
.toc { | .toc { | ||
margin: 0.5em 0 0 0.5em; | margin: 0.5em 0 0 0.5em; | ||
Line 16: | Line 25: | ||
} | } | ||
/* Some h3 use an alternative style. */ | |||
.bg3wiki-tooltip-box h3, | .bg3wiki-tooltip-box h3, | ||
h3.bg3wiki-level-header { | h3.bg3wiki-level-header { | ||
Line 45: | Line 55: | ||
/* Item, spell, etc. properties */ | /* Item, spell, etc. properties */ | ||
.bg3wiki-property-list dt { | .bg3wiki-property-list dt { | ||
font-weight: normal; | font-weight: normal; | ||
Line 52: | Line 61: | ||
margin-left: 0; | margin-left: 0; | ||
} | } | ||
.mw-content-ltr ul.bg3wiki-property-list { | .mw-content-ltr ul.bg3wiki-property-list { | ||
margin-left: 0; | margin-left: 0; | ||
Line 58: | Line 66: | ||
} | } | ||
/* ItemIcon | /* ItemIcon stuff */ | ||
:root { | :root { | ||
--bg3wiki-itemicon-common: 72, 72, 72; | --bg3wiki-itemicon-common: 72, 72, 72; | ||
Line 66: | Line 75: | ||
--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 136: | Line 144: | ||
} | } | ||
/* Relative | /* [[Template:Relative location]] */ | ||
.relative-location { | .relative-location { | ||
background: var(--bg3wiki-relative-location-bg); | background: var(--bg3wiki-relative-location-bg); | ||
Line 145: | Line 153: | ||
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 158: | Line 165: | ||
/* 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 165: | Line 172: | ||
/* 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 171: | Line 178: | ||
/* 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; | |||
} | } | ||