MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1,020: | Line 1,020: | ||
body.page-Main_Page.ns-subject h1.firstHeading { display:none; } | body.page-Main_Page.ns-subject h1.firstHeading { display:none; } | ||
/* used by the front page starts*/ | |||
/* Default styles for desktop (769px or more) */ | |||
@media only screen and (min-width: 769px) { | |||
.desktop-view { | |||
display: block !important; | |||
} | |||
.mobile-view { | |||
display: none !important; | |||
} | |||
} | |||
/* Mobile styles */ | |||
@media only screen and (max-width: 768px) { | |||
.desktop-view { | |||
display: none !important; | |||
} | |||
.mobile-view { | |||
display: block !important; | |||
} | |||
} | |||
/* used by the front page end*/ |