drupal-quartiersdedemain/web/themes/custom/quartiers_de_demain/scss/pages/_partenaires.scss

102 lines
3.4 KiB
SCSS
Raw Normal View History

2024-02-27 13:30:59 +01:00
.partenaires{
2024-03-01 10:27:22 +01:00
.layout-content{
.content_container{
#block-quartiers-de-demain-titredepage{
grid-column: 3 /span 9;
grid-row: 1;
margin-top: 3rem;
2024-05-07 13:22:13 +02:00
@media(max-width: 500px){
margin-top: 1rem;
grid-column: 2 /span 9;
}
2024-02-27 13:30:59 +01:00
2024-03-01 10:27:22 +01:00
h1{
text-transform: uppercase;
color: $red_QDD ;
font-size: $font-large;
font-weight: 300;
2024-02-27 22:14:29 +01:00
}
2024-03-01 10:27:22 +01:00
}
.views-element-container{
grid-column: 3 /span 9;
grid-row: 2;
2024-05-07 13:22:13 +02:00
@media(max-width: 500px){
grid-column: 2 /span 9;
}
2024-03-01 10:27:22 +01:00
.node-type-partenaire{
width: 100%;
padding-bottom: 3rem;
display: grid;
grid-template-columns: repeat(9, 1fr);
grid-template-rows: repeat(auto-fill);
// grid-gap: 10px;
@media (max-width: 810px){
display: flex;
flex-direction: column;
2024-02-27 22:14:29 +01:00
}
2024-03-01 10:27:22 +01:00
.field_field_logo{
2024-03-05 15:46:58 +01:00
grid-column: 1 / 3;
2024-03-01 10:27:22 +01:00
grid-row: 1 /span 3;
padding-right: 1rem;
margin: auto;
img{
object-fit: contain;
max-width: 200px;
max-height: 200px;
}
}
.field_title{
grid-column: 3 /span 8;
grid-row: 1;
font-weight: 500;
font-size: $font-normal;
margin-left: 1rem;
2024-03-04 11:23:46 +01:00
@media (max-width:810px) {
margin-left: 0;
}
2024-03-01 10:27:22 +01:00
}
.field_body{
grid-column: 3 /span 8;
grid-row: 2;
margin-left: 1rem;
2024-03-04 11:23:46 +01:00
@media (max-width:810px) {
margin-left: 0;
}
2024-02-27 13:30:59 +01:00
2024-03-01 10:27:22 +01:00
}
.field_field_lien{
grid-column: 3 /span 8;
grid-row: 3;
border-bottom: 2px solid $blue_QDD;
width: fit-content;
padding-bottom: 0.5rem;
margin-left: 1rem;
2024-03-04 11:23:46 +01:00
@media (max-width:810px) {
margin-left: 0;
}
2024-02-27 13:30:59 +01:00
2024-03-01 10:27:22 +01:00
a{
display: inline-flex;
align-items: center;
svg{
display: none;
}
&::before{
display: inline-block;
content: url("../images/noun-arrow-to-right.svg");
padding-right: 0.5rem;
padding-top: 0.2rem;
}
2024-02-27 22:14:29 +01:00
}
}
}
2024-02-27 13:30:59 +01:00
2024-03-01 10:27:22 +01:00
}
}
2024-02-27 22:14:29 +01:00
}
2024-03-01 10:27:22 +01:00
2024-02-27 22:14:29 +01:00
}
2024-02-27 13:30:59 +01:00