Files
hehe/user/themes/hehe/scss/template/_section.scss
T
2018-08-27 14:35:10 +02:00

105 lines
2.0 KiB
SCSS

#start{
margin-top: 40px;
//home
.item{
display: flex;
flex-wrap: wrap;
.card{
position: relative;
width: calc((100% / 3) - 3.5px);
overflow-y: hidden;
padding-bottom: 5px;
&:nth-child(3n+2){
margin: 0 5px;
}
.card-image:hover{
transition: all 0.6s;
background-color: rgb(0, 255, 0);
img{
transition: all .6s;
mix-blend-mode: multiply;
opacity: .95;
}
& ~ .card-title{
top: 50%;
left: 50%;
opacity: 1;
transition: all 1s;
}
}
.card-title{
pointer-events: none;
position: absolute;
left: 50%;
opacity: 0;
transition: all 1s;
transform: translateX(-50%);
}
}
}
//pageprojet
.content-item{
.e-content{
display: flex;
height: 100%;
}
.media{
width: calc((100% / 3) * 2);
}
.content{
width: calc(100% / 3);
height: calc(100vh - 40px);
.txt{
position: fixed;
right: 0;
width: calc(100% / 3);
height: calc(100% - 90px);
padding: 20px 30px 0px 30px;
overflow-x: auto;
h3{
margin: 0px 0 10px 0;
}
}
.taxonomy{
width: calc(100% / 3);
height: auto;
background: white;
position:fixed;
bottom: 0;
span{
margin: auto 0;
.row{
border-top: 2px solid black;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
a{
margin: 10px 30px;
}
}
}
}
}
}
//page news
.news{
width: calc(100% / 7 );
height: auto;
padding: 20px;
h3{
pointer-events: none;
margin-bottom: 10px;
}
}
.about{
width: calc(100% / 3 );
height: auto;
padding: 20px;
h3{
pointer-events: none;
margin-bottom: 10px;
}
}
}