Template:ChanChildren/styles.css
.chan-children { font-size: 1.5em; columns: 3; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, 9em); justify-content: center; align-items: center; gap: 0.2em; } .chan-children > li { background-color: #ccc1; padding: 0.2em; } @media (max-width: 30em) { .chan-children { font-size: 1em; } } @media (min-width: 60em) { .chan-children { font-size: 1.75em; } }