65 lines
1.3 KiB
CSS
65 lines
1.3 KiB
CSS
.projets-container {
|
|
height: calc(100vh - 200px);
|
|
display: flex;
|
|
flex-direction: column;
|
|
background-color: #F8FAFC;
|
|
padding: 10vmin;
|
|
}
|
|
|
|
.projets-title {
|
|
color: black;
|
|
font-family: "Moonstone History";
|
|
font-weight: 10;
|
|
font-size: 10vmin;
|
|
line-height: 12vh;
|
|
margin: 0;
|
|
}
|
|
|
|
.projets-carrousel {
|
|
margin-top: 100px;
|
|
height: 100%;
|
|
}
|
|
|
|
.projets-carrousel-item {
|
|
width: 80vmin;
|
|
height: 100%;
|
|
margin-right: 50px;
|
|
background-position: center;
|
|
background-size: cover;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: end;
|
|
text-decoration: none;
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
.projets-carrousel-item h1 {
|
|
font-family: 'Overused Grotesk';
|
|
font-weight: 700;
|
|
font-size: 4vmin;
|
|
color: rgba(248, 250, 252, 0.75);
|
|
margin: 0;
|
|
margin-left: 25px;
|
|
transition: font-size 0.2s;
|
|
}
|
|
|
|
.projets-carrousel-item:hover h1 {
|
|
color: #F8FAFC;
|
|
text-decoration: underline;
|
|
font-size: 5vmin;
|
|
}
|
|
|
|
.projets-carrousel-item h2 {
|
|
font-family: 'Overused Grotesk';
|
|
font-weight: 400;
|
|
color: rgba(248, 250, 252, 0.75);
|
|
margin: 0;
|
|
margin-left: 25px;
|
|
margin-bottom: 25px;
|
|
transition: font-size 0.2s;
|
|
}
|
|
|
|
.projets-carrousel-item:hover h2 {
|
|
color: #F8FAFC;
|
|
font-size: 4vmin;
|
|
} |