MediaWiki:Mobile.css
Note: After publishing, 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 / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* source: https://commons.wikimedia.org/wiki/MediaWiki:Mobile.css */ /* CSS placed here will affect users of the mobile site */ @media screen, handheld { .com-mobile-handheld-hidden { display: none !important; } .com-mobile-handheld-only { display: block !important; } } /* CodeSelect START */ .codeBoxArea { border: 1px rgb(140, 140, 140) solid; background-color: rgb(180, 180, 180); margin-bottom: 0px; width: 99%; height: auto; overflow: auto; resize: none; cursor: text !important; position: relative; z-index: 0; } .selectLink { float: right; height: 0px; line-height: 16px; position: relative; z-index: 1; } .client-nojs .preDiv { display: block; } .client-nojs .textareaDiv, .client-nojs .selectBtnDiv { display: none; } .client-js .preDiv { display: none; } .client-js .textareaDiv, .client-js .selectBtnDiv { display: block; } .smallText { font-size: 66%; } /* CodeSelect END */ /* begin sd widget style*/ .sd-btn-group { display: none; } .sd-heading { display: none; } .client-nojs .sd-heading { font-weight: bold; display: block; } .client-js .sd-btn-group { display: block; } .client-js .sd-short-hidden .sd-short, .client-js .sd-detailed-hidden .sd-detailed { display: none; } /* end sd widget style*/ /* begin sd widget style for mobile*/ .btn-group { font-size: 0; } .btn { border: 1px solid black; padding: 0.5em; display: inline-block; text-align: center; vertical-align: middle; font-size: 14px; line-height: 1; margin-bottom: 10px; } .btn-group > .btn + .btn { margin-left: -1px; } .btn.active { background-color: #ddd; } /* end sd widget style for mobile*/