User:RB1196/common.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://raw.githack.com/newwikiorder/fandom-modules/master/dist/master.css");

/* --- Global variables --- */


 * root {

/* theme colors */ --theme-color: #3d121b; --secondary-color: white; --medium-gray: rgba(255, 255, 255, .4); --module-bg: rgba(0, 0, 0, .7); --module-bg-secondary: rgba(255, 255, 255, .1); --module-fg: rgba(255, 255, 255, .7); }

/* --- Portal templates --- */

.portal { width: 100%; padding: 30px; box-sizing: border-box; background-color: var(--module-bg); background-position: center center; background-repeat: no-repeat; background-size: 100%; /* fallback */ background-size: cover; 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:before, .portal:after { content: ''; height: 85px; width: 100%; position: absolute; left: 0; z-index: 0; }

.portal:before { top: 0; background-image: linear-gradient(rgba(0, 0, 0, .4) 0%, transparent 100%); }

.portal:after { bottom: 0; background-image: linear-gradient(transparent 0%, rgba(0, 0, 0, .4) 100%); }

.portal.welcome:before, .portal.navigation:before, .portal.fa:before, .portal.news:before, .portal.forums:before { background-image: linear-gradient(rgba(0, 0, 0, .8) 0%, transparent 100%); }

.portal.welcome:after, .portal.navigation:after, .portal.fa:after, .portal.news:after, .portal.forums:after { background-image: linear-gradient(transparent 0%, rgba(0, 0, 0, .4) 100%); }

.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; }

.navigation .portal__overlay, .fa .portal__overlay, .news .portal__overlay, .forums .portal__overlay { background-color: rgba(0, 0, 0, 0.60); }

.welcome .portal__overlay { background-color: rgba(72, 63, 38, 0.55); }

.portal.welcome.bg--1 { background-image: url('//vignette.wikia.nocookie.net/infamous/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.inFAMOUS, .portal__content .preloader--1 { background-image: url('//vignette.wikia.nocookie.net/infamous/images/f/f4/InFAMOUS_promo.jpg/revision/latest/scale-to-width-down/600'); background-position: center top; }

.portal.inFAMOUS_2, .portal__content .preloader--2 { background-image: url('//vignette.wikia.nocookie.net/infamous/images/4/41/InFAMOUS_2_promo.jpg/revision/latest/scale-to-width-down/600'); background-position: center top; }

.portal.Festival_of_Blood, .portal__content .preloader--2 { background-image: url('//vignette.wikia.nocookie.net/infamous/images/c/ca/Festival_of_Blood_promo.jpg/revision/latest/scale-to-width-down/600'); background-position: center top; }

.portal.Second_Son, .portal__content .preloader--3 { background-image: url('//vignette.wikia.nocookie.net/infamous/images/1/1d/Second_Son_promo.jpg/revision/latest/scale-to-width-down/600'); background-position: center top; }

.portal.First_Light, .portal__content .preloader--4 { background-image: url('//vignette.wikia.nocookie.net/infamous/images/a/a9/First_Light_promo.jpg/revision/latest/scale-to-width-down/600'); background-position: center top; }

.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: 16px; text-transform: lowercase; }

.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: 15px 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: 300px; }

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__slide__image { display: table; float: left; height: 100%; margin-right: 50px; }

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

.portal__content__slide__content { column-count: 3; column-fill: auto; height: 100%; }

.portal__content__slide__content__header { font-weight: bold; }

.portal__content__slide__content ul { list-style: none !important; margin: 0; }

.portal.news { background-image: url('//vignette.wikia.nocookie.net/infamous/images/0/03/InFAMOUS™_Second_Son_20140401195449.jpg/revision/latest/scale-to-width-down/600'); }

.portal.forums { background-image: url('//vignette.wikia.nocookie.net/infamous/images/f/f9/Forum_feed_background.png/revision/latest/scale-to-width-down/600'); }

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

.portal.fa.option--1 { background-image: url('//vignette.wikia.nocookie.net/infamous/images/b/b1/Cole_MacGrath_promo.jpg/revision/latest/scale-to-width-down/800?cb=20190402123116'); background-position: center top; }

.portal.fa.option--2 { background-image: url('//vignette.wikia.nocookie.net/infamous/images/8/8e/Conduits_promo.jpg/revision/latest/scale-to-width-down/800?cb=20190402131054'); }

.portal.fa.option--3 { background-image: url('//vignette.wikia.nocookie.net/infamous/images/7/75/First_sons.jpg/revision/latest/scale-to-width-down/800?cb=20181101205609'); }

.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='ActionAdventureFooter'] { background-image: url('https://vignette.wikia.nocookie.net/infamous/images/b/bb/Cole_MacGrath_footer_render.png/'); background-position: center; background-size: contain; background-repeat: no-repeat; box-sizing: border-box; padding: 103px; }

.games-footer a[title='w:c:infamous'] { font-weight: bold; color: var(--hue-black); text-decoration: none; }