MediaWiki:Common.css: Difference between revisions
Appearance
Xinreality (talk | contribs) No edit summary |
Xinreality (talk | contribs) No edit summary |
||
Line 218: | Line 218: | ||
background-repeat: no-repeat!important; | background-repeat: no-repeat!important; | ||
} | } | ||
/* display mobile or desktop */ | |||
/* used by the front page start*/ | |||
/* Default styles for desktop (769px or more) */ | |||
.desktop-view { | |||
display: block; | |||
} | |||
.mobile-view { | |||
display: none; | |||
} | |||
@media only screen and (max-width: 768px) { | |||
.desktop-view { display: none !important; } | |||
.mobile-view { display: block !important; } | |||
} | |||
/* used by the front page end*/ |