MediaWiki:Mobile.css: Difference between revisions
mNo edit summary Tag: Reverted |
mNo edit summary Tag: Reverted |
||
| Line 59: | Line 59: | ||
} | } | ||
/* responsive table of contents with introduction https://medium.freecodecamp.org/how-to-make-your-html-responsive-by-adding-a-single-line-of-css-2a62de81e431 */ | /* responsive table of contents with introduction https://medium.freecodecamp.org/how-to-make-your-html-responsive-by-adding-a-single-line-of-css-2a62de81e431 */ | ||
@media (max-width: | /* Mobile fix for DivToc layout */ | ||
@media screen and (max-width: 700px) { | |||
.tocdiv { | .tocdiv { | ||
display: block !important; | |||
} | |||
.tocdiv > div { | |||
width: 100% !important; | |||
margin: 0 !important; | |||
} | |||
} | |||
} | } | ||