@charset "utf-8"; /* Author: JMP File Name: ig_unit_pages.css /* HTML & Body Styles */ html { background-image: url(images/ig_background.jpg); background-attachment: fixed; background-size: cover; } body { display: -webkit-flex; display: flex; flex-flow: row wrap; -webkit-flex-flow: row wrap; width: 85%; background-color: black; margin: auto; } /* Navigation Styles */ nav#landing_pages { width: 100%; } nav#landing_pages ul { background-color: red; display: -webkit-flex; display: flex; flex-flow: row nowrap; -webkit-flex-flow: row nowrap; height: 40px; } nav#landing_pages li { flex: 1 1 auto; text-decoration: none; color: black; padding-left: 30px; } nav ul li a { color: black; } div#strike_force_pages { -webkit-flex: 0 1 350px; flex: 0 1 350px; } nav#strike_force_pages { display: -webkit-flex; display: flex; -webkit-flex: row nowrap; flex: row nowrap; background-color: red; color: gray; padding: 10px; } nav#strike_force_pages > li { flex: 1 1 auto; text-decoration: none; color: gray; margin: auto; } /* Image Styles */ /* Media Queries */ @media only screen and (min-width: 481px) { figure.strike_force_banner > img#banner { display: block; margin: auto; } figure.strike_force_banner > img#symbol { display: none; } figure.strike_force_banner { width: 100%; overflow: hidden; } figure.strike_force_banner > figcaption { background-color: red; color: black; text-align: center; padding-top: 7px; padding-bottom: 25px; } article { -webkit-flex: 3 1 750px; flex: 3 1 750px; } article > div { display: -webkit-flex; display: flex; -webkit-flex-flow: row nowrap; flex-flow: row nowrap; } article > div > figure { flex-flow: 1 1 268px; } article > div > p { flex-flow: 3 1 auto; } } @media only screen and (max-width: 480px) { figure.strike_force_banner > img#banner { display: none; } figure.strike_force_banner > img#symbol { display: block; -webkit-flex-flow: 1 1 auto; flex-flow: 1 1 auto; } figure.strike_force_banner figcaption { display:none; } }