WIP
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
}
|
||||
|
||||
// Right part
|
||||
&__right{
|
||||
&__right {
|
||||
font-size: 14px;
|
||||
|
||||
@include breakpoint (sm) {
|
||||
@@ -67,7 +67,7 @@
|
||||
justify-content: center;
|
||||
|
||||
span {
|
||||
color: rgba(#fff, .4)
|
||||
color: rgba(#fff, 0.4)
|
||||
}
|
||||
|
||||
img {
|
||||
|
||||
@@ -1,42 +1,75 @@
|
||||
// Pagination
|
||||
.pagination {
|
||||
position: relative;
|
||||
padding: 64px 0 72px;
|
||||
background-color: $color-tertiary;
|
||||
text-align: center;
|
||||
padding: 64px 0 72px;
|
||||
position: relative;
|
||||
|
||||
@include breakpoint (sm) {
|
||||
padding: 16vw 0 7.5vw;
|
||||
margin-top: -64px;
|
||||
padding: pxVW(176) 0 pxVW(120);
|
||||
}
|
||||
@include breakpoint (xl) {
|
||||
padding-top: 200px;
|
||||
padding: 176px 0 120px;
|
||||
}
|
||||
|
||||
// Pages
|
||||
&__page {
|
||||
p {
|
||||
font-family: $font-serif-extra;
|
||||
color: rgba($color-text, .15);
|
||||
position: relative;
|
||||
line-height: 1;
|
||||
font-size: rem(72px);
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
margin: 0 auto;
|
||||
padding-left: 72px;
|
||||
font-family: $font-serif-extra;
|
||||
font-size: rem(72px);
|
||||
color: rgba($color-text, 0.15);
|
||||
line-height: 1;
|
||||
cursor: pointer;
|
||||
transition: color 250ms $ease-cubic;
|
||||
|
||||
@include breakpoint (sm) {
|
||||
font-size: rem(160px);
|
||||
}
|
||||
|
||||
// Numbers
|
||||
&--numbers {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: -32px;
|
||||
height: 136px;
|
||||
overflow: hidden;
|
||||
|
||||
.scroll {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
text-align: right;
|
||||
line-height: 0.85;
|
||||
transform: translate3d(0, -190%, 0);
|
||||
transition: transform 250ms $ease-cubic;
|
||||
}
|
||||
}
|
||||
|
||||
// Info
|
||||
&--info {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -72%);
|
||||
font-family: $font-serif;
|
||||
font-size: 18px;
|
||||
color: $color-secondary-bright;
|
||||
|
||||
@include breakpoint (sm) {
|
||||
font-size: rem(160px);
|
||||
font-size: rem(40px);
|
||||
}
|
||||
}
|
||||
|
||||
span {
|
||||
font-family: $font-serif;
|
||||
color: #FF0536;
|
||||
position: absolute;
|
||||
font-size: 18px;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -65%);
|
||||
// Hover
|
||||
&:hover {
|
||||
color: rgba($color-text, 0.25);
|
||||
|
||||
@include breakpoint (sm) {
|
||||
font-size: rem(40px);
|
||||
.pagination__page--numbers {
|
||||
.scroll {
|
||||
transform: translate3d(0, -135%, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
.photo {
|
||||
|
||||
// Location
|
||||
/*
|
||||
** Location
|
||||
*/
|
||||
&__location {
|
||||
margin-bottom: 32px;
|
||||
|
||||
@include breakpoint (sm) {
|
||||
margin-bottom: 56px;
|
||||
}
|
||||
|
||||
@include breakpoint (xs) {
|
||||
padding: 0;
|
||||
}
|
||||
@@ -26,7 +27,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
// Image container
|
||||
|
||||
/*
|
||||
** Image
|
||||
*/
|
||||
&__image {
|
||||
position: relative;
|
||||
display: flex;
|
||||
@@ -40,17 +44,18 @@
|
||||
.align {
|
||||
position: relative;
|
||||
max-width: 1180px;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
// Image container
|
||||
&--img {
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
overflow: hidden;
|
||||
border-radius: 0;
|
||||
box-shadow: 0 8px 18px rgba(#715E4E, .2);
|
||||
box-shadow: 0 8px 18px rgba(#715E4E, 0.2);
|
||||
user-select: none;
|
||||
|
||||
@include breakpoint (sm) {
|
||||
border-radius: 8px;
|
||||
@@ -62,14 +67,6 @@
|
||||
height: auto;
|
||||
}
|
||||
|
||||
// Cursor
|
||||
.cursor {
|
||||
position: absolute;
|
||||
z-index: 4;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
// Overlay
|
||||
&:after {
|
||||
content: "";
|
||||
@@ -84,7 +81,7 @@
|
||||
background-color: $color-primary;
|
||||
display: block;
|
||||
z-index: 3;
|
||||
transition: all 200ms ease-in-out;
|
||||
transition: all 150ms ease-in-out;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -94,7 +91,7 @@
|
||||
|
||||
// Hover
|
||||
&:hover {
|
||||
cursor: none;
|
||||
cursor: url(#{$dir-img}/icons/zoom.svg) 0 0, pointer;
|
||||
|
||||
.photo__image--img:after {
|
||||
opacity: 0.6;
|
||||
@@ -105,10 +102,10 @@
|
||||
// Date (on the side)
|
||||
&--date {
|
||||
display: block;
|
||||
color: $color-lightgray;
|
||||
font-size: rem(14px);
|
||||
margin-top: 16px;
|
||||
padding: 0 8vw;
|
||||
padding: 0 pxVW(128);
|
||||
font-size: rem(14px);
|
||||
color: $color-lightgray;
|
||||
|
||||
@include breakpoint (sm) {
|
||||
position: absolute;
|
||||
@@ -126,20 +123,23 @@
|
||||
// Photo number
|
||||
&--number {
|
||||
position: absolute;
|
||||
pointer-events: none;
|
||||
font-family: $font-serif-extra;
|
||||
color: rgba($color-tertiary, .5);
|
||||
font-size: rem(124px);
|
||||
bottom: -80px;
|
||||
right: 24px;
|
||||
font-family: $font-serif-extra;
|
||||
color: rgba($color-tertiary, 0.5);
|
||||
font-size: rem(124px);
|
||||
pointer-events: none;
|
||||
user-select: none;
|
||||
|
||||
@include breakpoint (sm) {
|
||||
font-size: 18.75vw;
|
||||
font-size: pxVW(300);
|
||||
left: 92%;
|
||||
top: 50%;
|
||||
z-index: 1;
|
||||
transform: translate(-50%, -50%);
|
||||
|
||||
}
|
||||
@include breakpoint (xxl) {
|
||||
font-size: rem(300px);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user