MediaWiki:Mobile.css
From Regiapædia
Revision as of 14:23, 11 June 2017 by Gav (talk | contribs) (Created page with "→CSS placed here will affect users of the mobile site: .mobile-float-reset { float: none !important; width: 100% !important; } →Hides Desktop only elements: #mf-HideO...")
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: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will affect users of the mobile site */ .mobile-float-reset { float: none !important; width: 100% !important; } /* Hides Desktop only elements */ #mf-HideOnMobile { display: none; } /* Size External Images */ .externalimage-holder { position: relative; height: auto; float: left; border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; -khtml-border-radius: 10px; -icab-border-radius: 10px; -o-border-radius: 10px; color: #ffffff; background: green; text-align:center; margin: 0 0 10px 10px; } .externalimage-holder img { width: 100%; height: inherit; border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; -khtml-border-radius: 10px; -icab-border-radius: 10px; -o-border-radius: 10px; float: left; } [[Category:Wiki]]