MediaWiki: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"); /* --- Global variables --- */
 * root {

/* theme colors */ --theme-color: #bf1835; --secondary-color: #ffadad; --games-rail-items-per-row: 2; --games-rail-item-gap: .3em; /* this should be used for text over a --theme-color background */ --text-color: rgba(255, 255, 255, 0.95); } /* --- Portal templates --- */ .portal { overflow: hidden; margin-bottom: 17px; } .portal + p:not(.show) { display: none; } .portal__header { background-color: var(--theme-color); color: var(--text-color); line-height: 40px; text-align: center; font-weight: bold; font-size: 15px; } .portal__content { box-sizing: border-box; padding: 10px 30px; font-size: 12px; } .portal__content h3 { font-weight: bold !important; } .portal__content .floatright { margin: 15px 0 10px 20px !important; } .portal__content__affiliates { /*overflow-y: scroll; overflow-x: hidden; height: 200px;*/ margin-top: 10px; } .portal__content__affiliates img { width: 100%; height: auto; } /* Portal/aux */ .portal__content span { display: block; text-align: center; } .portal__content .preloader { background-repeat: no-repeat; background-position: 1px 1px; } .portal__content__aux { display: inline-block; position: relative; width: 175px; height: 202px; text-align: center; } .portal__content__aux p a { display: block; font-weight: bold; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; line-height: 25px; transition: color .15s ease-in; color: #999; } .portal__content__aux p a:hover { font-family: var(--theme-font); color: var(--theme-color); cursor: pointer; text-decoration: none; } .portal__content__aux p a .portal__content__aux__link__text { top: 10px; position: relative; color: inherit; background-color: transparent; border: 1px solid transparent; box-shadow: inset 0 0 0 5px transparent; transition: all .15s ease-in; } .portal__content__aux p a:hover .portal__content__aux__link__text { color: #2fffe3; background-color: rgba(47,255,225,0.4); border: 1px solid rgba(255, 255, 255, 0.3); box-shadow: inset 0 0 0 5px #123353; } .portal__content__aux p a .portal__content__aux__link__text:before, .portal__content__aux p a .portal__content__aux__link__text:after { display: block; content: ''; width: 107px; height: 6px; margin: auto; background-color: #123353; position: relative; } .portal__content__aux p a .portal__content__aux__link__text:before { top: -6px; } .portal__content__aux p a .portal__content__aux__link__text:after { bottom: -6px; } .portal__content__aux__icon { width: 140px; height: 140px; background-position: center; background-repeat: no-repeat; background-size: 90%; background-color: rgba(216, 232, 249, 0.25); border: 1px solid rgba(176, 240, 247, 0.5); transition: all .15s ease-in; margin: auto; } a:hover .portal__content__aux__icon { border: 1px solid #2fffe3; background-color: rgba(47, 255, 225, 0.4); } .portal__content__aux__icon--Characters { background-image: url('//vignette.wikia.nocookie.net/spidermanps4/images/4/41/Characters_portal.png'); } .portal__content__aux__icon--Organizations { background-image: url('//vignette.wikia.nocookie.net/spidermanps4/images/8/80/Organizations_portal.png/revision/latest?cb=20181013223924'); } .portal__content__aux__icon--Locations { background-image: url('//vignette.wikia.nocookie.net/spidermanps4/images/4/4a/Locations_portal.png'); } .portal__content__aux__icon--Gadgets { background-image: url('//vignette.wikia.nocookie.net/spidermanps4/images/4/41/Gadgets_portal.png'); } .portal__content__aux__icon--Enemies { background-image: url('//vignette.wikia.nocookie.net/spidermanps4/images/1/1a/Enemies_portal.png/revision/latest?cb=20181013223941'); } .portal__content__aux__icon--Missions { background-image: url('//vignette.wikia.nocookie.net/spidermanps4/images/4/42/Missions_portal.png/revision/latest?cb=20180806205004'); } /* --- Action-Adventure 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 a[title='w:c:spidermanps4'] { font-weight: bold; color: #000; text-decoration: none; } .games-footer img[alt='ActionAdventureFooter'] { background-image: url('https://vignette.wikia.nocookie.net/spidermanps4/images/1/17/Spider-Man_symbol.png/'); background-position: center; background-size: contain; background-repeat: no-repeat; box-sizing: border-box; padding: 103px; } /* Re-sizing of section headers */ .WikiaArticle h2 { font-size: 22px; } .WikiaArticle h3 { font-size: 19px; } .WikiaArticle h4 { font-size: 17px; }