MediaWiki:Mobile.css
From ChaldeanWiki
Note: After saving, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Clear the cache in Tools → Preferences
/* CSS placed here will affect users of the mobile site */ .mf-welcome { max-width:350px; } /*library of congress gallery*/ .gallery3 { clear: both; -ms-box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; text-align: left; font-size: 0px; letter-spacing: 0px; word-spacing: 0px; margin: 0; padding: 0; list-style: none; } .gallery3 > li { padding: 0; list-style: none; width: 100%; margin-left: 2.1276595744681%; display: inline-block; vertical-align: top; font-size: 12px; letter-spacing: normal; word-spacing: normal; } .gallery3 img { max-width: 100%; height: auto; width: auto \9; display: block; margin-bottom: 5px; } .gallery3 > li { width: 31.914893617021%; margin-left: 2.1276595744681%; } .gallery3 > li:nth-child(3n+1) { margin-left: 0; } .gallery3 li span { position: relative!important; color:#FFF; top:-40px; float:left; padding: 7px; display: block; width: 100%; font-weight: bold; -ms-box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; line-height: 1.1; text-shadow: 0 0 5px #333333; }