Jump to content
Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Line 257: Line 257:


.ygdren-glyph-grid {
.ygdren-glyph-grid {
--cell-width: 5.5em;
--gap: 0.5em;
    --max-cols: 8;
   
     display: grid;
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(5.5em, 1fr));
     grid-template-columns: repeat(auto-fit, var(--cell-width));
     gap: 1.2em 0.5em;
    justify-content: center;
     margin: 1em 0;
     gap: 1.2em var(--gap);
    max-width: calc(var(--max-cols) * var(--cell-width) + (var(--max-cols) - 1) * var(--gap));
     margin: 1em auto;
    text-align: center;
}
}