MediaWiki:Common.css: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 77: | Line 77: | ||
/* 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 */ | ||
.tocdiv { | .tocdiv { | ||
max-width: 1366px; | |||
display: grid; | display: grid; | ||
grid-gap: 15px; | grid-gap: 15px; | ||
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); | grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); | ||
grid-template-columns: repeat(auto-fit, minmax(300px, | grid-template-columns: repeat(auto-fit, minmax(300px, 500px)); | ||
grid-template-rows: repeat(2, 300px); | grid-template-rows: repeat(2, 300px); | ||
grid-template-rows: repeat(auto-fit, minmax(300px, 1fr)); | grid-template-rows: repeat(auto-fit, minmax(300px, 1fr)); | ||