MediaWiki:Mainpage.css

/* Mainpage Boxes Core Designs */ .mp-content-box { background: #efefef !important; border-radius: 35px !important; margin: 60px auto 20px !important; padding: 40px 25px 25px !important; position: relative !important; } .mp-content-box-h { background: linear-gradient(90deg, #8fd87d 0, #24ccaa 80%); border-radius: 35px; color: white; text-align: center; font-family: Roboto,Lato,Helvetica; font-size: 24pt !important; font-weight: 400; line-height: 40px !important; padding: 10px 25px !important; position: absolute !important; left: 0; margin-left: auto; margin-right: auto; right: 0; top: -30px !important; min-width: 225px !important; max-width: fit-content !important; } .mp-content-box-h a { color: white; text-decoration: none !important; } /* Mainpage Welcome Box */ .mp-box-welcome { background: radial-gradient(circle,rgba(0,0,0,0.69) 0,rgba(0,0,0,0.8) 50%),url(https://vignette.wikia.nocookie.net/pokemongo/images/b/b8/Anniversary_Artwork_2019.png/revision/latest?cb=20190628130846) no-repeat center center !important; border-radius: 35px; box-shadow: inset 0 0 100px 25px rgba(0,0,0,0.55); padding: 10px 40px; color: white; font-family: Lato; margin: 10px auto; } .mp-box-welcome-h { color: white; text-align: center !important; font: 400 48px Roboto !important; text-transform: uppercase; padding: 15px 25px; border-radius: 50px; margin: 0 auto; max-width: fit-content !important; background: transparent; } .mp-box-welcome a, .mp-box-welcome b { color: #149aa0 !important; } .mp-box-welcome .mp-box-links { margin: 15px auto 0px; border-top: solid 2px rgba(255,255,255,0.4); text-align: center; padding-top: 10px; } .mp-box-welcome .mp-link { display: inline-block; margin: 0 10px; padding: 5px; } /* Mainpage Slider */ .mainpage-slider .wikiaPhotoGallery-slider-body { background: transparent; border-radius: 25px; height: 360px !important; width: 585px !important; } .mainpage-slider .wikiaPhotoGallery-slider { height: 360px !important; width: 585px !important; margin: auto !important; top: 0 !important; } .mainpage-slider .wikiaPhotoGallery-slider-body .horizontal .wikiaPhotoGallery-slider-0 .nav { right: 202px; } .mainpage-slider .wikiaPhotoGallery-slider-body .horizontal .wikiaPhotoGallery-slider-1 .nav { right: 106px; } .mainpage-slider .wikiaPhotoGallery-slider-body .horizontal .wikiaPhotoGallery-slider-2 .nav { right: 10px; } .mainpage-slider .wikiaPhotoGallery-slider-body .horizontal .wikiaPhotoGallery-slider-3 .nav { display: none; } .mainpage-slider .wikiaPhotoGallery-slider-body .horizontal .nav img { border-radius: 25px; border: 0; margin-bottom: 10px; opacity: 0.75; } .mainpage-slider .wikiaPhotoGallery-slider-body .horizontal .nav.selected img { opacity: 1; } .mainpage-slider .description-background { background: black !important; height: 85px !important; opacity: 0.5 !important; } .mainpage-slider .description { margin: 10px 5px !important; } .mainpage-slider .description h2 { color: #c9efa9 !important; text-shadow: none !important; width: 350px !important; } .mainpage-slider .description .wikia-button { display: none; } /* Contents Box */ .mp-content-box#Contents { background: radial-gradient(circle, rgba(0, 0, 0, 0.4) 0, rgba(0, 0, 0, .7) 50%), url("https://pokemongolive.com/img/global/bg.jpg") no-repeat center center fixed !important; } .content-item { background: rgba(0, 0, 0, 0) !important; margin: 10px auto; padding: 10px; text-align: center; } .content-item-header { color: white; font-family: Roboto; font-size: 26px; line-height: 30px; font-weight: 100 !important; text-transform: uppercase; text-align: center; padding: 10px 0; border-bottom: solid 2px rgba(255,255,255,0.4); margin: 0 auto; } .content-item-header a { color: white !important; text-decoration: none !important; } .page-item { display: inline-block; margin: 10px; } .page-item a { color: white !important; } /* Events Box */ .mp-content-box#Events { background: radial-gradient(circle, rgba(0, 0, 0, 0.1) 0, rgba(0, 0, 0, .7) 50%), url("https://pokemongolive.com/img/global/bg.jpg") no-repeat center center fixed !important; } .page-Current_events .mp-content-box#Events { margin-top: 15px !important; } .event-item { background: rgba(0, 0, 0, 0.5) !important; border-radius: 35px; box-shadow: inset 0 0 100px 25px rgba(0, 0, 0, 0.55); cursor: default; margin: 20px auto; padding: 10px 15px; } .mp-content-box .event-item:nth-child(2n+1) { background: rgba(12, 72, 84, 0.4) !important; } .mp-content-box#Events .event-item:first-child { margin-top: 0 !important; } .mp-content-box#Events .event-item:last-child { margin-bottom: 0 !important; } .event-item-header { color: white; font-family: Roboto; font-size: 26px; line-height: 30px; font-weight: 100 !important; text-transform: uppercase; text-align: center; padding: 10px 0; border-bottom: solid 2px rgba(255,255,255,0.4); margin: 10px auto; } .event-item-header a { color: white !important; } .event-item-time { color: white; padding: 5px; } .event-item-desc { color: white; padding: 5px; } .event-item-time a, .event-item-time b, .event-item-desc a, .event-item-desc b { color: #149aa0 !important; } .event-item-bonuses { color: white; padding: 5px; } .event-item-bonuses-header { font-family: Roboto; font-size: 16px; font-weight: bold; text-align: center; } .event-item-bonuses .mw-collapsible-toggle { cursor: pointer; display: block; float: none; position: relative; } .event-item-bonuses .mw-collapsible-toggle-collapsed { transform: rotate(0deg); transition: 0.2s; } .event-item-bonuses .mw-collapsible-toggle-expanded { transform: rotate(0deg); transition: 0.2s; } .event-item-bonuses .mw-collapsible-toggle img { cursor: pointer; top: 0; margin-top: auto; margin-bottom: auto; bottom: 0; right:0; position: absolute !important; } .event-item-bonuses .mw-collapsible-toggle img, .event-item-bonuses .mw-collapsible-toggle-expanded img { transform: rotate(90deg) !important; transition: 0.2s; } .event-item-bonuses .mw-collapsible-toggle-collapsed img { transform: rotate(-90deg) !important; transition: 0.2s; } .bonus-item { background: white !important; border-radius: 30px !important; box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 2px -2px rgba(0, 0, 0, 0.2); color: #149aa0 !important; margin: 15px auto !important; opacity: 0.9; padding: 3px !important; transition: 0.5s; } .bonus-item:hover { opacity: 1; transition: 0.5s; } .bonus-item a { color: #149aa0 !important; } .bonus-item img { background: #149aa0; border-radius: 30px !important; margin-right: 10px; } /* Current Features Box */ .mp-content-box#Features { margin: 20px auto !important; padding: 25px !important; } .feature-item { text-align: center; } .feature-item-header { border-bottom: solid 2px rgba(0, 0, 0, 0.4); color: black; font-family: Roboto; font-size: 26px; font-weight: 100 !important; line-height: 30px; margin: 0 auto; padding: 10px 0; text-align: center; text-transform: uppercase; } .mp-cd { background: none; border-radius: 35px; height: 250px !important; margin: 0px auto; width: min-content; } .mp-cd-item1 { opacity: 1 !important; overlay: hidden; transition: 0.3s; } .mp-cd-item2 { opacity: 0 !important; position: relative !important; top: -256px !important; transition: 0.3s; } .mp-cd:hover .mp-cd-item1 { opacity: 0 !important; transition: 0.3s; } .mp-cd:hover .mp-cd-item2 { opacity: 1 !important; transition: 0.3s; } /* Random Pages Box */ .mp-content-box#Random_Pages { text-align: center; padding: 40px 20px 20px !important; } .random-item { display: inline-block; } .random-item img { opacity: 0.75 !important; transform: scale(0.9) !important; transition: 0.3s; } .random-item:hover img { opacity: 1 !important; transform: scale(1) !important; transition: 0.3s; } /* Poll Box */ .mp-content-box .ajax-poll { margin: 0 auto !important; padding: 10px 10px 0 !important; border: none !important; } .mp-content-box .pollAnswerVotes { border-radius: 10px !important; } .mp-content-box .pollAnswerVotes { border-radius: 10px !important; } .mp-content-box .pollAnswerVotes div { border-radius: 10px !important; } .mp-content-box .ajax-poll input[value="Vote!"] { background: linear-gradient(90deg, #8fd87d 0, #24ccaa 80%); border: none !important; border-radius: 25px !important; font-size: 105% !important; font-weight: bold; height: 25px; outline: none !important; padding: 3px; width: 60px; } .mp-content-box .ajax-poll input[value="Vote!"]:hover { text-decoration: underline !important; } .mp-content-box .ajax-poll input[value="Vote!"]:active { background: #06496f !important; } /* Chat Box */ .mp-content-box .ChatWidget { margin: 10px auto !important; } .mp-content-box .ChatWidget h2 { display: none !important; } /* Contribute Box */ .mp-content-box-h#H-Contribution { font-size: 24px !important; } .contribute-item-header { color: black; font-family: Roboto; font-size: 26px; line-height: 30px; font-weight: 100 !important; text-transform: uppercase; text-align: center; padding: 10px 0; border-bottom: solid 2px rgba(0,0,0,0.4); margin: 0 auto; } .contribute-item ul { margin: 5px !important; list-style: none !important; } .contribute-item ul li { margin: 20px 0; } /* Hide category navbox from mainpage */ .mainpage .article-categories { display: none; }