MediaWiki:Gallery.css

/* Gallery */ .gallery { color: var(--theme-link-color) !important; text-align: center; font-size: 95%; } .gallery-line h3 { padding: 7.5px; border-bottom: 1px solid var(--theme-link-color); width: 50%; margin-bottom: -5px; } .gallery .mw-editsection a { display: none; }

/** Link **/ .gallerylink { display: inline-block; color: #fff; transition: all 0.5s; cursor: pointer; margin: auto; background-color: var(--theme-link-color); width: 80%; clear: both; padding: 0.5em; color: #fff; border-radius: 12px; font-weight: bold; font-size: 80%; } .gallerylink td { width: 100%; } .gallerylink:hover { background-color: var(--theme-accent-color); transform: scale(0.985); } .gallerylink a { color: #fff; } .gallerylink b { font-size: 160%; } .gallerylink span { cursor: pointer; display: inline-block; position: relative; transition: 0.5s; float: right; font-weight: bold; font-size: 160%; } .gallerylink span:after { content: '\00bb'; opacity: 0; transition: 0.5s; } .gallerylink:hover span { padding-right: 10px; } .gallerylink:hover span:after { opacity: 1; right: 0; } .gallerylink td a, .gallerylink td a.new { display: block; color: inherit; } .gallerylink td > .selflink, .gallerylink td > span, .gallerylink td a > span { display: block; padding: 0.5em; }

/** Border **/ .gallery-border { width: 100%; margin-top: 1.30em; border: 2px solid; padding: 5px; border-image: linear-gradient(to bottom, var(--theme-link-color), transparent) 10; } .gallery-border-wide { width: 100%; border: 2px solid; padding: 2.5px; border-image: linear-gradient(to bottom, var(--theme-link-color), transparent) 10; }

/** Head **/ .gallery_head { background-color: var(--theme-link-color); border-radius: 20px 20px 0px 0px; padding: 2.5px; width: 100%; } .gallery_head h1 { color: #fff; font-weight: bold; font-size: 150%; } .gallery_head h1 a { color: #fff !important; }

/** Subhead **/ .gallery_subhead { width: auto; } .gallery_subhead h3 { background-color: var(--theme-link-color); color: #fff; font-size: 125%; font-weight: bold; position: top-absolute; } .gallery_subhead h3 a { color: #fff !important; display: initial; }

/** Body **/ .gallery_body h3 { font-weight: bold; margin-top: 5px; margin-bottom: 0px; } .gallery_body a { color: var(--theme-link-color) !important; } .gallery_body h4:before, .gallery_body h4:after { font-weight: normal; background: var(--theme-link-color); display: inline-block; position: relative; vertical-align: middle; content: ""; width: 7.5%; height: 1px; } .gallery_body h4:before { right: 12px; } .gallery_body h4:after { left: 12px; }

/** Tabber **/ .gallery .tabber .wds-tabs__wrapper { border: none; margin-bottom: 10px; } .gallery .tabber .wds-tabs__wrapper .wds-tabs { background: transparent; padding: 3px 0; text-align: center; margin: 0 0 -10px 0; flex-wrap: wrap; justify-content: center; } .gallery .tabber .wds-tabs .wds-tabs__tab-label { margin: 0; height: auto; } .gallery .tabber .wds-tabs__tab a { border: none; color: var(--theme-page-text-color) !important; font-size: 14px; font-weight: 450; margin: 0; padding: 4px 14px; cursor: pointer; text-decoration: gold; transition: 0.2s; } .gallery .tabber .wds-tabs__tab a:hover { border: none; color: #fff !important; background: var(--theme-link-color); font-size: 14px; font-weight: 450; margin: 0; padding: 4px 14px; cursor: pointer; text-decoration: gold; } .gallery .tabber .wds-tabs__tab:first-child a { border-top-left-radius: 4px; border-bottom-left-radius: 4px; } .gallery .tabber .wds-tabs__tab:last-child a { border-top-right-radius: 4px; border-bottom-right-radius: 4px; } .gallery .tabber .wds-tabs__tab a:active { text-decoration: gold; cursor: default; } .gallery .tabber .wds-tabs__tab.wds-is-current a { background: var(--theme-link-color); color: #fff !important; text-decoration: gold; cursor: default; } .gallery .tabber .wds-tabs__tab.wds-is-current a:active { background: var(--theme-link-color); cursor: default; }

/** Thumb **/ .gallery .gallerybox div.thumb { width: 130px; } .article-thumb, .gallerybox, .gallerybox div.thumb, .activityfeed-inserted-media li { -moz-border-radius: 1ex; border-radius: 1ex; border: none; overflow: hidden; } figcaption { margin: 0px; } .article-thumb figcaption .caption { margin: 8px; font-size: 12px; } .WikiaArticle .article-thumb p:last-child, .WikiaArticle .article-thumb p + p:last-child { padding: 0; } .article-thumb:hover, .gallerybox:hover { box-shadow: none; } .gallerybox div.thumb { width: 140px; } .wikia-gallery-item .thumb .gallery-image-wrapper.accent { background-color: transparent; border-color: transparent; } .wikia-gallery-border-small .thumb .gallery-image-wrapper { border-radius: 1ex !important; } .picture-attribution { display: none !important; } div.picture-attribution { display: none !important; }

/** Navigation **/ .gallerynav { background-color: var(--theme-link-color); transition: all 0.5s; } .gallerynav .wds-button { transform: scale(1.015); cursor: pointer; } .topbox { background: rgba(132, 170, 180, 0.06) !important; border: 1px solid #84aab4; font-size: 85%; width: 100%; } .topbox-top { border-bottom: 0 solid transparent; border-radius: 0px 0px 0 0; } .topbox-alone { border-radius: 0px; } .topbox-bottom { border-radius: 0 0 0px 0px; text-align: center; } .topbox-bottom td { width: 50%; }