Template:ChanChildren/styles.css: Difference between revisions
Appearance
Created page with ".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; 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; } }" |
No edit summary |
||
Line 8: | Line 8: | ||
grid-template-columns: repeat(auto-fill, 9em); | grid-template-columns: repeat(auto-fill, 9em); | ||
justify-content: center; | justify-content: center; | ||
align-items: center; | |||
gap: 0.2em; | gap: 0.2em; | ||
} | } |
Latest revision as of 19:02, 25 February 2025
.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; } }