actu si 2 dates sur une ligne
This commit is contained in:
@@ -30,11 +30,22 @@
|
||||
}
|
||||
}
|
||||
.block-entity-fieldnodefield-date{
|
||||
grid-column: 2;
|
||||
grid-column: 2 / span 3;
|
||||
text-transform: uppercase;
|
||||
color: $blue-dark;
|
||||
font-size: 1.2rem;
|
||||
font-weight: 800;
|
||||
.field--name-field-date{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: flex-start;
|
||||
.field__item:not(:last-child):after{
|
||||
padding-right: 1rem;
|
||||
padding-left: 1rem;
|
||||
content: "|";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
.block-entity-fieldnodefield-images{
|
||||
|
||||
@@ -264,14 +264,27 @@
|
||||
padding-bottom: 1rem;
|
||||
}
|
||||
}
|
||||
time{
|
||||
font-size: 0.9rem;
|
||||
font-weight: 800;
|
||||
padding-right: 1rem;
|
||||
width: fit-content;
|
||||
&:after{
|
||||
padding-left: 0.5rem;
|
||||
content: "|";}
|
||||
|
||||
.field--name-field-date{
|
||||
display: flex;
|
||||
flex-direction: row-reverse;
|
||||
justify-content: flex-end;
|
||||
&:not(:last-child):after{
|
||||
padding-right: 1rem;
|
||||
content: "|";
|
||||
}
|
||||
time{
|
||||
font-size: 0.9rem;
|
||||
font-weight: 800;
|
||||
padding-right: 1rem;
|
||||
width: fit-content;
|
||||
// :not(:last-child):after{
|
||||
// padding-left: 0.5rem;
|
||||
// content: "|";
|
||||
// }
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
.field:not(.field--name-field-images){
|
||||
|
||||
@@ -57,15 +57,28 @@
|
||||
content:url('data:image/svg+xml,<svg width="160" height="40" xmlns="http://www.w3.org/2000/svg" version="1.1"> <line x1="0" x2="80" y1="20" y2="20" stroke-linecap="cube" stroke="rgb(9,57,139)" stroke-width="5"/></svg>');
|
||||
}
|
||||
}
|
||||
time{
|
||||
font-size: 0.9rem;
|
||||
font-weight: 800;
|
||||
padding-right: 1rem;
|
||||
width: fit-content;
|
||||
&:after{
|
||||
padding-left: 0.5rem;
|
||||
content: "|";}
|
||||
.field--name-field-date{
|
||||
display: flex;
|
||||
flex-direction: row-reverse;
|
||||
justify-content: flex-end;
|
||||
&:not(:last-child):after{
|
||||
padding-right: 1rem;
|
||||
content: "|";
|
||||
}
|
||||
time{
|
||||
font-size: 0.9rem;
|
||||
font-weight: 800;
|
||||
padding-right: 1rem;
|
||||
width: fit-content;
|
||||
// :not(:last-child):after{
|
||||
// padding-left: 0.5rem;
|
||||
// content: "|";
|
||||
// }
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
.field:not(.field--name-field-images){
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user