77 lines
1.3 KiB
SCSS
77 lines
1.3 KiB
SCSS
.member {
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin-top: 8rem;
|
|
margin-bottom: 16rem;
|
|
|
|
h1 {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.position {
|
|
font-size: 1.125rem;
|
|
}
|
|
|
|
&__wrapper {
|
|
display: grid;
|
|
grid-template-columns: .4fr .6fr;
|
|
grid-template-rows: 1fr;
|
|
grid-column-gap: 1.5rem;
|
|
grid-row-gap: 0;
|
|
margin-top: 2.5rem;
|
|
}
|
|
|
|
&__info {
|
|
img {
|
|
border-radius: 50%;
|
|
width: 16rem;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.social {
|
|
display: inline-block;
|
|
margin-top: 1.5rem;
|
|
|
|
+ .social {
|
|
margin-left: 1rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
&__bio {
|
|
position: relative;
|
|
|
|
+ p,
|
|
p + p {
|
|
margin-top: 1.5rem;
|
|
}
|
|
|
|
&::before {
|
|
content: '';
|
|
display: block;
|
|
position: absolute;
|
|
background-image: url("data:image/svg+xml,%3Csvg width='221' height='138' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M220.5 137.5h-99v-77L160 0h49.5l-22 55h33v82.5zm-121 0H.5v-77L39 0h49.5l-22 55h33v82.5z' fill='%23F1F0F6'/%3E%3C/svg%3E");
|
|
width: 221px;
|
|
height: 138px;
|
|
z-index: -1;
|
|
top: -6rem;
|
|
left: -1.5rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (max-width: 575.98px) {
|
|
.member {
|
|
margin-top: 3rem;
|
|
margin-bottom: 8rem;
|
|
|
|
&__wrapper {
|
|
display: block;
|
|
}
|
|
|
|
&__bio {
|
|
margin-top: 8rem;
|
|
}
|
|
}
|
|
}
|