MediaWiki:Common.css: Difference between revisions

mNo edit summary
mNo edit summary
Line 74: Line 74:
}
}


/* responsive table of contents with introduction */
/* 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 {
     maxwidth: 800px;
     maxwidth: 800px;
Line 80: Line 80:
     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, 300px));
     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));