modif order
This commit is contained in:
@@ -1,39 +1 @@
|
||||
body{
|
||||
#start{
|
||||
height: 100%;
|
||||
}
|
||||
#page-wrapper.blog{
|
||||
#start{
|
||||
width: calc(100% - 20px);
|
||||
height: calc(100% - 5rem);
|
||||
position: fixed;
|
||||
top: 100vh;
|
||||
left: 10px;
|
||||
right: 10px;
|
||||
}
|
||||
}
|
||||
#page-wrapper.down{
|
||||
#start{
|
||||
top: 5rem;
|
||||
}
|
||||
#items{
|
||||
-webkit-animation: showcard 1.5s 2.5s ease forwards;
|
||||
animation: showcard 1.5s 2.5s ease forwards;
|
||||
.card{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.blog{
|
||||
#items{
|
||||
opacity: 0;
|
||||
.full-works{
|
||||
width: 100%;
|
||||
margin-top: 30px;
|
||||
}
|
||||
.card{
|
||||
margin-bottom: 10px;
|
||||
min-width: 200px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,235 +1,163 @@
|
||||
// home
|
||||
body {
|
||||
.blog {
|
||||
margin: 0 10px;
|
||||
header {
|
||||
height:100vh;
|
||||
width: calc(100% - 22px);
|
||||
display: inline-flex;
|
||||
flex-direction: column;
|
||||
align-content: space-around;
|
||||
& > div{
|
||||
position: fixed;
|
||||
&.head{
|
||||
z-index: 999;
|
||||
padding-top: 25px;
|
||||
width: inherit;
|
||||
.svg-container {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
width: calc( ( 100% / 3 ) * 2 - 22px ) ;
|
||||
padding-bottom: 9%;
|
||||
vertical-align: middle;
|
||||
overflow: hidden;
|
||||
.svg-content {
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
h2 {
|
||||
margin-left: -4px;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
}
|
||||
&::after {
|
||||
display: block;
|
||||
content: " ";
|
||||
width: 0%;
|
||||
height: 1px;
|
||||
background: black;
|
||||
}
|
||||
}
|
||||
&.works-mea {
|
||||
display: inline-flex;
|
||||
align-self: flex-end;
|
||||
height: calc(100% - 25px);
|
||||
align-items: flex-end;
|
||||
width: inherit;
|
||||
.card{
|
||||
&:nth-child(2){
|
||||
margin:0 10px;
|
||||
}
|
||||
&:not(:nth-child(2)){
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
&.scroll{
|
||||
bottom: 0;
|
||||
text-align: center;
|
||||
width: inherit;
|
||||
}
|
||||
}
|
||||
}
|
||||
&.down{
|
||||
header{
|
||||
.head{
|
||||
.svg-container {
|
||||
width: 250px;
|
||||
transition: all 1s 0.9s ease;
|
||||
padding-bottom: calc(70px - 7px);
|
||||
.svg-content {
|
||||
path{
|
||||
transition: all 1s 0.9s ease;
|
||||
fill: black!important;
|
||||
stroke-width:0!important;
|
||||
}
|
||||
}
|
||||
}
|
||||
&::after{
|
||||
-webkit-animation: showborder 2.5s 1.5s ease forwards;
|
||||
animation: showborder 2.5s 1.5s ease forwards;
|
||||
}
|
||||
|
||||
h2{
|
||||
opacity: 0;
|
||||
left: -40%;
|
||||
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;
|
||||
}
|
||||
}
|
||||
.scroll{
|
||||
opacity: 0;
|
||||
transition: all 1s ease;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.contact{
|
||||
width: 90px;
|
||||
height: auto;
|
||||
z-index: 999;
|
||||
position: fixed;
|
||||
top: 0px;
|
||||
right: 0px;
|
||||
transition: width 0.5s ease;
|
||||
cursor: pointer;
|
||||
&:hover{
|
||||
width: 80px;
|
||||
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);
|
||||
header{
|
||||
position: relative;
|
||||
margin-right: 10px;
|
||||
height: 100vh;
|
||||
&:after{
|
||||
position: absolute;
|
||||
top: 35px;
|
||||
left: 19px;
|
||||
width: 0%;
|
||||
bottom: 0;
|
||||
content: "";
|
||||
}
|
||||
.txt{
|
||||
position: fixed;
|
||||
right: -200px;
|
||||
}
|
||||
&.open{
|
||||
-webkit-transform: scale(15);
|
||||
transform: scale(15);
|
||||
height: auto;
|
||||
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;
|
||||
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;
|
||||
.head{
|
||||
width:100%;
|
||||
padding-top: 22px;
|
||||
nav{
|
||||
width: calc((100% / 3) * 2);
|
||||
position: relative;
|
||||
h2{
|
||||
position: absolute;
|
||||
}
|
||||
}
|
||||
}
|
||||
&.close{
|
||||
-webkit-transform: scale(1);
|
||||
transform: scale(1);
|
||||
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{
|
||||
transition: color 0.5s 0.5s ease, left 0.5s ease;
|
||||
}
|
||||
&:hover{
|
||||
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 {
|
||||
z-index: 999;
|
||||
padding-top: 25px;
|
||||
width: inherit;
|
||||
border-bottom: 1px solid black;
|
||||
position: fixed;
|
||||
height: 5rem;
|
||||
background: white;
|
||||
top: 0;
|
||||
left: 10px;
|
||||
right: 10px;
|
||||
z-index: 999;
|
||||
.head{
|
||||
.svg-container {
|
||||
width: 250px;
|
||||
transition: all 1s 0.9s ease;
|
||||
.svg-content {
|
||||
path{
|
||||
transition: all 1s 0.9s ease;
|
||||
fill: black!important;
|
||||
stroke-width:0!important;
|
||||
}
|
||||
}
|
||||
.works-mea{
|
||||
position: absolute;
|
||||
bottom: 20px;
|
||||
width: calc((100%) + (10px) );
|
||||
display: -webkit-inline-box;
|
||||
display: -ms-inline-flexbox;
|
||||
display: inline-flex;
|
||||
height: 50%;
|
||||
.card{
|
||||
height: calc(100% - 30px);
|
||||
.card-image{
|
||||
overflow: hidden;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
a{
|
||||
display: block;
|
||||
height: 100%;
|
||||
img{
|
||||
object-fit: cover;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
h1 {
|
||||
// color: black;
|
||||
// line-height: 5rem;
|
||||
}
|
||||
h2, .scroll {
|
||||
display: none;
|
||||
&:first-child{
|
||||
margin-right: 10px;
|
||||
}
|
||||
&:last-child{
|
||||
margin-left: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.scroll{
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
bottom: 0;
|
||||
height: 20px;
|
||||
p{
|
||||
svg{
|
||||
display: block;
|
||||
margin: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.item{
|
||||
#start{
|
||||
margin-top: 115px;
|
||||
.cat-list{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.down, .item{
|
||||
header{
|
||||
background: white;
|
||||
z-index: 999;
|
||||
width: calc(100% - 20px);
|
||||
height: 90px;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
&:after{
|
||||
width: 100%;
|
||||
height: 1px;
|
||||
background: black;
|
||||
}
|
||||
.head{
|
||||
nav{
|
||||
width: calc((100% / 6));
|
||||
min-width: 300px;
|
||||
path{
|
||||
fill:black!important;
|
||||
}
|
||||
h2{
|
||||
-webkit-transform: translateX(-150%);
|
||||
transform: translateX(-150%);
|
||||
-webkit-transition: 2s -webkit-transform ease;
|
||||
transition: 2s -webkit-transform ease;
|
||||
transition: 2s transform ease;
|
||||
transition: 2s transform ease, 2s -webkit-transform ease;
|
||||
}
|
||||
}
|
||||
}
|
||||
.works-mea{
|
||||
bottom: 65px;
|
||||
-webkit-transition: 0s 1s bottom;
|
||||
transition: 0s 1s bottom;
|
||||
.card{
|
||||
opacity: 0;
|
||||
margin-top: -20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.scroll{
|
||||
opacity: 0;
|
||||
margin-bottom: -20px;
|
||||
-webkit-transition: 1s all ease;
|
||||
transition: 1s all ease;
|
||||
}
|
||||
}
|
||||
|
||||
.down{
|
||||
header{
|
||||
-webkit-transition: 1s 1s height ease;
|
||||
transition: 1s 1s height ease;
|
||||
&:after{
|
||||
-webkit-transition: 1.5s 2s width ease;
|
||||
transition: 1.5s 2s width ease;
|
||||
}
|
||||
.head{
|
||||
nav{
|
||||
-webkit-transition:1s 1s width ease;
|
||||
transition:1s 1s width ease;
|
||||
path{
|
||||
-webkit-transition:1s 1s fill ease;
|
||||
transition:1s 1s fill ease;
|
||||
}
|
||||
}
|
||||
}
|
||||
.works-mea{
|
||||
bottom: 65px;
|
||||
-webkit-transition: 0s 1s bottom;
|
||||
transition: 0s 1s bottom;
|
||||
.card{
|
||||
opacity: 0;
|
||||
margin-top: -20px;
|
||||
&:nth-child(1){
|
||||
-webkit-transition: 0.5s 0.3s all ease;
|
||||
transition: 0.5s 0.3s all ease;
|
||||
}
|
||||
&:nth-child(2){
|
||||
-webkit-transition: 0.5s 0.5s all ease;
|
||||
transition: 0.5s 0.5s all ease;
|
||||
}
|
||||
&:nth-child(3){
|
||||
-webkit-transition: 0.5s 0.7s all ease;
|
||||
transition: 0.5s 0.7s all ease;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,63 +1,95 @@
|
||||
.blog{
|
||||
#start{
|
||||
.cat-list {
|
||||
width: 100%;
|
||||
z-index: 999;
|
||||
left: -100%;
|
||||
&::after {
|
||||
display: block;
|
||||
.cat-list{
|
||||
width: calc(100% - 10px);
|
||||
height: 50px;
|
||||
margin-bottom: 20px;
|
||||
display: -webkit-inline-box;
|
||||
display: -ms-inline-flexbox;
|
||||
display: inline-flex;
|
||||
position: relative;
|
||||
&:after{
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
display: block;
|
||||
content: "";
|
||||
width: 0%;
|
||||
}
|
||||
& > ul{
|
||||
margin: auto 0 auto 10px;
|
||||
label{
|
||||
margin-right: 10px;
|
||||
opacity: 0;
|
||||
margin-left: -10px;
|
||||
a{
|
||||
&::after{
|
||||
position: absolute;
|
||||
content: " ";
|
||||
width: 0%;
|
||||
height: 1px;
|
||||
background: black;
|
||||
width: 5px;
|
||||
}
|
||||
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;
|
||||
.btn a{
|
||||
margin-right: 10px;
|
||||
&::after{
|
||||
position: absolute;
|
||||
content: " ";
|
||||
width: 5px;
|
||||
}
|
||||
&:hover, &.active{
|
||||
&::after{
|
||||
content: "\002022";
|
||||
}
|
||||
}
|
||||
input{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
&:hover, &.active{
|
||||
&::after{
|
||||
content: "\002022";
|
||||
}
|
||||
}
|
||||
}
|
||||
#items{
|
||||
.full-works{
|
||||
.card{
|
||||
width: calc( (100vw / 3 - calc( 41px / 3 ) ) );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.down{
|
||||
.cat-list{
|
||||
&::after{
|
||||
-webkit-animation: showborder 2.5s 1.6s ease forwards;
|
||||
animation: showborder 2.5s 1.6s ease forwards;
|
||||
}
|
||||
ul{
|
||||
-webkit-animation: ultranslate 1s 2.5s ease forwards;
|
||||
animation: ultranslate 1s 2.5s ease forwards;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#page-wrapper{
|
||||
padding-left: 10px;
|
||||
z-index: 1000;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.scroll{
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.full-works{
|
||||
.card{
|
||||
opacity: 0;
|
||||
margin-top: 30px;
|
||||
}
|
||||
}
|
||||
|
||||
.down{
|
||||
#start{
|
||||
margin-top: 90px;
|
||||
height: 100%;
|
||||
}
|
||||
.cat-list{
|
||||
&:after{
|
||||
width: 100%;
|
||||
height: 1px;
|
||||
background: black;
|
||||
}
|
||||
& > ul{
|
||||
label{
|
||||
opacity: 1;
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
.full-works{
|
||||
.card{
|
||||
opacity: 1;
|
||||
transition: 1.5s opacity 1s ease, 1.5s margin-top 1s ease;
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.down{
|
||||
.cat-list{
|
||||
&:after{
|
||||
-webkit-transition: 2s 1.5s width ease;
|
||||
transition: 2s 1.5s width ease;
|
||||
}
|
||||
& > ul{
|
||||
label{
|
||||
-webkit-transition: 2s 1.5s all ease;
|
||||
transition: 2s 1.5s all ease;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,6 @@ body, html {
|
||||
margin: 0;
|
||||
overflow: hidden;
|
||||
-webkit-transition: opacity 400ms;
|
||||
-moz-transition: opacity 400ms;
|
||||
transition: opacity 400ms;
|
||||
}
|
||||
|
||||
@@ -30,7 +29,7 @@ header{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
|
||||
.onepage-pagination {
|
||||
position: absolute;
|
||||
right: 10px;
|
||||
@@ -82,7 +81,6 @@ header{
|
||||
}
|
||||
.disabled-onepage-scroll .onepage-wrapper {
|
||||
-webkit-transform: none !important;
|
||||
-moz-transform: none !important;
|
||||
transform: none !important;
|
||||
-ms-transform: none !important;
|
||||
min-height: 100%;
|
||||
|
||||
@@ -93,7 +93,7 @@ time{
|
||||
font-size: $fs;
|
||||
}
|
||||
.card-footer{
|
||||
line-height: 0.2rem;
|
||||
line-height: 0.5rem;
|
||||
.tags{
|
||||
a{
|
||||
color: $grey!important;
|
||||
|
||||
@@ -2,38 +2,119 @@ html, body{
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.blog{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
&.down{
|
||||
height: 5rem;
|
||||
}
|
||||
}
|
||||
|
||||
#start{
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.card{
|
||||
width: calc((100% / 3));
|
||||
line-height: 0.8rem!important;
|
||||
width: calc((100% / 3) - (10px));
|
||||
margin-bottom: 7px;
|
||||
.card-header{
|
||||
margin-top: 5px;
|
||||
width: 100%;
|
||||
display: -webkit-inline-box;
|
||||
display: -ms-inline-flexbox;
|
||||
display: inline-flex;
|
||||
-webkit-box-align: baseline;
|
||||
-ms-flex-align: baseline;
|
||||
align-items: baseline;
|
||||
& > div{
|
||||
& > div {
|
||||
margin-right: 5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.scroll{
|
||||
cursor: pointer;
|
||||
}
|
||||
#top{
|
||||
display: none;
|
||||
.contact{
|
||||
z-index: 999;
|
||||
position: fixed;
|
||||
right: 0;
|
||||
top: 0;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
-webkit-transition: width 0.5s ease, margin 0.5s;
|
||||
transition: width 0.5s ease, margin 0.5s;
|
||||
& > svg{
|
||||
-webkit-animation: rotation 12s infinite linear;
|
||||
animation: rotation 12s infinite linear;
|
||||
}
|
||||
h3{
|
||||
cursor: pointer;
|
||||
z-index: 999;
|
||||
position: fixed;
|
||||
top: 34px;
|
||||
right: 37px;
|
||||
color: white;
|
||||
-webkit-transform: rotate(45deg);
|
||||
transform: rotate(45deg);
|
||||
transition: transform 0.5s ease;
|
||||
}
|
||||
.txt{
|
||||
text-align: right;
|
||||
position: fixed;
|
||||
right: -200%;
|
||||
left: 200%;
|
||||
-webkit-transition: color 0.5s ease, right 0s;
|
||||
color: transparent;
|
||||
transition: color 0.5s ease, right 0s;
|
||||
p{
|
||||
margin-top: 1rem;
|
||||
font-size: 1.5rem;
|
||||
line-height: 2rem;
|
||||
a{
|
||||
display: inline-block;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
em{
|
||||
font-size: 1rem;
|
||||
}
|
||||
&:nth-last-of-type(2){
|
||||
font-size: 1.2rem;
|
||||
line-height: 1.6rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
&.open{
|
||||
width: 2000px;
|
||||
height: auto;
|
||||
margin: -550px;
|
||||
-webkit-transition: width 0.5s ease, margin 0.5s;
|
||||
transition: width 0.5s ease, margin 0.5s;
|
||||
.txt{
|
||||
color: white;
|
||||
-webkit-transition: color 0.5s ease, right 0s;
|
||||
transition: color 0.5s ease, right 0s;
|
||||
text-align: right;
|
||||
position: fixed;
|
||||
top: 50px;
|
||||
left: auto;
|
||||
right: 70px;
|
||||
width: 650px;
|
||||
.reso{
|
||||
& > div{
|
||||
opacity: 1;
|
||||
-webkit-transition: opacity 0.5s 0.5s ease;
|
||||
transition: opacity 0.5s 0.5s ease;
|
||||
}
|
||||
}
|
||||
}
|
||||
h3{
|
||||
color: transparent;
|
||||
-webkit-transform: rotate(0deg);
|
||||
transform: rotate(0deg);
|
||||
transition: transform 0.5s ease;
|
||||
}
|
||||
}
|
||||
&.close{
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
.txt{
|
||||
color: transparent;
|
||||
text-align: right;
|
||||
position: fixed;
|
||||
right: -200%;
|
||||
-webkit-transition: color 0.5s ease, right 0s;
|
||||
transition: color 0.5s ease, right 0s;
|
||||
}
|
||||
h3{
|
||||
-webkit-transform: rotate(45deg);
|
||||
transform: rotate(45deg);
|
||||
transition: transform 0.5s ease;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,136 +1,57 @@
|
||||
body{
|
||||
#page-wrapper.item{
|
||||
margin: 0 10px;
|
||||
.contact{
|
||||
.txt{
|
||||
display: none
|
||||
.item{
|
||||
#start{
|
||||
width: calc(100% - 10px);
|
||||
}
|
||||
}
|
||||
#items{
|
||||
.header-item{
|
||||
width: 100%;
|
||||
display: -webkit-inline-box;
|
||||
display: -ms-inline-flexbox;
|
||||
display: inline-flex;
|
||||
-webkit-box-pack: justify;
|
||||
-ms-flex-pack: justify;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 1rem;
|
||||
.info{
|
||||
width: calc(100% / 3);
|
||||
.title{
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
h2{
|
||||
text-transform: uppercase;
|
||||
}
|
||||
& > *{
|
||||
margin-right: 0.5rem;
|
||||
}
|
||||
}
|
||||
.content{
|
||||
margin-top: 1rem;
|
||||
}
|
||||
}
|
||||
.prev-next{
|
||||
width: calc(100% / 3);
|
||||
position: relative;
|
||||
.btn-info{
|
||||
width: 250px;
|
||||
position: absolute;
|
||||
top: 20px;
|
||||
left: -80px;
|
||||
-webkit-transform: rotate(-17deg);
|
||||
transform: rotate(-17deg);
|
||||
}
|
||||
}
|
||||
}
|
||||
#start{
|
||||
margin-top: 5rem;
|
||||
}
|
||||
#body-wrapper.blog-listing {
|
||||
.img-card{
|
||||
width: calc( (100vw / 3 - calc( 41px / 3 ) ) );
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.header-item{
|
||||
position: relative;
|
||||
margin-bottom: 1.5rem;
|
||||
padding-top: 1.5rem;
|
||||
.title{
|
||||
display: -webkit-inline-box;
|
||||
display: -ms-inline-flexbox;
|
||||
display: inline-flex;
|
||||
-webkit-box-align: baseline;
|
||||
-ms-flex-align: baseline;
|
||||
align-items: baseline;
|
||||
h2{
|
||||
margin-right: 5px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
time{
|
||||
margin-right: 5px;
|
||||
}
|
||||
span{
|
||||
margin-right: 5px;
|
||||
}
|
||||
}
|
||||
.content{
|
||||
width: calc((100% / 3) - 15px);
|
||||
margin-top: 20px;
|
||||
}
|
||||
.prev-next{
|
||||
width: calc(100% / 3);
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
top: calc( 50% + 1.5rem );
|
||||
-webkit-transform: translateY(-50%);
|
||||
transform: translateY(-50%);
|
||||
right: 0px;
|
||||
.btn{
|
||||
display: block;
|
||||
width: auto;
|
||||
height: 100%;
|
||||
.btn-info{
|
||||
position: absolute;
|
||||
-webkit-transform: rotate(-15deg);
|
||||
transform: rotate(-15deg);
|
||||
margin-left: 40px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
img{
|
||||
float: right;
|
||||
width: 80%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.top{
|
||||
text-align: center;
|
||||
margin: 20px auto 20px auto;
|
||||
width: 50px;
|
||||
img{
|
||||
width: 20px;
|
||||
margin-bottom:5px;
|
||||
}
|
||||
p{
|
||||
-webkit-transform: rotate(-10deg);
|
||||
transform: rotate(-10deg);
|
||||
}
|
||||
}
|
||||
.top{
|
||||
cursor: pointer;
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 960px) {
|
||||
body{
|
||||
#page-wrapper.item{
|
||||
#body-wrapper.blog-listing{
|
||||
.header-item{
|
||||
.content{
|
||||
width: calc((100% / 2) - 5px);
|
||||
}
|
||||
.prev-next{
|
||||
width: calc((100% / 2) - 5px);
|
||||
}
|
||||
}
|
||||
.img-card{
|
||||
width: calc((100% / 2) - 5px);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 600px) {
|
||||
body{
|
||||
#page-wrapper.item{
|
||||
#body-wrapper.blog-listing{
|
||||
.header-item{
|
||||
.content{
|
||||
width: calc((100%) - 15px);
|
||||
}
|
||||
.prev-next{
|
||||
width: calc((100%) - 15px);
|
||||
position: relative;
|
||||
-webkit-transform: translateY(0%);
|
||||
transform: translateY(0%);
|
||||
.btn{
|
||||
.btn-info{
|
||||
display: none;
|
||||
}
|
||||
img{
|
||||
float: none;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.img-card{
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.img-card{
|
||||
width: calc((100% / 3) - (10px));
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
@@ -1,37 +1,160 @@
|
||||
@media screen and (max-width: 960px) {
|
||||
|
||||
@media screen and (max-width: 1024px) {
|
||||
.card{
|
||||
width: calc((100% / 2) - 10px);
|
||||
}
|
||||
.works-mea{
|
||||
& > div:last-child{
|
||||
display: none;
|
||||
.card{
|
||||
&:nth-child(3){
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
.card{
|
||||
width: calc((100% / 2) - 5px )!important;
|
||||
|
||||
#items{
|
||||
.header-item{
|
||||
.info{
|
||||
width: calc(100% / 2);
|
||||
}
|
||||
}
|
||||
}
|
||||
.img-card{
|
||||
width: calc((100% / 2) - 5px);
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 600px) {
|
||||
@media screen and (orientation:landscape) and (max-width: 812px) {
|
||||
.blog{
|
||||
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;
|
||||
nav{
|
||||
margin-top: 50vh;
|
||||
transform: translate(0, -100%);
|
||||
}
|
||||
}
|
||||
}
|
||||
.works-mea{
|
||||
& > div:nth-child(2){
|
||||
display: none;
|
||||
.down{
|
||||
header{
|
||||
.head{
|
||||
nav{
|
||||
margin-top: 0!important;
|
||||
transform: translate(0)!important;
|
||||
transition: all 0.5s 1s ease;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.works-mea{
|
||||
display: none!important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 414px) {
|
||||
.down header, .item header{
|
||||
height: 70px;
|
||||
}
|
||||
header{
|
||||
.head{
|
||||
padding-top: 10px;
|
||||
nav{
|
||||
width: 80%!important;
|
||||
min-width: 80%!important;
|
||||
}
|
||||
}
|
||||
.contact{
|
||||
width: 70px;
|
||||
height: 70px;
|
||||
h3{
|
||||
top: 24px;
|
||||
right: 27px;
|
||||
}
|
||||
&.open{
|
||||
.txt{
|
||||
right: 25px;
|
||||
width: calc(100% - 30px);
|
||||
height: calc(100% - 50px);
|
||||
overflow-y: auto;
|
||||
p{
|
||||
font-size: 1rem;
|
||||
line-height: 1.4rem;
|
||||
&:nth-last-of-type(2){
|
||||
font-size: 0.8rem;
|
||||
line-height: 1.2rem;
|
||||
a{
|
||||
width: 15px;
|
||||
margin-left: 5px;
|
||||
}
|
||||
}
|
||||
em{
|
||||
font-size: 0.5rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
&.close{
|
||||
width: 70px;
|
||||
height: 70px;
|
||||
}
|
||||
}
|
||||
.works-mea{
|
||||
.card{
|
||||
width: 100%;
|
||||
&:nth-child(2){
|
||||
display: none;
|
||||
}
|
||||
&:nth-child(3){
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.blog{
|
||||
h2{
|
||||
line-height: 9vw;
|
||||
font-size: 6vw;
|
||||
}
|
||||
}
|
||||
.down, .item{
|
||||
#start{
|
||||
margin-top: 70px;
|
||||
}
|
||||
}
|
||||
.card{
|
||||
width: 100%!important;
|
||||
width: calc(100% - 10px);
|
||||
}
|
||||
|
||||
#items{
|
||||
.header-item{
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-box-direction: reverse;
|
||||
-ms-flex-direction: column-reverse;
|
||||
flex-direction: column-reverse;
|
||||
& > div{
|
||||
width: 100%!important;
|
||||
}
|
||||
& > .info{
|
||||
margin-top: 25px;
|
||||
.title{
|
||||
display: block;
|
||||
& > a {
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
.prev-next{
|
||||
.btn-info{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.img-card{
|
||||
width: calc(100%);
|
||||
}
|
||||
.item{
|
||||
#items{
|
||||
padding-top: 25px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user