SiteWebAstrolabe/src/scss/components/_member-list.scss
Yves Gatesoupe f6d4639ca3 minor fixes
2020-07-16 17:40:16 +02:00

54 lines
914 B
SCSS

.member-list {
margin-bottom: 8rem;
&__heading {
margin: 8rem 0 4rem;
}
&__items {
margin-top: 4rem;
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: auto;
grid-column-gap: 1.5rem;
grid-row-gap: 6rem;
}
&__item {
display: flex;
flex-direction: column;
align-items: center;
color: var(--color-dark);
img {
border-radius: 50%;
height: 17rem;
width: auto;
+ .btn {
margin-top: -1.5rem;
margin-bottom: .5rem;
+ p {
font-size: 1.125rem;
}
}
}
&.info {
display: flex;
flex-direction: column;
background-color: var(--color-white);
color: var(--color-dark);
padding: 2rem;
font-size: 1.5rem;
font-weight: 600;
p {
text-align: center;
margin: 1rem 0 3.125rem;
}
}
}
}