MediaWiki:Mobile.css: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
/* CSS placed here will affect users of the mobile site */ |
/* CSS placed here will affect users of the mobile site */ |
||
@media screen |
@media screen { |
||
.com-mobile-handheld-hidden { |
.com-mobile-handheld-hidden { |
||
display: none !important; |
display: none !important; |
Revision as of 08:49, 7 January 2022
/* source: https://commons.wikimedia.org/wiki/MediaWiki:Mobile.css */ /* CSS placed here will affect users of the mobile site */ @media screen { .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*/