html { background-color:#2f2e2e; } html, body { margin: 0; padding: 0; } body { width: 100vw; min-height: 100vh; margin: auto; font-family: Verdana; color: #e7e2e2; position: relative; } a { color: #e7e2e2; font-weight: bold; } h1 { font-size: 1.7em; } h2 { text-align: center; } h3 { font-variant: small-caps; } /**** HEADER ****/ header { height:14vh; background: #2f2e2e; display: flex; justify-content: space-between; } header img { display: flex; align-items: flex-start; height: 12.5vh; margin-left: 8vw; margin-top: 0.75vh; } header nav { display: flex; align-items: flex-end; margin-right: 8vw; margin-bottom: 5vh; } header nav ul, header nav ul li { display: inline; padding: 0; margin: 0; list-style-type: none; } header nav ul li a { padding: 0px; margin-left: 3.5vw; color: rgb(202, 207, 208); text-decoration: none; font-size: 1.6em; font-variant: small-caps; } header nav ul li a:hover { color: #ff6b79; } /**** MAIN CONTENT ****/ article { width: 100vw; margin-top: 5vh; } article #container { margin-left: 10vw; margin-right: 10vw; padding: 5px 20px; background: rgba(0, 0, 0, .85); } article #container .companion { float: right; width: 180px; margin-left: 15px; } article #container .top-companion { margin-top: 20px; float: right; width: 250px; margin-left: 25px; margin-right: 25px; } article #container .middle-companion { float: right; width: 250px; margin-left: 25px; margin-right: 25px; } article #container .about { margin-bottom: 3.5%; } article #container .about li { margin-top: 5px; margin-bottom: 5px; } article #container .about li a { margin-top: 5px; margin-bottom: 5px; font-weight: normal; } article #container .about_titles { text-decoration: underline; } /**** GENERATIONS COLOR ****/ .RB1 { background: #FF1111; color: black; padding: 5px; border-radius: 10px 0px 0px 10px; } .RB2 { background: #1111FF; color: white; padding: 5px; border-radius: 0px 10px 10px 0px; } .GS1 { background: #DAA520; color: black; padding: 5px; border-radius: 10px 0px 0px 10px; } .GS2 { background: #C0C0C0; color: black; padding: 5px; border-radius: 0px 10px 10px 0px; } .RS1 { background: #A00000; color: white; padding: 5px; border-radius: 10px 0px 0px 10px; } .RS2 { background: #0000A0; color: white; padding: 5px; border-radius: 0px 10px 10px 0px; } .DP1 { background: #AAAAFF; color: black; padding: 5px; border-radius: 10px 0px 0px 10px; } .DP2 { background: #FFAAAA; color: black; padding: 5px; border-radius: 0px 10px 10px 0px; } .BW1 { background: #444444; color: white; padding: 5px; border-radius: 10px 0px 0px 10px; } .BW2 { background: #E1E1E1; color: black; padding: 5px; border-radius: 0px 10px 10px 0px; } .XY1 { background: #025DA6; color: white; padding: 5px; border-radius: 10px 0px 0px 10px; } .XY2 { background: #EA1A3E; color: black; padding: 5px; border-radius: 0px 10px 10px 0px; } .SM1 { background: #ef9039; color: black; padding: 5px; border-radius: 10px 0px 0px 10px; } .SM2 { background: #589ac8; color: black; padding: 5px; border-radius: 0px 10px 10px 0px; } .SWSH1 { background: #00A1E9; color: black; padding: 5px; border-radius: 10px 0px 0px 10px; } .SWSH2 { background: #BF004F; color: white; padding: 5px; border-radius: 0px 10px 10px 0px; } .RB { border-radius:50%; background: linear-gradient(-45deg, #FF1111 50%, #1111FF 50%); display:block; border: 1px solid white; } .GS { border-radius:50%; background: linear-gradient(-45deg, #DAA520 50%, #C0C0C0 50%); display:block; border: 1px solid white; } .RS { border-radius:50%; background: linear-gradient(-45deg, #A00000 50%, #0000A0 50%); display:block; border: 1px solid white; } .DP { border-radius:50%; background: linear-gradient(-45deg, #AAAAFF 50%, #FFAAAA 50%); display:block; border: 1px solid white; } .BW { border-radius:50%; background: linear-gradient(-45deg, #444444 50%, #E1E1E1 50%); display:block; border: 1px solid white; } .XY { border-radius:50%; background: linear-gradient(-45deg, #025DA6 50%, #EA1A3E 50%); display:block; border: 1px solid white; } .SM { border-radius:50%; background: linear-gradient(-45deg, #ef9039 50%, #589ac8 50%); display:block; border: 1px solid white; } .SWSH { border-radius:50%; background: linear-gradient(-45deg, #00A1E9 50%, #BF004F 50%); display:block; border: 1px solid white; } /**** FOOTER ****/ #content-wrap { padding-bottom: 12vh; /* Footer height */ } footer { bottom:0; background: #2f2e2e; text-align: center; position: absolute; width: 100vw; height: 7vh; display: flex; justify-content: center; align-items: center; } footer p { margin: auto; } /**** POKETEST ****/ article #container #game #configuration { min-width: 200px; max-width: 600px; margin: auto; } article #container #game #configuration input[name="gen"], article #container #game #selected_options input { margin-left: 40px; margin-bottom: 11px; } article #container #game #configuration input[type="checkbox"] { margin-left: 75px; } article #container #game #configuration .first { margin-left: 40px; } article #container #game #configuration select { font-size: 15px; } article #container #game #configuration #selected_options { display: none; margin-top: 10px; padding-top: 10px; } article #container #game #configuration #left_config { float: left; } article #container #game #configuration #right_config { float: right; } article #container #game .button { margin: auto; padding: 20px; padding-top: 30px; clear: both; text-align: center; } article #container input[type=submit] { padding: 10px; border: 2px; border-radius: 15px; background: #e7e2e2; color: #2f2e2e; font-size: 20px; font-weight: bold; cursor: pointer; } article #container input[type=submit]:hover { background: #2f2e2e; color: #e7e2e2; } /**** GAME LAUNCHED ****/ article #container.game_active { height: 68vh; } article #container #top_game { display: flex; justify-content: space-between; height: 8vh; } article #container #top_game .whois { display: flex; align-items: flex-start; } article #container #top_game .chrono { width: 35px; height: 35px; margin-top: 10px; margin-bottom: 0px; padding: 12px 10px 10px 10px; border-radius: 100%; background: #e7e2e2; color: #2f2e2e; text-align: center; } article #container .pokemon { margin: auto; text-align: center; font-size: 2.1em; } article #container .pokemon img { height: 50vh; } article #container .pokemon img.silhouette { filter: contrast(0%) brightness(170%); } article #container #answers { text-align: center; height: 10vh; display: flex; align-items: center; justify-content: center; } article #container #answers input { margin-right: 30px; display: inline; } article #container #answers input:last-child { margin-right: 0px; } article #container #answers .final_answer { font-size: 23px; } article #container #answers .final_answer .good { color:#3ad48d; font-weight:bold; } article #container #answers .final_answer .bad { color: #f85050; font-weight:bold; } /* game end screen */ article #container #score .score-text { margin-top:40px; } article #container #share { width: 200px; margin: auto; margin-top: 8px; margin-bottom: 10px; text-align: center; } article #container #seed { text-align: center; font-size: 22px; font-variant: small-caps; } article #container #seed input { width: 35em; padding-top: 4px; padding-bottom: 4px; border-radius: 5px; background: #e7e2e2; border: #e7e2e2; color: #2f2e2e; text-align: center; font-size: 16px; } article #container #copyseed { float: left; width: 60px; height: 16px; display: block; padding: 10px; padding-top: 4px; padding-bottom: 8px; border-radius: 5px; background: darkcyan; font-size: 15px; font-variant: small-caps; text-decoration: none; cursor:pointer; } article #container #copyseed a { color: white; text-decoration: none; font-weight: bold; } article #container #copyseed:hover { background:lightseagreen; } article #container.diploma { border-style: solid; border-image: url(img/border.png) 64 64 64 62 repeat; border-width: 8px 8px 8px 8px; } article #container.diploma #score { background: url('img/red.png') no-repeat; background-size: 180px; background-position: right bottom; padding: 5px 20px; } /**** FLASHDEX ****/ #game #flashdex_config { margin:auto; max-width:600px; } #game #flashdex_config p { text-align: center; } #game #flashdex_config p a { text-decoration: none; } #game #flashdex_config p label { display: inline-block; margin: 7px; } #game #flashdex_config h2 { text-decoration: underline; font-size: 1.05em; margin-top: 25px; } #game #flashdex_config span.alternate_forms { margin-top: 20px; margin-bottom: 0px; display: block; font-variant: small-caps; font-size: 19px; } #game #flashdex_config p.button { padding: 0px; margin-top: 20px; } #loading { display: block; font-size: 1.5em; text-align: center; margin-top:15px; } #container #game #flashdex { margin:auto; display:inline-block; text-align:center; margin-top:2vh; } #container #game #flashdex .pokedex { width: 250px; height: 285px; border: 1px solid white; padding: 10px; margin: 10px; border-radius: 10px 10px; background-color: rgba(60, 60, 60, 0.9); text-align: center; display: inline-block; position: relative; } #game #flashdex .pokedex img { height: 250px; display: block; margin: auto; } #game #flashdex .pokedex span.name { text-align: center; font-size: 1em; display: block; margin: auto; margin-top: 15px; } span.form { display: block; float: right; width: 25px; height: 25px; background-size: 25px 25px; position: absolute; right: 10px; } span.form.mega { background-image: url('img/icon_mega.png'); } span.form.giga { background-image: url('img/icon_giga.png'); background-color: white; background-position: center; background-size:20px; border-radius:50%; border: 1px solid white; }