Jump to content

MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
 
Line 1,022: Line 1,022:




/* used by the front page starts*/
/* Default styles for desktop (769px or more) */
/* Default styles for desktop (769px or more) */
.desktop-view {
@media only screen and (min-width: 769px) {
    display: block;
    .desktop-view {
}
        display: block !important;
.mobile-view {
    }
    display: none;
    .mobile-view {
        display: none !important;
    }
}
}


/* Mobile styles */
@media only screen and (max-width: 768px) {
@media only screen and (max-width: 768px) {
  .desktop-view { display: none !important; }
    .desktop-view {  
  .mobile-view { display: block !important; }
        display: none !important;  
    }
    .mobile-view {  
        display: block !important;  
    }
}
}
/* used by the front page end*/
/* used by the front page end*/