9,876
editsno edit summary
(More fixes and cleanup.) |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 21: | Line 21: | ||
--bg3wiki-tooltip-border: #785000; | --bg3wiki-tooltip-border: #785000; | ||
} | |||
/* MobileFrontend should strip elements with this class, but still */ | |||
.nomobile { | |||
display: none; | |||
} | |||
/* 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; | |||
} | } | ||
Line 88: | Line 99: | ||
.bg3wiki-tooltip-box { | .bg3wiki-tooltip-box { | ||
overflow: hidden; | overflow: hidden; | ||
margin: 2em; | margin: 0.5em 0.2em 0 0.2em; | ||
} | } | ||
Line 128: | Line 139: | ||
font-family: 'Linux Libertine', 'Georgia', serif; | font-family: 'Linux Libertine', 'Georgia', serif; | ||
} | } | ||
/* ItemIcon stuff */ | |||
:root { | :root { | ||
Line 182: | Line 195: | ||
/* Relative Location stuff */ | /* Relative Location stuff */ | ||
.relative-location { | .relative-location { | ||
background: var(--bg3wiki-relative-location-bg); | background: var(--bg3wiki-relative-location-bg); | ||
Line 196: | Line 210: | ||
/* 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; | ||
Line 203: | Line 218: | ||
/* 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 */ | /* Don't want margin in the preview box because that breaks things */ | ||
Line 229: | Line 245: | ||
vertical-align: top; | vertical-align: top; | ||
padding: 0.4rem 0 0.4rem 0.9rem; | padding: 0.4rem 0 0.4rem 0.9rem; | ||
} | } | ||
Line 497: | Line 508: | ||
.bg3wiki-blockquote-marks { | .bg3wiki-blockquote-marks { | ||
font-size: 120%; | font-size: 120%; | ||
font-family: serif; | font-family: serif; | ||
Line 535: | Line 545: | ||
/* These are hidden since the screen may be too narrow. */ | /* These are hidden since the screen may be too narrow. */ | ||
display: none; | display: none; | ||
} | |||
/* PortableInfobox */ | |||
.portable-infobox [data-item-name="bg3wiki-resistances"] ul { | |||
margin: 0; | |||
list-style: none; | |||
display: flex; | |||
justify-content: center; | |||
gap: 5px; | |||
} | } | ||