76 lines
1.4 KiB
SCSS
76 lines
1.4 KiB
SCSS
#start{
|
|
margin-top: 35px;
|
|
//home
|
|
.item{
|
|
display: flex;
|
|
.card{
|
|
position: relative;
|
|
width: calc(100% / 3);
|
|
overflow-y: hidden;
|
|
padding-bottom: 5px;
|
|
.card-image:hover{
|
|
transition: all 0.5s;
|
|
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;
|
|
top: 105%;
|
|
left: 50%;
|
|
opacity: 0;
|
|
transition: all 1s;
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
}
|
|
}
|
|
//pageprojet
|
|
.content-item{
|
|
.e-content{
|
|
display: flex;
|
|
}
|
|
.media{
|
|
width: calc((100% / 3) * 2)
|
|
}
|
|
.content{
|
|
.txt{
|
|
position: fixed;
|
|
right: 0;
|
|
width: calc(100% / 3);
|
|
height: calc(100% - 70px);
|
|
padding: 0 30px 0 30px;
|
|
overflow-x: auto;
|
|
h3{
|
|
margin: 20px 0 10px 0;
|
|
}
|
|
}
|
|
.taxonomy{
|
|
display: flex;
|
|
width: 100%;
|
|
height: 35px;
|
|
background: white;
|
|
padding: 0 10px 0 20px;
|
|
position:fixed;
|
|
bottom: 0;
|
|
border-top: 2px solid black;
|
|
span{
|
|
margin: auto 0;
|
|
a{
|
|
margin-left: 5px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|