.content_hidden {
display: none;
}
.content_disable-scroll {
overflow: hidden;
}
.content_body {
position: relative;
padding: 0 8vw;
background-color: #ededed;
margin: 0 auto;
}
.content_main-container {
max-width: 1500px;
position: relative;
display: block;
width: 100%;
min-height: 100%;
font-family: ‘Roboto’, sans-serif;
margin: 0 auto;
}
.content_header-container {
text-align: center;
padding: 20px 0 10px 0;
}
.content_header-logo {
image-rendering: -webkit-optimize-contrast;
display: block;
margin: 0 auto;
width: 20vw;
max-width: 250px;
}
.content_header-title {
position: relative;
display: block;
width: 100%;
max-width: 700px;
margin: 20px auto;
image-rendering: -webkit-optimize-contrast;
}
.content_header-copy {
font-weight: 100;
margin: 10px auto 0 auto;
font-size: 20px;
line-height: 30px;
/* max-width: 50vw; */
max-width: 840px;
}
.mobile-blurb {
display: none;
}
.content_desktop-header-copy {
display: inline;
}
.content_mobile-header-copy {
display: none;
}
.content_flip-card-container {
position: relative;
display: block;
margin: 18px 0;
width: 31%;
}
.content_wide-card {
width: 65.5%;
/*height: 22vw;*/
aspect-ratio: 2.099999/1;
}
.content_square {
aspect-ratio: 1;
}
.content_flipper {
position: relative;
width: 100%;
height: 100%;
-webkit-transition: .6s ease-in;
-webkit-transform-style: preserve-3d;
-moz-transition: .6s ease-in;
-moz-transform-style: preserve-3d;
-o-transition: .6s ease-in;
-o-transform-style: preserve-3d;
transition: .6s ease-in;
transform-style: preserve-3d;
}
.content_grid-container {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
width: 100%;
}
.content_grid-item {
display: flex;
flex: 1;
flex-grow: 0;
flex-shrink: 0;
justify-content: center;
align-items: center;
flex-basis: 31%;
position: relative;
height: 100%;
cursor: pointer;
}
.content_grid-item-1 {
flex-basis: 65.5%;
}
.content_flipped {
-webkit-transform: rotateY(180deg);
-moz-transform: rotateY(180deg);
-o-transform: rotateY(180deg);
transform: rotateY(180deg);
}
.content_front, .content_back {
background-position: center;
background-repeat: no-repeat;
background-size: cover;
-webkit-backface-visibility: hidden;
-moz-backface-visibility: hidden;
-o-backface-visibility: hidden;
backface-visibility: hidden;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: inherit;
/*image-rendering: -webkit-optimize-contrast;*/
}
.content_front {
z-index: 2;
}
.content_front img, .content_back img {
width: 100%;
height: 100%;
display: block;
}
.content_back {
-webkit-transform: rotateY(180deg);
-moz-transform: rotateY(180deg);
-o-transform: rotateY(180deg);
transform: rotateY(180deg);
}
.content_grid-item-video {
width: 100%;
}
.content_grid-link {
/*width: 100%;
height: 100%;
display: block;*/
text-decoration: none;
}
.content_front-copy-container, .content_back-copy-container, .content_modal-copy-container {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
text-align: center;
width: 70%;
height: 100%;
font-family: ‘Roboto’, sans-serif;
}
.content_modal-copy-container {
width: 100%;
}
.content_modal-copy-container p {
font-size: 5vw;
line-height: 5vw;
}
/*.content_modal-copy-container p:nth-child(1) {
font-size: 5vw;
line-height: 5vw;
}*/
/*.content_modal-copy-container p:nth-child(2) {
font-size: 4vw;
line-height: 4.2vw;
margin: 20px auto;
}
.content_modal-copy-container p:nth-child(3) {
line-height: 2.8vw;
}
.content_modal-copy-container p:nth-child(3) span {
font-size: 2.6vw;
}*/
.content_back-copy {
font-weight: 100;
font-size: 18px;
line-height: 22px;
color: #fff;
}
.content_quote-link {
width: 100%;
height: 100%;
position: absolute;
left: 0;
}
.content_back-cta {
text-transform: uppercase;
border-bottom: 1px solid #fff;
width: fit-content;
/* margin: 0 auto; */
text-decoration: none;
top: 50%;
transform: translate(-50%,-50%);
position: absolute;
text-align: center;
left: 50%;
white-space: nowrap;
}
.content_shop-quote {
bottom: 0;
left: 50%;
transform: translateX(-50%);
position: absolute;
text-transform: uppercase;
text-decoration: underline;
font-size: 12px;
line-height: 14px;
font-weight: 100;
margin-bottom: 15px;
white-space: nowrap;
color: #fff;
}
.content_quote {
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
position: absolute;
margin: 0;
white-space: nowrap;
}
.content_name-title {
line-height: 16px;
position: absolute;
bottom: 0;
margin: 0 auto 15px auto;
left: 50%;
transform: translateX(-50%);
width: 100%;
}
.content_name {
text-transform: uppercase;
font-weight: bold;
font-size: 12px;
line-height: 14px;
letter-spacing: 1px;
}
.content_title {
font-size: 12px;
line-height: 14px;
}
.content_back-copy-link {
text-transform: uppercase;
text-underline-offset: 2px;
font-size: 15px;
font-weight: 100;
color: #000;
white-space: nowrap;
text-decoration: underline;
}
.content_front-grid-1 {
background-image: url(‘https://embeds.whowhatwear.com/310359/tile-1-front-desktop.png’);
}
.content_back-grid-1 {
background-image: url(‘https://embeds.whowhatwear.com/310359/tile-1-back-desktop.png’);
}
.content_front-grid-2 {
background-image: url(‘https://embeds.whowhatwear.com/310359/tile-2-front.png’);
}
/* .content_back-grid-2 {
background-image: url(‘https://embeds.whowhatwear.com/310359/tile-2-back.png’);
} */
.content_front-grid-3 {
background-image: url(‘https://embeds.whowhatwear.com/310359/tile-3-front.png’);
}
.content_back-grid-3 {
background-image: url(‘https://embeds.whowhatwear.com/310359/tile-3-back.png’);
}
.content_front-grid-4 {
background-image: url(‘https://embeds.whowhatwear.com/310359/tile-4-front.jpg’);
}
/* .content_back-grid-4 {
background-image: url(‘https://embeds.whowhatwear.com/310359/tile-4-back.png’);
} */
.content_front-grid-5 {
background-image: url(‘https://embeds.whowhatwear.com/310359/tile-5-front.png’);
}
.content_back-grid-5 {
background-image: url(‘https://embeds.whowhatwear.com/310359/tile-5-back.png’);
}
.content_front-grid-6 {
background-image: url(‘https://embeds.whowhatwear.com/310359/tile-6-front.png’);
}
/* .content_back-grid-6 {
background-image: url(‘https://embeds.whowhatwear.com/310359/tile-6-back.png’);
} */
/* .content_front-grid-7 {
background-image: url(‘https://embeds.whowhatwear.com/310359/tile-7-front.png’);
} */
/* .content_back-grid-7 {
background-image: url(‘https://embeds.whowhatwear.com/310359/tile-7-back.png’);
} */
.content_front-grid-8 {
background-image: url(‘https://embeds.whowhatwear.com/310359/tile-8-front.png’);
}
/* .content_back-grid-8 {
background-image: url(‘https://embeds.whowhatwear.com/310359/tile-8-back.png’);
} */
.content_modal-container {
z-index: 5;
background-color: rgba(0, 0, 0, .5);
position: fixed;
width: 100vw;
height: 100%;
top: 0;
left: 0;
}
.content_modal {
position: relative;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 80vw;
height: 80vw;
border: 1px solid transparent;
}
.content_modal-copy {
margin: 20px 0;
font-weight: 100;
font-size: 3.3vw;
line-height: 4.6vw;
color: #000;
}
.content_modal-link {
font-size: 18px;
font-weight: 100;
text-transform: uppercase;
text-underline-offset: 2px;
text-decoration: underline;
color: #000;
}
.content_close-modal {
position: absolute;
top: 15px;
right: 15px;
cursor: pointer;
font-family: ‘Roboto’, sans-serif;
color: #000;
z-index: 1;
font-size: 20px;
margin: 0;
}
.content_hide-mobile {
display: block;
}
.content_hide-desktop {
display: none;
}
@media only screen and (min-width: 812px) {
.content_hover:hover .content_flipper {
-webkit-transform: rotateY(180deg);
-moz-transform: rotateY(180deg);
-o-transform: rotateY(180deg);
transform: rotateY(180deg);
}
}
/*@media screen and (min-width: 1200px) {
.content_back-copy {
font-size: 18px;
line-height: 22px;
}
}*/
@media screen and (min-width: 1640px) {
.content_back-copy {
font-size: 20px;
line-height: 24px;
}
.content_shop-quote, .content_name {
font-size: 14px;
line-height: 16px;
}
}
@media only screen and (max-width: 1100px) {
.content_back-copy {
font-size: 1.7vw;
line-height: 1.9vw;
}
.content_name-title {
line-height: 16px;
}
}
@media only screen and (max-width: 812px) {
.content_hide-mobile {
display: none;
}
.content_hide-desktop {
display: block;
}
.content_wide-card {
width: 100% !important;
}
.content_header-container {
padding: 35px 0;
}
.content_front-grid-1 {
background-image: url(‘https://embeds.whowhatwear.com/310359/tile-1-front-desktop.png’);
}
/* .content_back-grid-1 {
background-image: url(‘https://embeds.whowhatwear.com/310359/tile-1-back-mobile.png’);
} */
/* .content_front-grid-2 {
background-image: url(‘https://embeds.whowhatwear.com/310359/tile-2-front.png’);
}
.content_back-grid-2 {
background-image: url(‘https://embeds.whowhatwear.com/310359/tile-2-back.png’);
} */
.content_front-grid-3 {
background-image: url(‘https://embeds.whowhatwear.com/310359/tile-3-front.png’);
}
/* .content_back-grid-3 {
background-image: url(‘https://embeds.whowhatwear.com/310359/tile-3-back.png’);
}
.content_front-grid-4 {
background-image: url(‘https://embeds.whowhatwear.com/310359/tile-4-front.png’);
}
.content_back-grid-4 {
background-image: url(‘https://embeds.whowhatwear.com/310359/tile-4-back.png’);
} */
.content_front-grid-5 {
background-image: url(‘https://embeds.whowhatwear.com/310359/tile-5-front.png’);
}
/* .content_back-grid-5 {
background-image: url(‘https://embeds.whowhatwear.com/310359/tile-5-back.png’);
}
.content_front-grid-6 {
background-image: url(‘https://embeds.whowhatwear.com/310359/tile-6-front.png’);
}
.content_back-grid-6 {
background-image: url(‘https://embeds.whowhatwear.com/310359/tile-6-back.png’);
} */
/* .content_front-grid-7 {
background-image: url(‘https://embeds.whowhatwear.com/310359/tile-7-front.png’);
} */
/* .content_back-grid-7 {
background-image: url(‘https://embeds.whowhatwear.com/310359/tile-7-back.png’);
}
.content_front-grid-8 {
background-image: url(‘https://embeds.whowhatwear.com/310359/tile-8-front.png’);
}
.content_back-grid-8 {
background-image: url(‘https://embeds.whowhatwear.com/310359/tile-8-back.png’);
} */
/*.content_front-grid-2 div, .content_front-grid-3 div, .content_front-grid-8 div {
display: none;
}*/
.content_quote {
white-space: unset;
width: 100%;
}
.content_quote br {
display: none;
}
.content_flip-card-container, .content_wide-card {
width: 47%;
}
.content_flip-card-container {
margin: 10px 0;
}
.content_back-copy {
font-size: 2.6vw;
line-height: 2.8vw;
}
.content_front-copy-container, .content_back-copy-container, .content_modal-copy-container {
padding: 0 15px;
}
.content_name-title {
line-height: 14px;
}
.content_grid-item {
flex-basis: 47%;
}
.content_grid-item-1 {
flex-basis: 47%;
}
.content_shop-item {
margin: 40px 0;
flex-basis: 47%;
height: 40vw;
}
.content_shop-more-br {
display: block;
}
.content_header-logo {
width: 40vw;
padding: 0 0 5px 0;
}
.content_header-title {
margin: 20px auto;
width: 100%;
max-width: 240px;
}
.content_header-copy {
font-size: 3.3vw;
line-height: 4.6vw;
max-width: 95%;
}
.mobile-blurb {
display: block;
margin: 30px auto 10px auto;
}
.content_desktop-header-copy {
display: none;
}
.content_mobile-header-copy {
display: inline;
}
}
@media only screen and (max-width: 600px) {
.content_grid-item {
flex-basis: 48%;
}
.content_quote {
width: 80%;
}
.content_quote br {
display: none;
}
.content_back-cta {
width: auto;
white-space: nowrap;
}
.content_name-title {
line-height: 11px;
}
.content_name {
font-size: 11px;
}
.content_title {
font-size: 10px;
}
.content_modal-link {
font-size: 14px;
}
}
@media only screen and (max-width: 500px) {
.content_back-copy {
line-height: 3vw;
}
.content_name-title {
line-height: 9px;
}
.content_name, .content_title {
font-size: 8px;
/*line-height: 10px;*/
}
.content_header-container {
padding: 10px 0;
}
.content_grid-item {
flex-basis: 47%;
}
/*.content_back-copy {
font-size: 10px;
line-height: 14px;
margin: 0;
}*/
.content_back-copy-link {
font-size: 10px;
}
}
The run-up to the holidays can be a bit overwhelming. There’s shopping to do, family to see, and countless parties for mingling. So as we head into the merriest (read: busiest) season of them all, we’re making shopping easy and sharing the holiday deal that every gamer will want to know about.
X
<!– –>
<!– –>
<!– –>
// on mobile display modal
const flipper = document.querySelectorAll(‘.content_flipper’);
const modalContainer = document.querySelector(‘.content_modal-container’);
const modal = document.querySelector(‘.content_modal’);
const modalCopyContainer = document.querySelector(‘.content_modal-copy-container’);
let indexNumber;
for (let i = 0; i {
if(!window.matchMedia(‘(max-width: 812px)’).matches) {
setTimeout(()=> {
flipper[0].classList.add(‘content_flipped’)
}, 2000);
setTimeout(()=> {
flipper[0].classList.remove(‘content_flipped’)
}, 5000);
}
})
function sendMessageToParentWindow(typeOfMessage, message = null) {
let postMessage = { bordeaux: message };
let url = “http://crow.futurecdn.net/output/www-310359-index-v5/www-310359-index-v5.html”;
if (typeOfMessage === “analytics”) {
postMessage = { analytics: { …message } };
}
if (postMessage !== {}) {
window.parent.postMessage(
postMessage,
url
);
}
}
let message = {
targeting: {
[“www-310359-index-v5.html”]: “Omen Flip for Tip”
}
}
window.onload = sendMessageToParentWindow(“bordeaux”, message);
www.pcgamer.com