css timeline

This commit is contained in:
ouidade 2024-11-12 15:56:43 +01:00
parent 3783bf8e0e
commit 6ac88b03c1
3 changed files with 77 additions and 3 deletions

View File

@ -1206,8 +1206,9 @@ footer {
padding-left: 0.5rem;
}
#home .__container-deroulement .config_pages--type--deroulement {
height: 550px;
height: fit-content;
margin-top: 3.5rem;
padding-bottom: 3rem;
}
#home .__container-deroulement .config_pages--type--deroulement .field_field_phase {
height: 100%;
@ -1388,6 +1389,39 @@ footer {
#home .__container-deroulement .config_pages--type--deroulement .field_field_phase .timeline .__timeline-content .slick-track .paragraph--type--phase-deroulement .text .field_field_description .field--label-above {
display: none;
}
#home .__container-deroulement .config_pages--type--deroulement .field_field_calendrier {
margin-top: 2rem;
}
#home .__container-deroulement .config_pages--type--deroulement .field_field_calendrier .file--application-pdf {
width: fit-content;
padding-left: 0.5rem;
background: black;
}
@media (max-width: 810px) {
#home .__container-deroulement .config_pages--type--deroulement .field_field_calendrier .file--application-pdf {
margin-left: 0;
}
}
#home .__container-deroulement .config_pages--type--deroulement .field_field_calendrier .file--application-pdf a {
display: inline-flex;
align-items: center;
color: white;
text-transform: uppercase;
font-size: 0.6rem;
}
#home .__container-deroulement .config_pages--type--deroulement .field_field_calendrier .file--application-pdf a svg {
display: none;
}
#home .__container-deroulement .config_pages--type--deroulement .field_field_calendrier .file--application-pdf a::after {
display: inline-flex;
content: url("../img/noun-arrow-to-right.svg");
padding-right: 0.2rem;
padding-left: 0.2rem;
padding-bottom: 0.2rem;
}
#home .__container-deroulement .config_pages--type--deroulement .field_field_calendrier span:nth-child(2) {
display: none;
}
#actus-caroussel {
display: flex;

View File

@ -23,8 +23,9 @@
}
.config_pages--type--deroulement{
height: 550px;
height: fit-content;
margin-top: 3.5rem;
padding-bottom: 3rem;
.field_field_phase{
height: 100%;
.timeline{
@ -219,8 +220,46 @@
}
}
.field_field_calendrier{
margin-top: 2rem;
.file--application-pdf{
width: fit-content;
padding-left: 0.5rem;
// padding-bottom: 0.2rem;
// padding-top: 0.2rem;
background: black;
@media (max-width:810px) {
margin-left: 0;
}
a{
display: inline-flex;
align-items: center;
color: white;
text-transform: uppercase;
font-size: 0.6rem;
svg{
display: none;
}
&::after{
display: inline-flex;
content: url("../img/noun-arrow-to-right.svg");
padding-right: 0.2rem;
padding-left: 0.2rem;
padding-bottom: 0.2rem;
}
}
}
span:nth-child(2){
display: none;
}
}
}
}
}