Krishna Rajpara I Assistant Photo Editor
@import “@fontsource/jolly-lodger”;
@import url(‘http://fonts.cdnfonts.com/css/chaparral-pro’);
body {
background-color:#D77227;
background-image: url(‘https://thumbs.gfycat.com/GrouchyElegantAlbacoretuna-max-1mb.gif’);
background-repeat: repeat;
background-position: center center;
background-size: 330px;
}
.desk-graphic {
width: 100%;
height: 675px;
}
.desk-graphic-spefs {
width: auto;
height: inherit;
display: block;
margin-left: auto;
margin-right: auto;
}
.blank-slate-container {
max-width:1000px;
margin: 0 auto;
padding-top: 1rem;
padding-bottom: 2em;
}
.blank-slate-container .blank-slate-container {
padding-left:2.5em;
}
.blank-slate-container * {
box-sizing:border-box
}
.blank-slate-container h3.category-header {
text-align:center;
font-size:30pt;
background-color:#402666;
color: white;
font-family: “Jolly Lodger”, cursive;
font-style: italic;
text-transform:uppercase;
margin:0;
}
.blank-slate-container .bonw-section {
display:flex;
margin:0 -10px;
flex-wrap:wrap
}
.blank-slate-container .bonw-section:not(:last-of-type) {
margin-bottom:50px
}
.blank-slate-container .bonw-category {
display:block;
height:220px;
border-radius: 4em;
border: 2px dashed black;
box-shadow: 0 4px 5px rgb(220, 206, 229);
overflow:hidden;
position:relative;
margin:10px;
min-width:400px;
flex-basis: auto;
flex:1
}
.blank-slate-container .bonw-category .left-section,.blank-slate-container .bonw-category .right-section {
width: 100%;
height:100%;
overflow: hidden
}
.blank-slate-container .bonw-category .left-section {
position:relative;
max-width:100%;
}
.blank-slate-container .bonw-category .left-section h3 {
position:absolute;
max-width:85%;
top: 2em;
left: 1.75em;
transition:left 0.25s ease-in;
text-align: center;
text-transform:uppercase;
text-shadow:black 2px 2px 3px;
color: #FDD0A3;
font-size:23pt;
font-family: “Jolly Lodger”, cursive;
}
.blank-slate-container .bonw-category .left-section img {
height:100%;
width:100%;
object-fit:cover
}
.blank-slate-container .bonw-category .right-section {
background-color:rgba(0,0,0,0.5);
color:white;
transition:flex 0.25s ease-in;
overflow:hidden;
display:flex;
flex-direction:column;
justify-content:center;
text-align:center;
padding:20px;
position:absolute;
top: 0;
left: 100%;
transition:left 0.25s ease-in
}
.blank-slate-container .bonw-category .right-section h4 {
font-weight:bold;
text-transform:uppercase;
text-shadow:#D77227 2px 2px 5px;
font-size:16pt;
margin: 10px auto;
width: 75%;
font-family: ‘Chaparral Pro’, sans-serif;
color:#FDD0A3;
}
.blank-slate-container .bonw-category .right-section .read-more span {
display:inline-block;
padding:5px 10px;
margin:10px;
border-radius: 0em;
background-color: rgb(91, 43, 127);
color: white;
text-transform:lowercase;
font-family: “Jolly Lodger”, cursive;
}
.blank-slate-container .bonw-category:not(.category-header):hover .left-section h3 {
left:-100%
}
.blank-slate-container .bonw-category:not(.category-header):hover .right-section {
left:0
}
.blank-slate-container .bonw-category.category-header {
background-color:#402666;
height:175px;
display:none
}
.blank-slate-container .bonw-category.category-header .left-section {
display:flex;
justify-content:center;
flex-direction:column
}
.blank-slate-container .bonw-category.category-header h3 {
text-align:center;
position:initial
}
@media only screen and (max-width: 1000px) {
.blank-slate-container .bonw-section {
display:block
}
.blank-slate-container .bonw-category {
height:350px;
min-width:75vw;
max-width:none
}
.blank-slate-container .bonw-category.category-header {
height:auto
}
.blank-slate-container .bonw-category.category-header h3 {
font-size:1.5rem;
}
@media only screen and (max-width: 450px) {
.desk-graphic{
padding-top: 0em;
margin-top: 5px;
width:400px;
height: 350px;
}
img.desk-graphic-spefs{
width:400px;
height:350px;
}
body {
background-size: 175px;
}
.blank-slate-container{
width:400px;
padding-right: 2.25em;
}
.blank-slate-container header div {
margin-top:calc(0.75rem + 10px)
}
.blank-slate-container header h1 {
font-size:1.5rem;
line-height:1rem
}
.blank-slate-container header span {
font-size:0.75rem;
top:calc(-0.75rem – 10px)
}
.blank-slate-container .bonw-section:not(:last-of-type) {
margin-bottom:30px
}
.blank-slate-container .bonw-category .left-section h3 {
float: left;
padding: 15px;
max-width:80%;
font-size:32pt}
}
body.ios header {
display:none
}
body.ios .blank-slate-container header {
display:block
}
body.ios .blank-slate-container header h1 {
margin:0
}
body.ios article.post {
padding-left:0;
padding-right:0
}
}
.reveal {
position: relative;
opacity: 0;
}
.reveal.active {
opacity: 1;
}
.active.fade-bottom {
animation: fade-bottom 1s ease-in;
}
@keyframes fade-bottom {
0% {
transform: translateY(50px);
opacity: 0;
}
100% {
transform: translateY(0);
opacity: 1;
}
}
function reveal() {
var reveals = document.querySelectorAll(“.reveal”);
for (var i = 0; i < reveals.length; i++) { var windowHeight = window.innerHeight; var elementTop = reveals[i].getBoundingClientRect().top; var elementVisible = 150; if (elementTop < windowHeight - elementVisible) { reveals[i].classList.add("active"); } else { reveals[i].classList.remove("active"); } } } window.addEventListener("scroll", reveal);