MediaWiki:Common.css: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 78: | Line 78: | ||
} | } | ||
/* DivToc: responsive table of contents with introduction */ | /* DivToc: responsive table of contents with introduction */ | ||
.tocdiv { | .tocdiv { | ||
max-width: 1366px; | max-width: 1366px; | ||
display: grid; | display: grid; | ||
grid-gap: 15px; | grid-gap: 15px; | ||
column-gap: 30px; /* Add this line */ | |||
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); | grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); | ||
grid-template-rows: auto; | grid-template-rows: auto; | ||
} | } | ||
/* Mobile fix for DivToc layout */ | /* Mobile fix for DivToc layout */ | ||