MediaWiki:MP.css

/***********************************************************************/ /****************** Navigation portal by User:Tierrie ******************/ /***********************************************************************/ /* container settings */ .lcs-container #portal_slider { margin-right: 7px; box-shadow: 3px 4px 5px #5B5B5B; }

.portal_metro .toc { display: none; }

.portal_container { display: inline-block; position: relative; width: 100%; margin-bottom: 15px; }/**/

/* give all containers a black background so the opacity changes results in a brightness change */ .portal_metro:before { content: ""; position: absolute; top: 0; left: 0; z-index: -2; width: 100%; height: 100%; background-color: rgb(0, 0, 0); }

.portal_metro { border: 1px solid #0038D8; }

.portal_metro .portal_body { overflow: hidden; padding: 0 10px; }/**/

/* pages nested within a slider container should not render borders twice */ .portal_metro .portal_metro { border: none; }

.portal_metro.ui-tabs .ui-tabs-panel { padding: 0; }

.portal_metro#portal_slider .portal_body, .portal_metro#portal_slider { padding: 0; }/**/

/* font title and sliders */ .portal_metro [class^=portal_sliderlink] .portal_slidertext, .portal_metro [class^=portal_sliderlink] .mw-headline, .portal_vtab.ui-tabs-vertical .ui-tabs-panel li a, .portal_vtab.ui-tabs-vertical .ui-tabs-nav li a, .portal_metro .portal_header_text { width: 100%; font-size: inherit; font-weight: normal; font-family: "Segoe UI", Helvetica, Verdana; color: #FFFFFF; line-height: inherit; text-align: left; text-shadow: 0 0 2px rgba(0, 56, 216, 0.5), -1px -1px rgba(0, 56, 216, 0.5), 1px 1px rgba(0, 56, 216, 0.5); }

.portal_metro [class^=portal_sliderlink] .portal_slidertext, .portal_metro [class^=portal_sliderlink] .mw-headline, .portal_vtab.ui-tabs-vertical .ui-tabs-nav li a, .portal_metro .portal_header_text { text-transform: uppercase; }

.portal_metro .portal_header_text { font-size: 2em; padding-top: 15px; }

.portal_metro [class^=portal_sliderlink] { font-size: 1.4em; }/**/

/* portal headers, headerlinks colors and formatting */ .portal_metro .portal_header { position: relative; padding: 0; margin-bottom: 6px; }

.portal_metro .portal_header_text { padding-left: 15px; border-bottom: none; }

.portal_metro .portal_headerlinks { font-size: 0.8em; position: absolute; top: 1em; right: 1em; padding-bottom: 2px; z-index: 1; }

.portal_metro .portal_header a:visited, .portal_metro .portal_header a:active, .portal_metro .portal_header a:hover, .portal_metro .portal_header a:link, .portal_metro .portal_header { color: #CCCCCC; }/**/

/* slider text position */ .portal_metro [class^=portal_sliderlink] .portal_slidertext { position: absolute; left: 10px; bottom: 10px; }

.portal_metro#portal_main .portal_sliderlink-2 .portal_slidertext { display: block; left: 20px; font-size: 1.6em; line-height: 1em; }/**/

/* main slider sizing */ .portal_metro#portal_main [class^=portal_sliderlink] { position: absolute; overflow: hidden; cursor: pointer; }

.portal_vtab.ui-tabs-vertical .ui-tabs-panel, .portal_vtab.ui-tabs-vertical .ui-tabs-nav, .portal_vtab.ui-tabs-vertical, .portal_metro#portal_main { height: 450px; }

.portal_metro#portal_main .portal_sliderlink-2 { width: 100%; }/**/

/* slider background */ .portal_metro#portal_main [class^=portal_sliderlink]:before { content: ""; position: absolute; top: 0; left: 0; z-index: -1; width: 100%; height: 100%; background-color: rgb(0, 0, 0); }

.portal_metro#portal_main [class^=portal_sliderlink]:after { content : ""; display: block; position: absolute; top: 0; left: 0; z-index: -1; width: 100%; height: 100%; background-repeat: no-repeat; opacity: 0.8; }

.portal_metro#portal_main [class^=portal_sliderlink]:hover:after { opacity: 1; }

.portal_metro#portal_main .portal_sliderlink-2 { top: 0; left: 0; height: 450px; }

.portal_metro#portal_main .portal_sliderlink-2:after { background-image: url("https://vignette.wikia.nocookie.net/dresdenfiles/images/e/ec/Portal-Books.jpg"); background-size: cover; }

.portal_metro#portal_main .portal_sliderlink-3 { top: 0; right: 0; height: 75px; }

.portal_metro#portal_main .portal_sliderlink-3:after { background-image: url("https://vignette.wikia.nocookie.net/dresdenfiles/images/7/73/Portal-Characters-thumb.jpg"); }

.portal_metro#portal_main .portal_sliderlink-4 { top: 75px; right: 0; height: 75px; }

.portal_metro#portal_main .portal_sliderlink-4:after { background-image: url("https://vignette.wikia.nocookie.net/dresdenfiles/images/6/68/Portal-Creatures-thumb.jpg"); }

.portal_metro#portal_main .portal_sliderlink-5 { top: 150px; right: 0; height: 75px; }

.portal_metro#portal_main .portal_sliderlink-5:after { background-image: url("https://vignette.wikia.nocookie.net/dresdenfiles/images/8/88/Portal-Magic-thumb.jpg"); }

.portal_metro#portal_main .portal_sliderlink-6 { top: 225px; right: 0; height: 75px; }

.portal_metro#portal_main .portal_sliderlink-6:after { background-image: url("https://vignette.wikia.nocookie.net/dresdenfiles/images/3/3d/Portal-Locations-thumb.jpg"); }

.portal_metro#portal_main .portal_sliderlink-7 { top: 300px; right: 0; height: 75px; }

.portal_metro#portal_main .portal_sliderlink-7:after { background-image: url("https://vignette.wikia.nocookie.net/dresdenfiles/images/e/ea/Portal-TV-thumb.jpg"); }

.portal_metro#portal_main .portal_sliderlink-8 { top: 375px; right: 0; height: 75px; }

.portal_metro#portal_main .portal_sliderlink-8:after { background-image: url("https://vignette.wikia.nocookie.net/dresdenfiles/images/1/1c/Portal-RPG-thumb.jpg"); }/**/

/* slider sub category background */ position: relative; }
 * 1) portal_characters/* should there have been a comma here? */ #portal_creatures,
 * 2) portal_locations,
 * 3) portal_books,
 * 4) portal_magic,
 * 5) portal_main,
 * 6) portal_rpg,
 * 7) portal_tv {

content : ""; display: block; position: absolute; top: 0; left: 0; z-index: -1; width: 100%; height: 100%; background-repeat: no-repeat; }
 * 1) portal_books:after,
 * 2) portal_characters:after,
 * 3) portal_creatures:after,
 * 4) portal_magic:after,
 * 5) portal_locations:after,
 * 6) portal_tv:after,
 * 7) portal_rpg:after {

background-image: url("https://vignette.wikia.nocookie.net/dresdenfiles/images/e/ec/Portal-Books.jpg"); background-size: cover; }
 * 1) portal_books:after {

background-image: url("https://vignette.wikia.nocookie.net/dresdenfiles/images/5/57/Portal-Characters.jpg"); background-size: cover; }
 * 1) portal_characters:after {

background-image: url("https://vignette.wikia.nocookie.net/dresdenfiles/images/f/fc/Portal-Creatures.jpg"); background-size: cover; }
 * 1) portal_creatures:after {

background-image: url("https://vignette.wikia.nocookie.net/dresdenfiles/images/4/4e/Portal-Magic.jpg"); background-size: cover; }
 * 1) portal_magic:after {

background-image: url("https://vignette.wikia.nocookie.net/dresdenfiles/images/d/df/Portal-Locations.jpg"); background-size: cover; }
 * 1) portal_locations:after {

background-image: url("https://vignette.wikia.nocookie.net/dresdenfiles/images/3/39/Portal-TV.jpg"); background-size: cover; }
 * 1) portal_tv:after {

background-image: url("https://vignette.wikia.nocookie.net/dresdenfiles/images/3/38/Portal-RPG.jpg"); background-size: cover; } .portal_metro#portal_slider .portal_navlink { display: none; }
 * 1) portal_rpg:after {

.portal_metro#portal_slider { position: relative; }

.portal_metro#portal_slider .portal_navlink { display: block; position: absolute; bottom: 8px; left: 8px; z-index: 2; }

.portal_metro#portal_slider .portal_navlink img { opacity: 0.7; }

.portal_metro#portal_slider .portal_navlink img:hover { opacity: 1; }

.portal_metro#portal_slider .portal_header { position: absolute; right: 10px; width: 100px; height: 50px; }

.portal_metro#portal_slider .portal_vtab.ui-tabs-vertical { padding: 0; } .portal_metro#portal_slider .portal_vtab.ui-tabs-vertical .ui-tabs-nav { border: none; }

.portal_metro#portal_slider .portal_vtab.ui-tabs-vertical .ui-tabs-panel { position: absolute; top: 0; left: 200px; }

.portal_metro#portal_slider .portal_vtab.ui-tabs-vertical .ui-tabs-nav { float: left; width: 200px; padding: 0; }

.portal_metro#portal_slider .portal_vtab.ui-tabs-vertical .ui-tabs-nav li { top: 0; width: 100%; border-right-width: 0 !important; border-bottom-width: 1px !important; margin: 0; clear: left; cursor: pointer; }

.portal_metro#portal_slider .portal_vtab.ui-tabs-vertical .ui-tabs-nav li.ui-tabs-selected { padding: 0; }

.portal_metro#portal_slider .portal_vtab.ui-tabs-vertical .ui-tabs-nav li a { display: block; width: 100%; background: none; font-size: 1.2em; white-space: normal; padding: 0.25em 0 .5em 1em; }

.portal_metro#portal_slider .portal_vtab.ui-tabs-vertical .ui-tabs-nav li.ui-tabs-selected a { background: none; cursor: pointer; }

.portal_metro#portal_slider .portal_vtab.ui-tabs-vertical .ui-tabs-nav:after { content: ""; width: 100%; height: 420px; overflow-y: hidden; }

.portal_metro#portal_slider .portal_vtab.ui-tabs-vertical .ui-tabs-nav:before {

}/* Why do we have htis empty rule? */

