MediaWiki:Fandomdesktop.css

background-color: inherit !important; }
 * 1) toc {

/* Main page gallery in the Welcome template */

/** General theming **/ .mainpagegallery ul.gallery li.gallerybox, .mainpagegallery ul.gallery li.gallerybox > div, .mainpagegallery ul.gallery li.gallerybox div.thumb, .mainpagegallery ul.gallery li.gallerybox div.thumb div { width: auto !important; }

.mainpagegallery ul.gallery li.gallerybox div.thumb div, .mainpagegallery ul.gallery li.gallerybox div.thumb img { margin: 0 !important; }

.mainpagegallery ul.gallery li.gallerybox div.thumb img { margin: 0 !important; }

.mainpagegallery ul.gallery li.gallerybox .gallerytext p { margin: 0 !important; }

/** Gallery wrapper **/ .mainpagegallery ul.gallery { text-align: center !important; }

/** Gallery image box **/ .mainpagegallery ul.gallery li.gallerybox { text-align: left !important; }

.mainpagegallery ul.gallery li.gallerybox > div { position: relative !important; }

/** Thumbnail container **/ .mainpagegallery ul.gallery li.gallerybox div.thumb { border-width: 2px !important; border-style: block !important; border-color: #cc0000 !important; }

.mainpagegallery ul.gallery li.gallerybox div.thumb img { width: 155px !important; height: auto !important; }

/** Image caption **/ .mainpagegallery ul.gallery li.gallerybox .gallerytext { text-align:center !important; box-sizing: border-box !important; width: 100% !important; }

/**** General wiki-wide gallery theming fix ****/ ul.gallery li.gallerybox, ul.gallery li.gallerybox > div, ul.gallery li.gallerybox div.thumb, ul.gallery li.gallerybox div.thumb div { width: auto !important; } ul.gallery li.gallerybox div.thumb div, ul.gallery li.gallerybox div.thumb img { margin: 0 !important; } ul.gallery li.gallerybox div.thumb img { margin: 0; } ul.gallery li.gallerybox .gallerytext p { margin: 0; } /** Gallery wrapper */ ul.gallery { display: flex; flex-wrap: wrap; width: 100%; justify-content: center; } /** Gallery image box */ ul.gallery li.gallerybox { } /** Thumbnail container */ ul.gallery li.gallerybox div.thumb { border: 0; }