Difference between revisions of "MediaWiki:Mobile.css"
Jump to navigation
Jump to search
(Created page with "→CSS placed here will affect users of the mobile site: #featuredArticle { display: none !important; } #wikiStructure { display: block !important; width: auto...") |
(Updated css to improve style on wide screen mobile devices.) Tags: Mobile edit, Mobile web edit |
||
Line 1: | Line 1: | ||
/* CSS placed here will affect users of the mobile site */ | /* CSS placed here will affect users of the mobile site */ | ||
− | #featuredArticle { | + | @media screen and (max-width: 820px) { |
− | + | #featuredArticle { | |
− | } | + | display: none !important; |
+ | } | ||
− | #wikiStructure { | + | #wikiStructure { |
− | + | display: block !important; | |
− | + | width: auto !important; | |
+ | } | ||
} | } |
Revision as of 12:27, 28 March 2017
/* CSS placed here will affect users of the mobile site */
@media screen and (max-width: 820px) {
#featuredArticle {
display: none !important;
}
#wikiStructure {
display: block !important;
width: auto !important;
}
}