MediaWiki:Mobile.css: Difference between revisions

Jump to navigation Jump to search
Add list style none hack from Common.css, and rearrange some stuff.
mNo edit summary
(Add list style none hack from Common.css, and rearrange some stuff.)
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 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;
}
/* For desktop eyes only */
.nomobile {
display: none;
}
}


Navigation menu