SiteWebAstrolabe/src/scss/components/_member-list.scss

58 lines
919 B
SCSS
Raw Normal View History

2020-07-07 00:09:37 +02:00
.member-list {
margin-bottom: 8rem;
&__heading {
margin: 8rem 0 2rem;
}
2020-07-13 20:36:44 +02:00
2020-07-07 00:09:37 +02:00
&__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 {
color: var(--color-dark);
a,
a:visited {
text-decoration: none;
color: var(--color-dark);
}
.img-wrapper {
overflow: hidden;
max-height: 22rem;
}
h3 {
margin-top: 1rem;
font-size: 1.375rem;
+ p {
font-size: 1.125rem;
}
}
&.info {
display: flex;
flex-direction: column;
background-color: var(--color-secondary);
color: var(--color-white);
padding: 2rem;
font-size: 1.75rem;
font-weight: 600;
.btn {
align-self: flex-start;
margin-top: auto;
}
}
}
}