|
@import url('https://fonts.googleapis.com/css?family=Saira+Extra+Condensed'); |
|
@import url('https://fonts.googleapis.com/css?family=Inconsolata'); |
|
|
|
.wall { |
|
width: 100%; |
|
height: 100%; |
|
position: absolute; |
|
left: 50%; |
|
top: 50%; |
|
transform: translateX(-50%) translateY(-50%); |
|
overflow: hidden; |
|
box-sizing: border-box; |
|
background-color: #000; |
|
min-height: 800px; |
|
} |
|
.wall div { |
|
box-sizing: border-box; |
|
} |
|
.wall .slide { |
|
position: absolute; |
|
left: 0%; |
|
top: 0%; |
|
height: 100%; |
|
width: 100%; |
|
overflow: hidden; |
|
cursor: pointer; |
|
background-color: #333; |
|
opacity: 0; |
|
} |
|
.wall .slide .image { |
|
position: absolute; |
|
left: 50%; |
|
top: 50%; |
|
height: 100%; |
|
width: 100%; |
|
transform: translateX(-50%) translateY(-50%); |
|
} |
|
.wall .slide .image .image-in { |
|
position: absolute; |
|
left: 50%; |
|
top: 50%; |
|
height: 105%; |
|
width: 105%; |
|
background-size: cover; |
|
background-position: center; |
|
transform: translateX(-50%) translateY(-50%); |
|
} |
|
.wall .slide .image .image-in.image2 { |
|
filter: gray; /* IE6-9 */ |
|
-webkit-filter: grayscale(1); /* Google Chrome, Safari 6+ & Opera 15+ */ |
|
filter: grayscale(1); |
|
transition: opacity 0.5s; |
|
} |
|
.wall .slide:hover .image-in.image2 { |
|
opacity: 0; |
|
} |
|
.wall .slide:nth-child(1) .image .image-in { |
|
background-image: url(https://preview.animatedcreativity.com/images/photowall/new/image1-21.jpg); |
|
} |
|
.wall .slide:nth-child(2) .image .image-in { |
|
background-image: url(https://preview.animatedcreativity.com/images/photowall/new/image2.jpg); |
|
} |
|
.wall .slide:nth-child(3) .image .image-in { |
|
background-image: url(https://preview.animatedcreativity.com/images/photowall/new/image3-1.jpg); |
|
} |
|
.wall .slide:nth-child(4) .image div { |
|
background-image: url(https://preview.animatedcreativity.com/images/photowall/new/image4-1.jpg); |
|
} |
|
.wall .slide:nth-child(5) .image .image-in { |
|
background-image: url(https://preview.animatedcreativity.com/images/photowall/new/image5-1.jpg); |
|
} |
|
.wall .slide:nth-child(6) .image .image-in { |
|
background-image: url(https://preview.animatedcreativity.com/images/photowall/new/image6-1.jpg); |
|
} |
|
.wall .slide:nth-child(7) .image .image-in { |
|
background-image: url(https://preview.animatedcreativity.com/images/photowall/new/image7.jpg); |
|
} |
|
.wall .slide:nth-child(8) .image .image-in { |
|
background-image: url(https://preview.animatedcreativity.com/images/photowall/new/image8.jpg); |
|
} |
|
.wall .slide:nth-child(9) .image .image-in { |
|
background-image: url(https://preview.animatedcreativity.com/images/photowall/new/image9.jpg); |
|
} |
|
.wall .slide:nth-child(10) .image .image-in { |
|
background-image: url(https://preview.animatedcreativity.com/images/photowall/new/image10-1.jpg); |
|
} |
|
.wall .slide:nth-child(11) .image .image-in { |
|
background-image: url(https://preview.animatedcreativity.com/images/photowall/new/image11-1.jpg); |
|
} |
|
.wall .slide:nth-child(12) .image .image-in { |
|
background-image: url(https://preview.animatedcreativity.com/images/photowall/new/image12-1.jpg); |
|
} |
|
|
|
|
|
.wall button { |
|
position: absolute; |
|
right: 5%; |
|
top: 5%; |
|
width: 10%; |
|
height: 0%; |
|
padding-bottom: 10%; |
|
background: none; |
|
border: none; |
|
outline: none; |
|
cursor: pointer; |
|
opacity: 0.6; |
|
transition: all 0.5s; |
|
top: -30%; |
|
right: -30%; |
|
} |
|
.wall button:before, .wall button:after { |
|
content: ""; |
|
position: absolute; |
|
left: 50%; |
|
top: 50%; |
|
width: 30%; |
|
height: 100%; |
|
background-color: #666; |
|
transform: translateX(-50%) translateY(-50%) rotateZ(45deg); |
|
border-radius: 100px; |
|
} |
|
.wall button:after { |
|
transform: translateX(-50%) translateY(-50%) rotateZ(-45deg); |
|
} |
|
.wall button:hover { |
|
opacity: 1; |
|
} |
|
.wall .image .preloader { |
|
position: absolute; |
|
width: 10%; |
|
height: 0%; |
|
padding-bottom: 10%; |
|
left: 50%; |
|
top: 50%; |
|
transform: translateX(-50%) translateY(-50%); |
|
} |
|
.wall .image .preloader div { |
|
position: absolute; |
|
width: 100%; |
|
height: 100%; |
|
left: 50%; |
|
transform: translateX(-50%) translateY(-50%); |
|
overflow: hidden; |
|
animation: animatePreloader 1s infinite linear; |
|
transform-origin: 50% 100%; |
|
} |
|
.wall .image .preloader div:before { |
|
content: ""; |
|
position: absolute; |
|
width: 100%; |
|
height: 100%; |
|
left: 50%; |
|
top: 50%; |
|
transform: translateX(-50%); |
|
border: 3px solid #ccc; |
|
border-radius: 50%; |
|
box-sizing: border-box; |
|
} |
|
.wall .image .preloader div:nth-child(2) { |
|
width: 60%; |
|
height: 60%; |
|
top: 20%; |
|
animation: animatePreloader 0.5s infinite linear; |
|
} |
|
@keyframes animatePreloader { |
|
0% { |
|
transform: translateX(-50%) translateY(-50%) rotateZ(0deg); |
|
} |
|
100% { |
|
transform: translateX(-50%) translateY(-50%) rotateZ(360deg); |
|
} |
|
} |
|
|
|
.wall .slide .text { |
|
position: absolute; |
|
color: #333; |
|
box-sizing: border-box; |
|
padding: 20px; |
|
margin: 20px; |
|
width: 50%; |
|
background-color: rgba(255, 255, 255, 0.2); |
|
opacity: 0; |
|
transition: background-color 0.5s; |
|
} |
|
.wall .slide .text:hover { |
|
background-color: rgba(255, 255, 255, 1); |
|
} |
|
.wall .slide .text h1, .wall .slide .text div { |
|
margin: 0px; |
|
padding: 0px; |
|
} |
|
.wall .slide .text h1 { |
|
text-transform: uppercase; |
|
font-family: 'Saira Extra Condensed', sans-serif; |
|
} |
|
.wall .slide .text div { |
|
margin-top: 20px; |
|
font-family: 'Inconsolata', monospace; |
|
} |
|
|
|
.wall .hint { |
|
position: absolute; |
|
left: 50%; |
|
bottom: 20px; |
|
color: #333; |
|
background-color: rgba(255, 255, 255, 0.7); |
|
padding: 10px; |
|
box-sizing: border-box; |
|
transform: translateX(-50%); |
|
font-family: 'Inconsolata', monospace; |
|
opacity: 0.1; |
|
transition: all 0.5s; |
|
cursor: pointer; |
|
} |
|
.wall .hint:hover { |
|
opacity: 1; |
|
} |