MediaWiki:Wikia.css

.grid { display: flex; justify-content: center; --border-radius: 5px; } .grid .grid__item { margin: 10px; padding: 10px; background-color: var(--themed-page-background--secondary); border: 1px solid var(--themed-border-color); color: var(--themed-text-color); border-radius: var(--border-radius); display: flex; flex-direction: column; justify-content: space-evenly; width: 110px; height: 160px; } .grid .grid__item .grid__item-label { display: flex; flex-direction: column; margin-top: 8px; } .grid .grid__item .grid__item-label span { text-align: center; flex: 1; font-size: 10px; white-space: nowrap; overflow: hidden; overflow-wrap: break-word; } .grid .grid__item .grid__item-label .item-label__title { font-weight: bold; font-size: 15px; } .grid .grid__item .grid__item-image { width: 100px; height: 100px; border: 1px solid var(--themed-border-color); border-radius: var(--border-radius); overflow: hidden; display: flex; margin: 0 auto; } .grid .grid__item .grid__item-image .image { margin: auto; }