User:Tim H/Wikia.css

/* --- Dev Wiki imports --- */ @import url('//dev.wikia.com/load.php?mode=articles&articles=MediaWiki:Global_Lua_Modules/NavboxBuilder.css&only=styles'); /* --- Master stylesheet import --- */ @import url("https://cdn.jsdelivr.net/gh/newwikiorder/fandom-modules@latest/dist/master.css");

/* --- Themes.sss navbox stylesheet import --- */ @import '/load.php?articles=MediaWiki:Themes.css&only=styles&mode=articles'; /* --- Global variables --- */
 * root {

/* theme colors */ --theme-color: #352e50; --secondary-color: #dac0eb; /* this should be used for text over a --theme-color background */ --text-color: rgba(255, 255, 255, 0.9); } /* --- Portal templates --- */ .portal { width: 100%; padding: 30px; box-sizing: border-box; background-position: center center; background-repeat: no-repeat; background-size: 100%; /* fallback */ background-size: cover; border-radius: 30px; border: none; font-family: roboto, 'helvetica neue', helvetica, sans-serif; font-weight: 400; color: #fff; position: relative; margin-bottom: 15px; text-shadow: 1px 2px 5px #000; }

.portal.welcome { background-size: 100%; background-position: center; font-weight: normal; }

.portal.welcome a { color: rgba(255, 255, 255, 0.8); }

.portal__overlay { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }

.portal__overlay { background-color: rgb(113, 105, 146, 0.7); border-radius: 30px; }

.portal.welcome.bg--1 { background-image: url('//vignette.wikia.nocookie.net/kingdomhearts/images/1/10/Welcome_background.png/revision/latest/scale-to-width-down/600'); }

.portal a { color: #fff; font-weight: bold; }

.portal.navigation a { font-weight: 400; }

.portal.Kingdom_Hearts, .portal__content .preloader--1 { background-image: url('//vignette.wikia.nocookie.net/kingdomhearts/images/4/43/KH1_background.png/revision/latest/scale-to-width-down/400'); background-position: center top; }

.portal.Kingdom_Hearts_II, .portal__content .preloader--2 { background-image: url('//vignette.wikia.nocookie.net/kingdomhearts/images/e/e3/KH2_background.png/revision/latest/scale-to-width-down/400'); background-position: center top; }

.portal.Kingdom_Hearts_III, .portal__content .preloader--3 { background-image: url('//vignette.wikia.nocookie.net/kingdomhearts/images/d/d8/KH3_background.png/revision/latest/scale-to-width-down/400'); background-position: center top; }

.portal.Spinoffs .portal__content__slide.active { height: 750px; }

.portal__content .preloader { background-repeat: no-repeat; background-position: 1px 1px; }

.portal__wrapper { position: relative; z-index: 1; }

.portal__wrapper span { display: block; text-align: center; }

display: flex; flex-wrap: wrap; justify-content: center; }
 * 1) hub span {

.portal__header { font-size: 25px; font-weight: 700; }

.portal.welcome .portal__header { position: absolute; bottom: 0; right: 0; font-size: 13px; }

.portal.welcome .portal__header:before { content: '(';   display: inline; }

.portal.welcome .portal__header:after { content: ')';   display: inline; }

.portal__content__aux { display: inline-block; position: relative; width: calc(100% / 3); height: auto; margin: 70px 0 70px 0; }

.portal__content__aux:hover img { filter: drop-shadow(1px 1px 5px #fff); }

.portal__content__aux a { cursor: pointer; }

.portal__content__slide { opacity: 0; height: 0; overflow: hidden; transition: opacity .3s ease-in; }

.portal__content__slide.active { opacity: 1; height: 500px; }

span.portal__content__slide__content__header { text-align: left; }

.portal__content__navigator { position: absolute; right: -20px; bottom: 0px; user-select: none; line-height: 0; }

.portal__content__navigator span { display: inline-block; cursor: pointer; color: rgba(255, 255, 255, 0.8); transition: all .15s ease-in; }

.portal__content__navigator .previous, .portal__content__navigator .next { font-size: 85px; font-family: monospace; transform: scale(1, .7); }

.portal__content__navigator .index { position: relative; top: -16px; font-weight: bold; text-transform: uppercase; }

.portal__content__navigator span:hover { color: #fff; text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.4) }

.portal__content__textlink { font-size: 140%; }

.portal__content__slide__image { display: table; float: left; height: 100%; margin-right: 50px; filter: drop-shadow(1px 1px 5px #fff); }

.portal__content__slide__image a { display: table-cell; height: 100%; vertical-align: middle; }

.portal__content__slide__content { column-count: 3; column-fill: auto; height: 90%; margin: 10px 0; }

.portal__content__slide__content__header { font-weight: bold; }

.portal__content__slide__content ul { list-style: none; margin: 0; margin-bottom: 65px; }

.portal__content__category__icon { width: 100px; height: 100px; background-position: center; background-repeat: no-repeat; background-size: 90%; transition: all .15s ease-in; margin: auto; position: relative; filter: brightness(200%); }

.portal__content__category__icon:hover { filter: drop-shadow(1px 1px 5px #fff); }

.portal__content__category__overlay { background-color: rgba(0, 128, 0, 0.4); position: absolute; top: 0; right: 0; bottom: 0; left: 0; }

.portal.help { background-image: url('//vignette.wikia.nocookie.net/kingdomhearts/images/a/a0/Helping_out_background.jpg/revision/latest/scale-to-width-down/400'); }

.portal.fa { min-height: 330px; background-size: 100%; background-position: center; }

.portal.fa.option--1 { background-image: url('//vignette.wikia.nocookie.net/kingdomhearts/images/d/d0/Rapunzel_with_Sora_KHIII.jpg/revision/latest/scale-to-width-down/800'); background-position: center top; }

.portal.fa.option--2 { background-image: url('//vignette.wikia.nocookie.net/kingdomhearts/images/5/58/Heartless_featured_article_image.jpg/revision/latest/scale-to-width-down/800'); }

.portal.fa.option--3 { background-image: url('//vignette.wikia.nocookie.net/kingdomhearts/images/0/09/Organization_XIII_featured_article_image.png/revision/latest/scale-to-width-down/800'); }

.portal.fa .option { display: none; }

.portal.fa.option--1 .option.option--1, .portal.fa.option--2 .option.option--2, .portal.fa.option--3 .option.option--3 { display: block; }

.portal.fa:before, .portal.fa:after { height: 130px; }

.portal.fa .portal__content { position: relative; height: 245px; }

.portal.fa span { text-align: right; }

.portal__content__excerpt { text-align: right; position: absolute; bottom: 0; right: 0; }

.portal__content__excerpt__header { font-size: 27px; margin-bottom: 12px; }

.portal__content__excerpt__content { width: 90%; float: right; }

.portal__content__affiliates { /* overflow-y: scroll; overflow-x: hidden; height: 190px; */ margin-top: 10px; }

.portal__content__affiliates img { width: 100%; height: auto; }

/* --- Games footer --- */ .games-footer > div:first-child { display: block !important; width: 100% !important; box-sizing: border-box; margin: 0 !important; border: 1px solid var(--medium-gray) !important; background-color: var(--hue-white) !important; box-shadow: none !important; border-radius: 4px !important; } .games-footer img[alt='JRPGFooterImage2'] { background-image: url('https://vignette.wikia.nocookie.net/kingdomhearts/images/7/7a/Sora_KHIIIRM.png'); background-position: center; background-size: contain; background-repeat: no-repeat; box-sizing: border-box; padding: 100px; } .games-footer a[title='w:c:kingdomhearts'] { font-weight: bold; color: #000; text-decoration: none; }

/* --- Infobox label background --- */

.portable-infobox .pi-data-label { background-color: var(--secondary-color); }