MediaWiki:Mainpage.css

.page-Casualty_Wiki .WikiaPage .WikiaArticle, .page-Template_MainPage-Previous .WikiaPage .WikiaArticle { overflow: visible; }

/* ========== WELCOME ========== */

.mainpage-welcome { background-image: url(https://vignette.wikia.nocookie.net/casualty/images/9/90/BackNoLogo1.jpg); background-size: 100%; background-repeat: no-repeat; background-position: center center; }

.mainpage-tagline { background: #190102; font-size: 14px; line-height: 18px; color: #FFFFFF; width: 100%; text-align: center; padding: 5px 0; }

.mainpage-tagline p { margin: 0; }

.mainpage-tagline a { color: #FFFFFF; }

/* ========== STATISTICS ========== */

.mainpage-statistics { background: #370205; width: 100%; overflow: auto; margin-bottom: 10px; }

.mainpage-statistics .part { width: calc(100% / 3); text-align: center; color: #FFFFFF; display: inline-block; margin: 0; padding: 13px 0 10px 0; line-height: 12px; }

.mainpage-statistics .part:nth-child(2) { background: #310204 !important; }

.mainpage-statistics .part p { margin: 0; }

.mainpage-statistics a { color: #FFFFFF; }

.mainpage-statistics #text { display: none !important; }

/* ========== WELCOME ========== */

.mainpage-latest-episode { width: 100%; height: 150px; margin-bottom: 10px; }

.mainpage-latest-episode .image { width: 267px; display: inline-block; height: inherit; background-image: url(https://vignette.wikia.nocookie.net/casualty/images/1/1e/3338RubyConvincesDaniToOpenDoor.jpg/revision/latest); background-size: contain; }

.mainpage-latest-episode .image:after { display: none !important; }

.mainpage-latest-episode .info { width: calc(100% - 282px); margin-left: 10px; background: #000421; display: inline-block; height: inherit; position: absolute; }

.mainpage-latest-episode .info .container { padding: 15px; }

.mainpage-latest-episode .info .container .headline, .mainpage-latest-episode .info .container .headline a { font-size: 36px; color: #FFFFFF; font-weight: bold; margin-bottom: 10px; line-height: 36px; }

.mainpage-latest-episode .info .container .desc, .mainpage-latest-episode .info .container .desc a { color: #FFFFFF; }

/* ========== FEATURED ARTICLE ========== */

span.mw-headline img { vertical-align: unset !important; }

/* ========== HOLBY CITY WIKI ========== */

.mainpage-holbycity { background-image: url(https://vignette.wikia.nocookie.net/holby/images/7/79/BackNoLogo.jpg); background-size: 250%; background-repeat: no-repeat; background-position: center center; }

/* ========== COUNTDOWN ========== */ .mainpage-countdown { background-color: #000000; background-image: url(https://ichef.bbci.co.uk/images/ic/1920x1080/p07dd37l.jpg); background-size: 100%; background-repeat: no-repeat; background-position: center top; padding-top: 70px; overflow: auto; }

.mainpage-countdown .container { background-image: -moz-linear-gradient(center top, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 70%) !important; background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(0%, rgba(0,0,0,0)), color-stop(70%, rgba(0,0,0,1))) !important; padding: 10px; color: #FFFFFF; text-shadow: 2px 2px 5px #000000; }

.mainpage-countdown .container a { color: #FFFFFF; }

/* ========== ACTION LINE ========== */ .mainpage-actionline { background-image: url(https://vignette.wikia.nocookie.net/casualty/images/8/8a/BBCactionlineback2.jpg); background-size: 100%; background-repeat: no-repeat; background-position: center top; }

/* ========== SERIES NAVIGATION ========== */ .mainpage-series { width: 100%; margin-bottom: 7px; }

.mainpage-series p { margin: 0; font-size: 0; display: flex; justify-content: space-between; flex-wrap: wrap; }

.mainpage-series p a { width: calc(100% / 3 - 2px); background: #000421; color: #FFFFFF; text-align: center; font-size: 12px; font-weight: bold; display: inline-block; line-height: 28px; margin-bottom: 3px; transition: background 0.3s;

}

.mainpage-series p a:hover { text-decoration: none; background: #001087; transition: background 0.3s; }

/* ========== CROSSOVER ========== */

.mainpage-crossover { width: calc(100% - 2px) !important; border: 1px solid #CCCCCC; margin-bottom: 10px; }

.mainpage-crossover .center * { width: inherit !important; }

.mainpage-crossover img { width: inherit !important; height: auto !important; } /* ==========                 ========== */

.mainpage-prevnext { margin: 0; font-size: 0; display: flex; justify-content: space-between; flex-wrap: wrap; }

/* ========== PREVIOUS EPISODE ========== */

.mainpage-prevnext .half { width: calc(50% - 15px); border: 1px solid #cccccc; position: relative; display: inline-block; min-height: 550px; }

.mainpage-prevnext .half .date { position: absolute; left: 20px; background: rgba(255,255,255,0.9); top: 10px; padding: 0 10px 0 0; font-size: 16px; font-weight: 600; color: #000; }

.mainpage-prevnext .half .date::after { content: ''; height: 100%; width: 20px; position: absolute; background: rgba(255,255,255,0.9); left: -20px; }

.mainpage-prevnext .half img { width: 100%; height: auto; }

.mainpage-prevnext .half .series { width: 100%; background: #404358; font-size: 16px; line-height: 32px; }

.mainpage-prevnext .half .episode { width: 100%; background: #000421; font-size: 36px; line-height: 68px; margin-left: -10px; padding: 0 10px; position: relative; font-weight: 600; }

.mainpage-prevnext .half .episode::before, .mainpage-prevnext .half .episode::after { width: 0; height: 0; content: ''; position: absolute; bottom: -10px; border-style: solid; }

.mainpage-prevnext .half .episode::before { border-width: 0 10px 10px 0; border-color: transparent #000421 transparent transparent; left: 0px; }

.mainpage-prevnext .half .episode::after { border-width: 10px 10px 0 0; border-color: #000421 transparent transparent transparent; right: 0px; }

.mainpage-prevnext .half .series a, .mainpage-prevnext .half .episode a { color: #ffffff; margin-left: 20px; }

.mainpage-prevnext .half .text { padding: 20px; position: relative; font-size: 16px; }

.mainpage-prevnext .half .text::before { content: ''; width: 100%; background: transparent; position: absolute; top: 0; height: 5px; left: 0; box-shadow: 0 0 10px; margin-top: -5px; z-index: -999999; }

.mainpage-prevnext .half p { margin: 0 !important; }

.mainpage-prevnext .half .iplayer { width: 40%; background: #f54997; font-size: 12px; line-height: 28px; position: absolute; bottom: 68px; right: -10px; padding: 0 10px; text-align: center; }

.mainpage-prevnext .half .iplayer::after { border-width: 10px 10px 0 0; border-color: #910846 transparent transparent transparent; right: 0px; width: 0; height: 0; content: ''; position: absolute; bottom: -10px; border-style: solid; }

.mainpage-prevnext .half .iplayer a { color: #ffffff; font-size: 12px !important; line-height: 28px; padding: 0 10px !important; }

.mainpage-prevnext .half .view-article { width: 40%; background: #000421; font-size: 12px; line-height: 28px; position: absolute; bottom: 20px; right: -10px; padding: 0 10px; text-align: center; }

.mainpage-prevnext .half .view-article::after { border-width: 10px 10px 0 0; border-color: #000421 transparent transparent transparent; right: 0px; width: 0; height: 0; content: ''; position: absolute; bottom: -10px; border-style: solid; }

.mainpage-prevnext .half .view-article a { color: #ffffff; }

/* LICENSES - based on tardis.fandom.com */ background-color: transparent; border: 1px solid #cccccc; margin: auto; padding: .5em 1em; width: 80%; line-height: 110%; font-size: 95%; text-align: left; }
 * 1) license {