node projet teaser homogénéisation typo et margin avec node site teaser

This commit is contained in:
2025-11-04 22:41:49 +01:00
parent a19d7b0edb
commit 708c3d8369
2 changed files with 38 additions and 11 deletions

View File

@@ -48,9 +48,17 @@ main{
@media(max-width: 550px){
font-size: 0.7rem ;
}
.views-field-title .field-content{
.views-field-title{
h2{
margin: 0;
color: $blue_QDD;
font-family: "gilroy-bold";
padding-top: 0.5rem;
font-size: 0.55rem ;
@media(max-width: 550px){
font-size: 0.7rem ;
}
a{
color: $blue_QDD;
font-family: "gilroy-bold";
@@ -126,6 +134,8 @@ main{
img{
width: 100%;
height: auto;
aspect-ratio: 3/2;
object-fit: cover;
}
.image-field-caption{
display: none;
@@ -140,16 +150,19 @@ main{
h3{
font-size: 0.6rem;
margin: 0;
text-transform: uppercase;
}
}
.field_field_intro{
order: 4;
p{
font-size: 0.5rem;
font-family: "gilroy-light";
margin-top: 0;
}
.more-link{
width: fit-content;
padding-left: 0.5rem;
background: black;
@media (max-width:810px) {
margin-left: 0;
@@ -160,7 +173,8 @@ main{
align-items: center;
color: white;
text-transform: uppercase;
font-size: 0.6rem;
font-size: 0.5rem;
padding-left: 0.5rem;
svg{
display: none;
}
@@ -169,7 +183,7 @@ main{
content: url("../img/noun-arrow-to-right.svg");
padding-right: 0.2rem;
padding-left: 0.2rem;
padding-bottom: 0.2rem;
// padding-bottom: 0.2rem;
height: 25px;
}
}