/nope projet badge laureat only
This commit is contained in:
@@ -4373,7 +4373,7 @@ body {
|
|||||||
padding-left: 2rem;
|
padding-left: 2rem;
|
||||||
/* Quand ouvert */
|
/* Quand ouvert */
|
||||||
}
|
}
|
||||||
.node-type-projet .layout--threecol-25-50-25 .layout__region--second .block-region-second .field_field_laureats ::before {
|
.node-type-projet .layout--threecol-25-50-25 .layout__region--second .block-region-second .field_field_laureats:has(.laureat:not(:empty))::before {
|
||||||
content: "";
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: -0.1rem;
|
top: -0.1rem;
|
||||||
|
|||||||
@@ -126,19 +126,24 @@
|
|||||||
// margin-top: 3rem;
|
// margin-top: 3rem;
|
||||||
}
|
}
|
||||||
.field_field_laureats{
|
.field_field_laureats{
|
||||||
::before{
|
|
||||||
|
&:has(.laureat:not(:empty))::before {
|
||||||
content: "";
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
// display: block;
|
||||||
top:-0.1rem;
|
top:-0.1rem;
|
||||||
left: 0.5rem;
|
left: 0.5rem;
|
||||||
width: 2.5rem;
|
width: 2.5rem;
|
||||||
height: 2.5rem;
|
height: 2.5rem;
|
||||||
|
// background-color: #f6f7f3;
|
||||||
background-image: url("../img/laureat-ouvert.svg");
|
background-image: url("../img/laureat-ouvert.svg");
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-position: center;
|
background-position: center;
|
||||||
background-size: contain;
|
background-size: contain;
|
||||||
z-index: 0;
|
z-index: 0;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.laureat{
|
.laureat{
|
||||||
font-size: 0;
|
font-size: 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user