css button plaquette

This commit is contained in:
ouidade 2024-09-20 21:51:23 +02:00
parent b98dcea76b
commit e4796d5b29
2 changed files with 43 additions and 0 deletions

View File

@ -1745,6 +1745,26 @@ header #block-quartiers-de-demain-logoquartiersdedemain .field_field_logo .qdd-h
display: flex;
justify-content: flex-end;
padding-right: 2rem;
margin-top: 0;
margin-bottom: 2rem;
}
#home article.node-type-static .field_body > p:nth-child(4) a {
display: inline-flex;
align-items: center;
color: white;
background: black;
text-transform: uppercase;
font-size: 0.6rem;
padding-left: 0.5rem;
}
#home article.node-type-static .field_body > p:nth-child(4) a svg {
display: none;
}
#home article.node-type-static .field_body > p:nth-child(4) a::after {
display: inline-flex;
content: url("../img/noun-arrow-to-right.svg");
padding-right: 0.2rem;
padding-left: 0.2rem;
}
#home article.node-type-static .field_field_title {
width: fit-content;

View File

@ -129,12 +129,35 @@
display: flex;
justify-content: flex-end;
padding-right: 2rem;
margin-top: 0;
margin-bottom: 2rem;
// margin: auto;
// padding-bottom: 2rem;
// @media(max-width: 1090px){
// padding-top: 0 ;
// margin-top: 0;
// }
a{
display: inline-flex;
align-items: center;
color: white;
background: black;
text-transform: uppercase;
font-size: 0.6rem;
padding-left: 0.5rem;
svg{
display: none;
}
&::after{
display: inline-flex;
content: url("../img/noun-arrow-to-right.svg");
padding-right: 0.2rem;
padding-left: 0.2rem;
}
}
}
}
.field_field_title{