MediaWiki:PortalGallery.css

/** * * @title           PortalGallery * @description    Portal styling for galleries. * @author         Speedit * @version        1.0.0 * @license        CC-BY-SA 3.0 * @notes          Dependent on Template:Portal. * */

/** * @section        Gallery container. * @element        .wikia-gallery */   display: flex; flex-flow: row wrap; justify-content: center; } /** * @section        Gallery items. * @element        .wikia-gallery-item */   margin-right: 8px; padding: 0; }   margin-right: 0; } /** * @section        Gallery card elements. * @element        .wikia-gallery-item */   border-radius: 2px; border-width: 2px; }   border-radius: 0 4px 0 0; font-weight: bold; max-width: 100%; overflow: hidden; padding: 2px 6px; text-overflow: ellipsis; white-space: nowrap; }   color: inherit; } /** * @section        Gallery modifications. * @element        .wikia-photogallery-add */   display: none; }
 * 1) mw-content-text .portal .wikia-gallery {
 * 1) mw-content-text .portal .wikia-gallery .wikia-gallery-item {
 * 1) mw-content-text .portal .wikia-gallery .wikia-gallery-item:nth-child(5n) {
 * 1) mw-content-text .portal .wikia-gallery-item .gallery-image-wrapper {
 * 1) mw-content-text .portal .wikia-gallery-item .lightbox-caption {
 * 1) mw-content-text .portal .wikia-gallery-item .lightbox-caption a {
 * 1) mw-content-text .portal .wikia-gallery > br,
 * 2) mw-content-text .portal .wikia-gallery .wikia-photogallery-add {