.portal_metro#portal_slider .portal_vtab.ui-tabs-vertical .ui-tabs-nav li.ui-state-default, .portal_metro#portal_slider .portal_vtab.ui-tabs-vertical .ui-tabs-nav:before, .portal_vtab.ui-tabs-vertical .ui-tabs-nav:after { background-color: rgba(0, 0, 0, 0.6); }

.portal_metro#portal_slider .portal_vtab.ui-tabs-vertical .ui-tabs-nav li.ui-state-active { background-color: transparent; }

.portal_metro#portal_slider .portal_vtab.ui-tabs-vertical .ui-tabs-nav li.ui-state-hover { background-color: transparent; } .portal_metro#portal_slider .portal_vtab.ui-tabs-vertical { width: 100%; }

.portal_metro#portal_slider .portal_vtab.ui-tabs-vertical .ui-tabs-nav li.ui-tabs-active { padding-bottom: 0; border-right-width: 1px; border-right-width: 1px;/* why code legibility is important */ }

.portal_metro#portal_slider .portal_vtab.ui-tabs-vertical .ui-tabs-panel ul { padding: 12px 0 0 5px; margin: 0;/* -webkit-columns: 2; -moz-columns: 2; columns: 2;*/ }

.portal_metro#portal_slider .portal_vtab.ui-tabs-vertical .ui-tabs-panel li { padding: .25em 0 .5em 1em; list-style: none; }

