css timeline

This commit is contained in:
2024-09-20 15:19:36 +02:00
parent 912964a61a
commit fc14bd11d5
2 changed files with 23 additions and 14 deletions

View File

@@ -40,16 +40,21 @@
width: fit-content;
margin: auto;
margin-top: 0;
margin-bottom: 8rem;
padding-bottom: 2rem;
@media(max-width:1090px){
// top: -211px;
// display: none;
margin-bottom: 9rem;
}
#arrowPrev{
padding-inline: 0;
}
button{
background-color: transparent;
border: none;
padding-left: 1rem;
&:hover{
opacity: 0.5;
}
@@ -71,7 +76,7 @@
.__paragraphs{
position: relative;
display: inline-flex;
width: 700px;
width: 500px;
height: 1px;
background: black;
// &:last-of-type{
@@ -108,7 +113,7 @@
left: -18px;
top: -16px;
transform: translateY(-100%);
width: 600px;
width: 400px;
height: 300px;
font-size: 1rem;
white-space: normal;
@@ -207,15 +212,16 @@
border-radius: 5%;
padding: 0.6rem 0.6rem;
line-height: 1.1;
width: fit-content;
min-width: 35%;
width: 50%;
// min-width: fit-content;
@media(max-width:1090px){
height: 200px;
min-width: 80%;
}
.field_field_titre{
font-size: 0.6rem;
font-weight: 800;
font-size: 0.8rem;
font-family: 'gilroy-semibold';
// font-weight: 800;
@media(max-width:1090px){
font-size: 1rem;
}
@@ -223,7 +229,7 @@
.field_field_description{
font-family: 'gilroy-regular';
p{
font-size: 0.6rem !important;
font-size: 0.8rem !important;
margin: 0;
@media(max-width:1090px){
font-size: 1rem !important;