SiteWebAstrolabe/src/scss/components/_partner.scss
2020-07-17 23:58:03 +02:00

52 lines
852 B
SCSS

.partner {
background-color: var(--color-light-gray);
.wrapper {
display: flex;
flex-direction: column;
}
&__heading {
align-self: center;
text-transform: uppercase;
font-size: 1.125rem;
font-weight: 300;
margin: 1.5rem 0 3rem;
}
&__list {
list-style: none;
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-template-rows: 1fr;
grid-column-gap: 1.5rem;
grid-row-gap: 0;
margin-bottom: 2rem;
}
&__list-item {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
img {
max-width: 8rem;
}
}
}
@media (max-width: 767.98px) {
.partner {
&__list {
display: flex;
overflow-x: auto;
padding-bottom: 1rem;
}
&__list-item + &__list-item {
margin-left: 1.5rem;
}
}
}