MediaWiki:Mobile.css: Difference between revisions
m cleaned out menu for mobile 'hacks' |
mNo edit summary Tag: Reverted |
||
| Line 57: | Line 57: | ||
font-weight: 600; | font-weight: 600; | ||
} | } | ||
} | |||
/* responsive table of contents with introduction https://medium.freecodecamp.org/how-to-make-your-html-responsive-by-adding-a-single-line-of-css-2a62de81e431 */ | |||
.tocdiv { | |||
max-width: 800px; | |||
display: grid; what | |||
grid-gap: 15px; | |||
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); | |||
grid-template-columns: repeat(auto-fit, minmax(300px, 4fr)); | |||
grid-template-rows: repeat(2, 300px); | |||
grid-template-rows: repeat(auto-fit, minmax(300px, 1fr)); | |||
} | } | ||