-
Pierre Jarriges authoredPierre Jarriges authored
article-view.scss 10.82 KiB
#article-view-container {
position: relative;
article {
&.game-article {
background-color: black;
#article-banner {
width: 100%;
height: 500px;
background-size: cover;
background-position: center center;
image-rendering: pixelated;
image-rendering: -moz-crisp-edges;
image-rendering: crisp-edges;
position: relative;
#header-text-container {
position: absolute;
width: 100%;
height: 100%;
background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .5));
padding: 50px;
display: flex;
flex-direction: column;
justify-content: flex-end;
.header-text {
color: #ffffffbb;
margin: 0;
&.h1 {
font-size: 100px;
margin: 0;
}
&.h2 {
font-style: italic;
margin: 0 0 0 150px;
font-size: 32px;
max-width: 50%;
}
}
.play-button {
position: absolute;
right: 40px;
bottom: 10px;
padding: 20px 40px;
border: 1px solid;
border-radius: 10px;
background-color: unset;
font-weight: bold;
font-size: 20px;
cursor: pointer;
color: $blue_2;
&:hover {
color: $blue_3;
}
}
}
}
#article-contents {
padding: 40px;
#article-body {
display: grid;
grid-template-columns: 1fr auto;