.portal_metro#portal_slider .portal_vtab.ui-tabs-vertical .ui-tabs-panel li a { display: block; font-size: 1.2em; color: rgb(255, 255, 255); }

.portal_metro#portal_slider .portal_vtab.ui-tabs-vertical .ui-tabs-panel h2 { font-size: 1.4em; color: rgb(89, 105, 57); text-transform: uppercase; padding: 1em 0 0 1em; border-bottom: none; margin-top: 0; }

.portal_metro#portal_slider .cols_2 ul { -webkit-columns: 2; -moz-columns: 2; columns: 2; }/**/

/* portal screen wide overrides */ @media screen and (max-width: 1023px) { .portal_metro [class^=portal_sliderlink] { width: 225px; }   .portal_metro#portal_main .portal_sliderlink-2 .portal_slidertext { width: 360px; }   .portal_metro#portal_images .wikia-slideshow-wrapper, .portal_metro#portal_images .wikia-slideshow-images, .portal_metro#portal_images img.thumbimage, .portal_metro#portal_images { height: 280px !important; }   .WikiaRail .module { position: relative; } }

@media screen and (min-width: 1023px) and (max-width: 1650px) { .portal_metro [class^=portal_sliderlink] { width: 225px; }   .portal_metro#portal_main .portal_sliderlink-2 .portal_slidertext { width: 360px; }   .portal_metro#portal_images .wikia-slideshow-wrapper, .portal_metro#portal_images .wikia-slideshow-images, .portal_metro#portal_images img.thumbimage, .portal_metro#portal_images { height: 280px !important; } }

@media screen and (min-width: 1650px) { .portal_metro [class^=portal_sliderlink] { width: 300px; } }/* End navigation portal */

/***********************************************************************/ /************************** Main Page Modules **************************/ /***********************************************************************/ /* Template:MainPageBox */ .MainPageBox { background-color: #D8D2C5; border: 1px solid #0038D8; box-shadow: 3px 3px 5px #888888; color: black; margin: 0 7px 10px 0; padding: 1em; }

.MainPageHeading { border-bottom: 1px solid #0038d8; color: #0038D8; font-family: "Libre Baskerville"; font-size: x-large; font-variant: small-caps; font-weight: bold; text-shadow: 1px 1px 1px #A3A3A3; margin-bottom: 5px; padding-bottom: 5px; text-align: center; }

.MainPageHeading a { color: #0038D8; }

.MainPageBox .wikia-gallery .wikia-gallery-item .gallery-image-wrapper { border: thin solid #0038D8; margin: 1px; transition: 0.2s; }

.MainPageBox .wikia-gallery .wikia-gallery-item .gallery-image-wrapper:hover { box-shadow: 0 0 1em #012E59; }

.mp-note .MainPageHeading { font-size: 20px; }/**/

/* Twins Module */ .MainPageBox.mp-twin .MainPageHeading { display: flex; justify-content: space-evenly; }

.MainPageBox.mp-twin .MainPageBody { display: flex; justify-content: space-between; }

.MainPageBox.mp-twin .embeddable-discussions-heading-container, .MainPageBox.mp-twin .embeddable-discussions-post-actions, .MainPageBox.mp-twin .MainPageBody > p, .MainPageBox.mp-twin #wk_blogs_loader2, .MainPageBox.mp-twin .wk_blogs_pager, .MainPageBox.mp-twin .module > p, .MainPageBox.mp-twin > p { display: none; }/**/

/* Twin — Discussions Feed */ .MainPageBox.mp-twin .module { flex-basis: 49%; flex-direction: row; width: 49%; padding: 0; border: thin solid #9B9B9B; }

.MainPageBox.mp-twin .embeddable-discussions-threads { flex-basis: 100%; display: flex; flex-direction: column; justify-content: space-between; width: 100%; background: #D1CBBE; padding: 0; }

.MainPageBox.mp-twin .embeddable-discussions-post-detail { background: transparent; border: 0; margin: 0; }

.MainPageBox.mp-twin .embeddable-discussions-post-detail:not(:last-child) { padding: 0 0 10px 0; }

.MainPageBox.mp-twin .embeddable-discussions-post-detail:first-child { padding-top: 12px; }

.MainPageBox.mp-twin .embeddable-discussions-title { padding-bottom: 2pt;/* yes, use pt */ }/**/

/* Twin — Blogs */ .MainPageBox.mp-twin .WikiaBlogListing { flex-basis: 49%; display: flex !important;/* override FANDOM’s use of !important */ border: thin solid #9B9B9B; }

.MainPageBox.mp-twin .WikiaBlogListing ul { flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; background: #D1CBBE; }

.MainPageBox.mp-twin .WikiaBlogListing .avatar { width: 30px; height: 30px; border: 2px solid #AEAAA2; border-radius: 100%; box-shadow: none; }

.MainPageBox.mp-twin .WikiaBlogListingPost { padding: 10px 0; border-bottom: none; margin: 0; }

.MainPageBox.mp-twin .WikiaBlogListingPost:first-child { padding-top: 10px; margin-top: 2px; }

.MainPageBox.mp-twin .commentslikes { top: inherit; bottom: 8px; }

.MainPageBox.mp-twin .author-details { display: flex; flex-direction: column; margin: 0 0 0 45px; }

.MainPageBox.mp-twin .author-details h2 { order: 2; display: inline; font-size: 14px; font-weight: bold; margin: 7px 0 0 -45px; }

.MainPageBox.mp-twin .author-details h2 a { color: inherit; text-decoration: none; }

.MainPageBox.mp-twin .author-details span { display: inline; font-size: 12px; color: #83807A; margin-top: 4px; }

.MainPageBox.mp-twin .author-details span a { font-size: 14px; font-weight: normal; padding-left: 2px; }

.WikiaArticle .MainPageBox.mp-twin p + p { margin: 1em 0 0; }/**/