image caption

This commit is contained in:
2026-05-21 16:37:24 +02:00
parent 5fff97b92a
commit 85492a5ffe
4 changed files with 95 additions and 125 deletions
@@ -140,7 +140,24 @@
display: none;
}
}
.field--name-field-region {
.field__label{
display: none;
}
display: flex;
align-items: center;
gap: 0.5rem;
margin-top: 1rem;
&::before {
content: "";
display: block;
width: 20px;
height: 20px;
background: url("../images/pictos/picto_lieu.svg") no-repeat center;
background-size: contain;
}
}
.field--name-field-incube {
order: 4;
display: inline-flex;
@@ -171,24 +188,7 @@
.field--name-field-encours-fini {
display: none;
}
.field--name-field-region {
.field__label{
display: none;
}
display: flex;
align-items: center;
gap: 0.5rem;
margin-bottom: 2rem;
&::before {
content: "";
display: block;
width: 20px;
height: 20px;
background: url("../images/pictos/picto_lieu.svg") no-repeat center;
background-size: contain;
}
}
.field--name-field-etape-du-projet,
.field--name-field-type-de-projet,
@@ -221,6 +221,14 @@
.field__label{
display: none !important;
}
ul{margin-top: 0;}
p{margin-top: 0;}
.paragraph--type--texte{
margin-top: 1.5rem;
.field--name-field-titre{
margin-bottom: 1rem;
}
}
}
///// ///////////
@@ -81,12 +81,13 @@
.field__items {
height: 100%;
display: grid;
gap: 3px;
gap: 4px;
}
.field__item {
overflow: hidden;
aspect-ratio: 3 / 2;
overflow: visible;
aspect-ratio: 3.5/2;
// aspect-ratio: 4/2;
}
.field__item img {
@@ -97,7 +98,14 @@
}
.image-field-caption {
display: none;
display: inline-block;
width: 100%;
z-index: 2;
font-size: 6pt;
line-height: 1;
margin-left: 0;
margin-top: 0;
margin-bottom: 0;
}
// 1 seule image
@@ -132,26 +140,10 @@
.field--name-title {
order: 2;
font-family: "Marianne";
font-size: 2rem;
font-size: 1rem;
font-weight: 800;
color: $blue-light;
@media (max-width: 1624px) {
font-size: 2.3rem;
}
@media (max-width: 1384px) {
font-size: 2rem;
}
@media (max-width: 1216px) {
font-size: 2rem;
}
@media (max-width: 810px) {
font-size: 1.7rem;
}
a {
color: $blue-light;
}
@@ -160,22 +152,10 @@
.field--name-field-equipe {
order: 3;
color: $blue-dark;
font-size: 1.5rem;
font-size: 0.9rem;
font-weight: 900;
text-transform: uppercase;
@media (max-width: 1624px) {
font-size: 1.3rem;
}
@media (max-width: 1216px) {
font-size: 1.1rem;
}
@media (max-width: 810px) {
font-size: 1rem;
}
.field__label {
display: none;
}
@@ -183,6 +163,7 @@
.field--name-field-incube {
order: 4;
font-size: 8pt;
display: inline-flex;
width: fit-content;
background-color: $red;
@@ -191,7 +172,7 @@
padding-right: 0.3rem;
padding-left: 0.2rem;
margin-bottom: 1rem;
margin-top: 1rem;
// margin-top: 1rem;
// flex-direction: row;
&::before {
@@ -215,9 +196,7 @@
.field--name-field-region {
display: flex;
align-items: center;
gap: 0.5rem;
margin-bottom: 2rem;
gap: 0.5rem;
&::before {
content: "";
display: block;
@@ -271,7 +250,7 @@
.field__label {
color: $blue-dark;
font-size: 1.2rem;
font-size: 0.9pt;
font-weight: 900;
text-transform: uppercase;
margin-bottom: 0 !important;
@@ -313,6 +292,10 @@
height: auto !important;
object-fit: contain !important;
display: block;
}
blockquote{
}
}
}