MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1,008: | Line 1,008: | ||
color: #c9c9c9 !important; | color: #c9c9c9 !important; | ||
} | } | ||
/* Unrelated to looks of the website! */ | |||
/* TOC display level limiter, will only display the TOC up to level N */ | |||
.toc1 li.toclevel-2, .toc1 li.toclevel-3, .toc1 li.toclevel-4, .toc1 li.toclevel-5, .toc1 li.toclevel-6, | |||
.toc2 li.toclevel-3, .toc2 li.toclevel-4, .toc2 li.toclevel-5, .toc2 li.toclevel-6, | |||
.toc3 li.toclevel-4, .toc3 li.toclevel-5, .toc3 li.toclevel-6, | |||
.toc4 li.toclevel-5, .toc4 li.toclevel-6, | |||
.toc5 li.toclevel-6, | |||
.hide, | |||
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*/ |