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, Helvetica !important; font-weight: 300 !important; text-transform: uppercase !important; font-size: 24pt !important; 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; } .mp-content-box-h2 { 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; } .mp-content-box-h2 a { color: black !important; } .mp-content-box hr { border: none !important; border-bottom: 2px solid rgba(255, 255, 255, 0.4) !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/5/5c/Anniversary_Artwork_2020.png/revision/latest?cb=20200707192824) no-repeat center center !important; background-size: 150%!important; box-shadow: inset 0 0 100px 25px rgba(0,0,0,0.55); padding: 10px 40px 60px; color: white; font-family: Lato; margin: 10px auto; border-bottom: 3px solid white; border-radius: 36px 36px 0 0; margin-bottom: 0; } .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; text-align: center; padding: 10px 0; background: #00000070; } .mp-box-welcome .mp-link { display: inline-block; margin: 0 10px; padding: 5px; }

/* Contents and Events Box */ .mp-content-box#Events, .mp-content-box#Contents { background: radial-gradient(circle, rgba(0, 0, 0, 0.4) 0, rgba(0, 0, 0, .7) 50%), url(https://vignette.wikia.nocookie.net/pokemongo/images/f/f8/Pokemon_Go_Live_Background.jpg) no-repeat center center fixed !important; padding: 60px 30px !important; } .mp-content-box#Contents { margin: 0 auto !important; border-bottom: 3px solid white; border-radius: 0 !important; } .mp-content-box#Events { margin: 0 auto 20px !important; border-radius: 0 0 36px 36px !important; padding-bottom: 30px !important; } .mp-content-box#Contents .mp-content-box-h, .mp-content-box#Events .mp-content-box-h { border: 3px solid white; padding: 10px 40px !important; text-transform: uppercase !important; top: -34px !important; }

/** Pokémon Items **/ .mp-pokemon-item { display: inline-block; margin: 30px 10px; padding: 0; transition: 0.5s; position: relative; color: #266378 !important; width:350px; vertical-align: top; } .mp-pokemon-item img { transition: 0.5s; transform: translateZ(0); backface-visibility: hidden; } .mp-pokemon-item:hover img { -webkit-backface-visibility: hidden; -ms-transform: translateZ(0); /* IE 9 */ -webkit-transform: translateZ(0); /* Chrome, Safari, Opera */ transform: translateZ(0); transition: 0.5s; transform: scale(1.09); } .mp-pokemon-item .pokemon-link { -webkit-font-smoothing: subpixel-antialiased; -webkit-backface-visibility: hidden; -ms-transform: translateZ(0); /* IE 9 */ -webkit-transform: translateZ(0); /* Chrome, Safari, Opera */ transform: translateZ(0); backface-visibility: hidden; position: absolute; width: 350px; text-align: center; transition: 0.5s; bottom: -5px; } .mp-pokemon-item .pokemon-link a { -webkit-font-smoothing: subpixel-antialiased; transform: translateZ(0); backface-visibility: hidden; color: white; font-family: Roboto; font-weight: 300; font-size: 34px; text-transform: uppercase; text-decoration: none !important; transition: 0.5s; text-shadow: 0 0 5px rgba(0, 0, 0, 1); } .mp-pokemon-item:hover .pokemon-link { -webkit-font-smoothing: subpixel-antialiased; transform: translateZ(0); backface-visibility: hidden; transform: scale(1.1); transition: 0.5s; } .mp-pokemon-item:hover .pokemon-link a { -webkit-font-smoothing: subpixel-antialiased; transform: translateZ(0); backface-visibility: hidden; transition: 0.5s; } .mp-pokemon-item a[title="Legendary Pokémon"], .mp-pokemon-item a[title="Mythical Pokémon"], .mp-pokemon-item a[title="Mega Evolution"], .mp-pokemon-item a[title="Shiny Pokémon"] { white-space: nowrap; font-size: 30px !important; }

/** Page Items **/ .page-item { display: inline-block; margin: 10px; } .page-item a { color: white !important; font-family: Roboto; font-weight: 300; }

/** Content and Event Items **/ .event-item, .content-item { background: rgba(0, 0, 0, 0); margin: 15px auto; padding: 15px 0; text-align: justify; text-align-last: center; } .event-item-header, .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; } .event-item-header a, .content-item-header a { color: white !important; text-decoration: none !important; } .mp-content-box#Events .event-item:first-child { padding-top: 0 !important; margin-top: 0 !important; } .mp-content-box#Events .event-item:last-child { padding-bottom: 0 !important; margin-bottom: 0 !important; } .event-item-image { margin: 10px auto; } .event-item-image img { border-radius: 36px; } .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: 400; text-align: center; } .event-item-bonuses-content { padding-top: 10px; } .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; }

/* News Feed Box */ .mp-content-box#NewsFeed { text-align: center; padding: 40px 0 0 !important; } .mp-content-box#NewsFeed>p, .mp-content-box#NewsFeed .fb-page { margin: 0 auto !important; } .mp-content-box#NewsFeed .mp-content-box-h2 { background: linear-gradient(90deg,#8fd87d 0,#24ccaa 80%); border-bottom: 0 !important; color: white; margin: -1px auto -1px; }

/* Current Features Box */ .mp-content-box#Features { margin: 20px auto !important; padding: 25px !important; } .feature-item { text-align: center; padding-bottom: 15px; } .feature-item p { margin: 0; } .mp-cd { background: none; border-radius: 35px; height: 150px !important; margin: 0px auto; width: min-content; } .mp-cd-item1 { opacity: 1 !important; overflow: hidden; transition: 0.3s; } .mp-cd-item2 { opacity: 0 !important; position: relative !important; top: -150px !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; }

/* Contribute Box */ .mp-content-box-h#H-Contribution { font-size: 20px !important; } .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; }