139 lines
2.2 KiB
SCSS
139 lines
2.2 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 {
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
img {
|
|
border-radius: 50%;
|
|
width: 16rem;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.member-url {
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.social-links {
|
|
display: flex;
|
|
|
|
li {
|
|
&::marker {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
li + li {
|
|
margin-left: 1rem;
|
|
}
|
|
|
|
svg > path {
|
|
fill: var(--color-secondary);
|
|
}
|
|
|
|
.member-contact-at {
|
|
text-decoration: none;
|
|
font-size: 1.7rem;
|
|
font-weight: 800;
|
|
|
|
&,
|
|
&:visited,
|
|
&:focus {
|
|
color: var(--color-secondary);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
&__bio {
|
|
position: relative;
|
|
|
|
p:not(:last-child),
|
|
ul:not(:last-child) {
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
h2:not(:first-child) {
|
|
margin-top: 1.1428em;
|
|
}
|
|
|
|
h3:not(:first-child) {
|
|
margin-top: 1.3333em;
|
|
}
|
|
|
|
h1 {
|
|
margin-bottom: .5em;
|
|
}
|
|
|
|
h2 {
|
|
margin-bottom: .5714em;
|
|
}
|
|
|
|
h3 {
|
|
margin-bottom: .6666em;
|
|
}
|
|
|
|
ul {
|
|
list-style: disc outside;
|
|
margin-inline-start: 2em;
|
|
}
|
|
|
|
li + li {
|
|
margin-top: .5em;
|
|
}
|
|
|
|
&:not(.member-contact)::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;
|
|
}
|
|
|
|
&.member-contact .form-container {
|
|
border-radius: 1.75rem;
|
|
padding-top: 1.75rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (max-width: 575.98px) {
|
|
.member {
|
|
margin-top: 3rem;
|
|
margin-bottom: 8rem;
|
|
|
|
&__wrapper {
|
|
display: block;
|
|
}
|
|
|
|
&__bio {
|
|
margin-top: 8rem;
|
|
}
|
|
}
|
|
}
|