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