MediaWiki:Gadget-mobile.css: Difference between revisions
MediaWiki:Gadget-mobile.css (view source)
Revision as of 14:51, 23 February 2021
, 14:51, 23 February 2021Replacing "/media" links with image links. If you have any questions or noticed issues related to this edit, please reach out to us using the Special:Contact page.
imported>Kittymmeow No edit summary |
imported>FANDOMbot (Replacing "/media" links with image links. If you have any questions or noticed issues related to this edit, please reach out to us using the Special:Contact page.) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 14: | Line 14: | ||
.skin-minerva { | .skin-minerva { | ||
--body-background-color: #190d07; | --body-background-color: #190d07; | ||
--body-background-image: url("/ | --body-background-image: url("https://static.wikia.nocookie.net/cavesofqud_gamepedia_en/images/5/5d/Mobile_background.jpg/revision/latest"); | ||
--body-background-attachment: fixed; | --body-background-attachment: fixed; | ||
--body-background-size: cover; | --body-background-size: cover; | ||
Line 707: | Line 707: | ||
.skin-minerva .cargoTable tr:nth-child(even) { | .skin-minerva .cargoTable tr:nth-child(even) { | ||
background: var(--wikitable | background: var(--wikitable-background); | ||
} | } | ||
Line 755: | Line 755: | ||
.skin-minerva table.dataTable.order-column.stripe tbody tr.even > .sorting_1, | .skin-minerva table.dataTable.order-column.stripe tbody tr.even > .sorting_1, | ||
.skin-minerva table.dataTable.stripe tbody tr.even { | .skin-minerva table.dataTable.stripe tbody tr.even { | ||
background: var(--wikitable | background: var(--wikitable-background); | ||
text-align: center; | text-align: center; | ||
} | } | ||
Line 1,010: | Line 1,010: | ||
/* IMPORTANT: all mobile-only styles in this gadget MUST have their selectors prefixed by .skin-minerva or they will override desktop styles on desktop as well due to a bug with gadgets. If the style is okay with being loaded with javascript, use [[MediaWiki:Mobile.css]] instead */ | /* IMPORTANT: all mobile-only styles in this gadget MUST have their selectors prefixed by .skin-minerva or they will override desktop styles on desktop as well due to a bug with gadgets. If the style is okay with being loaded with javascript, use [[MediaWiki:Mobile.css]] instead */ | ||
img.scalable { /* class for scalable images (https://help.gamepedia.com/Advanced_images#Using_css-defined_classes) */ | |||
max-width: 100%; | |||
height:auto; | |||
} |