This commit is contained in:
2019-05-05 15:25:13 +02:00
parent 3d878b3cb6
commit d6c2c075af
30 changed files with 3651 additions and 439 deletions
+15 -12
View File
@@ -1,14 +1,15 @@
body{
#start{
width: 100%;
height: 100%;
}
#page-wrapper.blog{
#start{
width: calc(100% - 20px);
height: calc(100% - 5rem);
position: fixed;
top: 100vh;
left: 0;
left: 10px;
right: 10px;
}
}
#page-wrapper.down{
@@ -16,21 +17,23 @@ body{
top: 5rem;
}
#items{
-webkit-animation: showcard 1.5s 2.5s ease forwards;
animation: showcard 1.5s 2.5s ease forwards;
.card{
animation: showcard 1.5s 2.5s ease forwards;
}
}
}
}
#items{
.full-works{
width: 100%;
margin-top: 30px;
}
.card{
.blog{
#items{
opacity: 0;
margin-bottom: 10px;
min-width: 200px;
.full-works{
width: 100%;
margin-top: 30px;
}
.card{
margin-bottom: 10px;
min-width: 200px;
}
}
}
+200 -99
View File
@@ -1,114 +1,215 @@
// home
body {
.blog {
header {
height:100vh;
width: 100%;
display: inline-flex;
flex-direction: column;
align-content: space-around;
& > div{
position: fixed;
&.head{
width: 100%;
z-index: 999;
padding-top: 70px;
h2 {
margin-left: 8px;
position: absolute;
}
&::after {
display: block;
content: " ";
width: 0%;
height: 1px;
background: black;
}
.blog {
margin: 0 10px;
header {
height:100vh;
width: calc(100% - 20px);
display: -webkit-inline-box;
display: -ms-inline-flexbox;
display: inline-flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-ms-flex-line-pack: distribute;
align-content: space-around;
& > div{
position: fixed;
width: calc(100% - 20px);
&.head{
z-index: 999;
padding-top: 4vw;
h2 {
margin-left: 8px;
position: absolute;
left: 0;
}
&.works-mea {
display: -webkit-inline-box;
display: -ms-inline-flexbox;
display: inline-flex;
align-self: flex-end;
height: calc(100% - 20px);
align-items: flex-end;
.card{
&:nth-child(2){
margin:0 10px;
}
&:not(:nth-child(2)){
margin: 0;
}
}
}
&.scroll{
width: 100%;
bottom: 0;
text-align: center;
&::after {
display: block;
content: " ";
width: 0%;
height: 1px;
background: black;
}
}
&.works-mea {
display: -webkit-inline-box;
display: -ms-inline-flexbox;
display: inline-flex;
-ms-flex-item-align: end;
align-self: flex-end;
height: calc(100% - 20px);
-webkit-box-align: end;
-ms-flex-align: end;
align-items: flex-end;
.card{
&:nth-child(2){
margin:0 10px;
}
&:not(:nth-child(2)){
margin: 0;
}
}
}
&.scroll{
bottom: 0;
text-align: center;
}
}
}
&.down{
header{
height: 5rem;
.head{
padding:0;
-webkit-transition: all 1s 0.9s ease;
transition: all 1s 0.9s ease;
&::after{
-webkit-animation: showborder 2.5s 1.5s ease forwards;
animation: showborder 2.5s 1.5s ease forwards;
}
h2{
opacity: 0;
left: -40%;
-webkit-transition: left 3s linear, opacity 0.3s 0.1s ease;
transition: left 3s linear, opacity 0.3s 0.1s ease;
}
}
.card{
&:nth-child(1){
-webkit-animation: translateY 1s ease forwards;
animation: translateY 1s ease forwards;
}
&:nth-child(2){
-webkit-animation: translateY 1.3s ease forwards;
animation: translateY 1.3s ease forwards;
}
&:nth-child(3){
-webkit-animation: translateY 1.6s ease forwards;
animation: translateY 1.6s ease forwards;
}
}
&.down{
header{
height: 5rem;
.head{
padding:0;
transition: all 1s 0.9s ease;
&::after{
animation: showborder 2.5s 1.5s ease forwards;
}
h2{
opacity: 0;
margin-left: -100px;
transition: all 1s ease;
left: -50%;
}
}
.card{
&:nth-child(1){
animation: translateY 1s ease forwards;
}
&:nth-child(2){
animation: translateY 1.3s ease forwards;
}
&:nth-child(3){
animation: translateY 1.6s ease forwards;
}
}
.scroll{
opacity: 0;
transition: all 1s ease;
}
.scroll{
opacity: 0;
-webkit-transition: all 1s ease;
transition: all 1s ease;
}
}
}
}
}
.contact{
width: 90px;
height: auto;
z-index: 999;
position: fixed;
top: 0px;
right: 0px;
-webkit-transition: width 0.5s ease;
transition: width 0.5s ease;
cursor: pointer;
&:hover{
width: 80px;
-webkit-transition: width 0.5s ease;
transition: width 0.5s ease;
}
svg{
cursor: pointer;
-webkit-animation: rotation 6s infinite linear;
animation: rotation 6s infinite linear;
}
h3{
color: white;
-webkit-transform: rotate(35deg);
transform: rotate(35deg);
position: absolute;
top: 35px;
left: 19px;
}
.txt{
position: fixed;
right: -200px;
}
&.open{
-webkit-transform: scale(15);
transform: scale(15);
height: auto;
-webkit-transition: -webkit-transform 0.5s ease;
transition: -webkit-transform 0.5s ease;
transition: transform 0.5s ease;
transition: transform 0.5s ease, -webkit-transform 0.5s ease;
h3{
color: transparent;
left: 500px;
-webkit-transition: visibility 0.5 ease left 1s ease;
transition: visibility 0.5 ease left 1s ease;
}
svg{
-webkit-animation: rotation 12s infinite linear;
animation: rotation 12s infinite linear;
}
.txt{
position: fixed;
color: white;
-webkit-transform: scale(0.1);
transform: scale(0.1);
top: -10px;
right: -20px;
text-align: center;
line-height: 1.5rem;
z-index: 9999;
}
}
&.close{
-webkit-transform: scale(1);
transform: scale(1);
-webkit-transition: -webkit-transform 0.5s 0.1s ease;
transition: -webkit-transform 0.5s 0.1s ease;
transition: transform 0.5s 0.1s ease;
transition: transform 0.5s 0.1s ease, -webkit-transform 0.5s 0.1s ease;
& + .txt{
top: 190px;
text-align: center;
line-height: 1.5rem;
z-index: 9999;
-webkit-animation: translateleft 1s ease forwards;
animation: translateleft 1s ease forwards;
}
h3{
-webkit-transition: color 0.5s 0.5s ease, left 0.5s ease;
transition: color 0.5s 0.5s ease, left 0.5s ease;
}
&:hover{
-webkit-transition: -webkit-transform 0.5s ease!important;
transition: -webkit-transform 0.5s ease!important;
transition: transform 0.5s ease!important;
transition: transform 0.5s ease, -webkit-transform 0.5s ease!important;
-webkit-transform: scale(0.9)!important;
transform: scale(0.9)!important;
}
}
}
// page
body {
#page-wrapper.item {
header {
border-bottom: 1px solid black;
position: fixed;
height: 112px;
top: 0;
left: 10px;
right: 10px;
background: white;
z-index: 999;
nav {
margin-top: 25px;
}
h1 {
color: black;
}
h2, .scroll {
display: none;
}
}
#page-wrapper.item {
header {
border-bottom: 1px solid black;
position: fixed;
height: 5rem;
background: white;
top: 0;
left: 10px;
right: 10px;
z-index: 999;
h1 {
color: black;
line-height: 5rem;
}
h2, .scroll {
display: none;
}
}
}
}
@@ -20,9 +20,13 @@
}
ul {
opacity: 0;
display: -webkit-inline-box;
display: -ms-inline-flexbox;
display: inline-flex;
margin: 10px 0;
.btn-group{
display: -webkit-box;
display: -ms-flexbox;
display: flex;
margin-right: 10px;
&::after{
@@ -43,19 +47,20 @@
#items{
.full-works{
.card{
width: calc((100vw / 3) - 6.5px);
width: calc( (100vw / 3 - calc( 41px / 3 ) ) );
}
}
}
}
.down{
.cat-list{
left: 0;
&::after{
animation: showborder 2.5s 1.6s ease forwards;
-webkit-animation: showborder 2.5s 1.6s ease forwards;
animation: showborder 2.5s 1.6s ease forwards;
}
ul{
animation: ultranslate 1s 2.5s ease forwards;
-webkit-animation: ultranslate 1s 2.5s ease forwards;
animation: ultranslate 1s 2.5s ease forwards;
}
}
}
@@ -17,13 +17,14 @@ h5{
font-size: $fh5;
font-family: $bold;
font-weight: normal;
text-transform: uppercase;
}
p{
font-family: $Regular;
font-weight: normal;
font-size: $fp;
line-height: 1.3rem;
line-height: 1.1rem;
}
time{
@@ -34,16 +35,17 @@ time{
.blog{
h1{
font-size: $fh1;
line-height: 5rem;
line-height: 5vw;
-webkit-text-stroke: 2px black;
color: transparent;
}
h2{
line-height: 8rem;
line-height: 8vw;
}
&.down{
h1{
animation: reducH 1s 0.9s ease forwards;
-webkit-animation: reducH 1s 0.9s ease forwards;
animation: reducH 1s 0.9s ease forwards;
}
}
}
@@ -55,16 +57,23 @@ time{
.prev-next{
a{
.title{
font-family: $medium;
font-size: $fh2-i;
font-family: $bold;
text-transform: uppercase;
font-size: 0.7rem;
}
.tags, .blog-date time{
font-family: $italic;
text-transform: uppercase;
font-size: 0.7rem;
}
}
}
}
.category{
a{
font-family: $Regular;
font-family: $italic;
font-size: $fs-i;
}
}
@@ -74,27 +83,54 @@ time{
}
.tags{
font-family: $Regular;
font-size: $fs-i;
font-family: $bold;
font-size: 0.7rem;
}
#page-wrapper.blog{
.works-mea, #items{
.category{
a{
font-family: $Regular;
font-family: $italic;
font-size: $fs;
}
}
time{
font-size: $fs;
}
.card-footer{
line-height: 0.2rem;
.tags{
a{
color: $grey!important;
}
}
}
}
}
#page-wrapper.item{
#items{
.title{
h2{
font-family: $bold;
font-size: 1.2rem;
}
a, time{
font-size: 1.2rem;
}
}
.tags{
font-size: $fs;
span{
font-size: 0.8rem;
a{
color: $grey;
}
}
}
}
}
.cat-list{
font-family: $Regular;
font-family: $light;
font-size: 1rem;
}
+7 -125
View File
@@ -3,148 +3,30 @@ html, body{
}
.blog{
width: 100%;
height: 100%;
&.down{
height: 5rem;
}
}
header{
.contact{
width: 90px;
height: auto;
z-index: 999;
position: fixed;
top: 0px;
right: 0px;
-webkit-transform: scale(1);
transform: scale(1);
-webkit-transition: -webkit-transform 0.5s ease;
transition: -webkit-transform 0.5s ease;
transition: transform 0.5s ease;
transition: transform 0.5s ease, -webkit-transform 0.5s ease;
cursor: pointer;
&:hover{
-webkit-transition: -webkit-transform 0.5s ease;
transition: -webkit-transform 0.5s ease;
transition: transform 0.5s ease;
transition: transform 0.5s ease, -webkit-transform 0.5s ease;
-webkit-transform: scale(0.9);
transform: scale(0.9);
}
svg{
cursor: pointer;
-webkit-animation: rotation 6s infinite linear;
animation: rotation 6s infinite linear;
}
h3{
color: white;
-webkit-transform: rotate(35deg);
transform: rotate(35deg);
position: absolute;
top: 35px;
left: 19px;
}
.txt{
position: fixed;
right: -200px;
display: none;
}
&.open{
-webkit-transform: scale(15);
transform: scale(15);
height: auto;
-webkit-transition: -webkit-transform 0.5s ease;
transition: -webkit-transform 0.5s ease;
transition: transform 0.5s ease;
transition: transform 0.5s ease, -webkit-transform 0.5s ease;
h3{
color: transparent;
left: 500px;
-webkit-transition: visibility 0.5 ease left 1s ease;
transition: visibility 0.5 ease left 1s ease;
}
svg{
-webkit-animation: rotation 12s infinite linear;
animation: rotation 12s infinite linear;
}
& + .txt{
position: fixed;
top: 190px;
text-align: center;
line-height: 1.5rem;
z-index: 9999;
-webkit-animation: translateright 1s ease forwards;
animation: translateright 1s ease forwards;
}
}
&.close{
-webkit-transform: scale(1);
transform: scale(1);
-webkit-transition: -webkit-transform 0.5s 0.1s ease;
transition: -webkit-transform 0.5s 0.1s ease;
transition: transform 0.5s 0.1s ease;
transition: transform 0.5s 0.1s ease, -webkit-transform 0.5s 0.1s ease;
& + .txt{
top: 190px;
text-align: center;
line-height: 1.5rem;
z-index: 9999;
-webkit-animation: translateleft 1s ease forwards;
animation: translateleft 1s ease forwards;
}
h3{
-webkit-transition: color 0.5s 0.5s ease, left 0.5s ease;
transition: color 0.5s 0.5s ease, left 0.5s ease;
}
&:hover{
-webkit-transition: -webkit-transform 0.5s ease!important;
transition: -webkit-transform 0.5s ease!important;
transition: transform 0.5s ease!important;
transition: transform 0.5s ease, -webkit-transform 0.5s ease!important;
-webkit-transform: scale(0.9)!important;
transform: scale(0.9)!important;
}
}
}
#start{
width: 100%;
}
.card{
width: calc((100% / 3));
line-height: 0.8rem!important;
.card-header{
margin-top: 10px;
margin-top: 5px;
display: -webkit-inline-box;
display: -ms-inline-flexbox;
display: inline-flex;
-webkit-box-align: baseline;
-ms-flex-align: baseline;
align-items: baseline;
& > div{
margin-right: 5px;
}
}
}
@media screen and (max-width: 960px) {
.works-mea{
& > div:last-child{
display: none;
}
}
.card{
width: calc((100% / 2) - 5px );
}
}
@media screen and (max-width: 600px) {
.works-mea{
& > div:nth-child(2){
display: none;
}
}
.card{
width: 100%;
}
}
+21 -11
View File
@@ -2,23 +2,29 @@ body{
#page-wrapper.item{
margin: 0 10px;
.contact{
.txt{display: none}
.txt{
display: none
}
}
#start{
margin-top: 112px;
margin-top: 5rem;
}
#body-wrapper.blog-listing{
#body-wrapper.blog-listing {
.img-card{
width: calc((100% / 3) - 6.5px);
width: calc( (100vw / 3 - calc( 41px / 3 ) ) );
margin-bottom: 10px;
}
.header-item{
position: relative;
margin-bottom: 20px;
padding-top: 20px;
margin-bottom: 1.5rem;
padding-top: 1.5rem;
.title{
display: -webkit-inline-box;
display: -ms-inline-flexbox;
display: inline-flex;
align-items: baseline;
-webkit-box-align: baseline;
-ms-flex-align: baseline;
align-items: baseline;
h2{
margin-right: 5px;
text-transform: uppercase;
@@ -39,7 +45,8 @@ body{
height: 100%;
position: absolute;
top: calc( 50% + 10px );
transform: translateY(-50%);
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
right: 0px;
.btn{
display: block;
@@ -47,7 +54,8 @@ body{
height: 100%;
.btn-info{
position: absolute;
transform: rotate(-15deg);
-webkit-transform: rotate(-15deg);
transform: rotate(-15deg);
margin-left: 40px;
margin-top: 20px;
}
@@ -68,7 +76,8 @@ body{
margin-bottom:5px;
}
p{
transform: rotate(-10deg);
-webkit-transform: rotate(-10deg);
transform: rotate(-10deg);
}
}
}
@@ -105,7 +114,8 @@ body{
.prev-next{
width: calc((100%) - 15px);
position: relative;
transform: translateY(0%);
-webkit-transform: translateY(0%);
transform: translateY(0%);
.btn{
.btn-info{
display: none;
@@ -0,0 +1,36 @@
@media screen and (max-width: 960px) {
.works-mea{
& > div:last-child{
display: none;
}
}
.card{
width: calc((100% / 2) - 5px )!important;
}
}
@media screen and (max-width: 600px) {
header{
.head{
padding: 0!important;
}
h1{
font-size: 2.5rem!important;
line-height: 5rem!important;
-webkit-text-stroke: 1px black!important;
}
h2{
font-size: 1.5rem;
line-height: 0rem!important;
margin: -0.7rem 0 0 0!important;
}
}
.works-mea{
& > div:nth-child(2){
display: none;
}
}
.card{
width: 100%!important;
}
}