* { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; border-radius: 5px; } html,body { padding: 0; margin: 0; font-family: sans-serif; font-weight: 300; font-size: 14px; text-align: center; background-color: white; color: black; } html.entry, .entry body { overflow: hidden; } .readmore, a { color: #2947f3; } #header { width: 100%; display: block; } #footer { width: 100%; margin: 0; background-image: url(footer.jpg); background-size: cover; background-position: center; } #coda { padding: 10px 0; padding-top: 15px; } #coda a { display: inline-block; font-size: 16px; padding: 5px; border-radius: 4px; background: white; margin: 10px; } #logos { background: rgba(255,255,255,0.2); padding: 20px 0; } #logos img { max-height: 9vh; margin: 5px; } h1, h2, h3 { font-weight: 300; display: block; } h1 span, h2 span, h3 span { background: white; padding: 5px; } h2 { box-shadow: 0 2px 4px rgba(0,0,0,0.2); } .desktop h2:hover { background: #ff0; } /* MODALS */ #about, #entry, #submit { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; background: rgba(105,135,195,0.8); transition: opacity 0.2s; cursor: pointer; } .inner { cursor: default; position: absolute; top: 50%; left: 50%; width: 100vw; height: 100vh; padding: 10px; transform: translate3d(-50%, -50%, 0); background: #fff; overflow-y: scroll; -webkit-overflow-scrolling: touch; } .about #about, .entry #entry, .submit #submit { opacity: 1; pointer-events: auto; } .entry .cell iframe { opacity: 0; pointer-events: none; } /* GRID OF POSTS */ #posts { position: relative; background-image: url(postbg.jpg); background-size: cover; background-position: center center; } .cell { width: 100vw; display: block; position: relative; padding: 20px; text-align: center; } .cell .title { text-transform: uppercase; font-weight: bold; text-align: center; margin: 0 5px 10px 5px; } .cell .title span { font-size: 20px; color: white; padding: 5px; text-shadow: 0 1px 2px #000; } /* SINGLE POST VIEW */ .media { position: relative; width: 100%; } #entry .media { margin-top: 60px; } .media iframe { margin: 10px auto; max-width: 82vw; max-height: 32vh; } .media img { display: block; margin: 10px auto; max-width: 82vw; max-height: 52vh; } .content { padding: 8px; line-height: 1.4; font-size: 15px; background: white; color: black; max-width: 82vw; margin: 0 auto; } #left { position: absolute; top: 2vw; left: 2vw; max-width: 5vw; height: 98%; max-height: 82vh; cursor: pointer; z-index: 2; } #right { position: absolute; top: 2vw; right: 2vw; max-width: 5vw; height: 98%; max-height: 82vh; cursor: pointer; z-index: 2; } .entry #left, .entry #right { display: none; } .readmore { cursor: pointer; text-decoration: underline; } .comments { width: 90vw; margin: 0 auto; margin-bottom: 40px; } /* TESTIMONIALS */ #testimonials { margin-top: 15px; box-shadow: 0 0 20px 0px rgba(0,0,0,0.4); width: 100%; height: 300px; } .testimonial { position: relative; height: 300px; width: 100%; } .testimonial .blurb { position: absolute; top: 50%; left: 50%; transform: translate3d(-50%, -50%, 0); width: 400px; max-width: 90vw; font-style: italic; background: white; padding: 10px 15px; box-shadow: 0 2px 4px rgba(0,0,0,0.2); line-height: 1.5; } .close { top: 0; left: 0; width: 100vw; padding: 5px 0 0 0; display: none; text-align: center; } .close span { display: inline-block; background: black; color: white; padding: 1px 5px 2px 5px; border-radius: 50%; } .entry .close { position: fixed; display: block; } /* MOBILE STYLES */ @media (max-width: 700px) { .cell { display: block; width: 100vw; } #posts { margin: 0; padding: 0; } #testimonials { margin: 0; } }