#members { #profiles-list { @extend .grid-layer; nav { align-items: center; display: flex; font-size: 2.4rem; justify-content: center; button { color: $color-anti-flash-white; &:before { color: $color-dark-lava; @include icon('arrow-left-circle'); } &:disabled::before { color: $color-manatee; } } button:nth-of-type(2) { order: 1; transform: rotate(180deg); } span { font-size: 2.6rem; } } & > sib-form { grid-column-start: start; grid-column-end: middle; grid-row-start: start; grid-row-end: middle; } & > div, & > nav { display: flex; flex-wrap: wrap; grid-column-start: start; grid-column-end: end; margin-bottom: 1.7rem; } & > div { justify-content: space-between; &:first-of-type { color: $color-quartz; font-weight: bold; justify-content: center; margin: 3.75rem 0; position: relative; z-index: 1; &::before { border-top: 1px solid $color-timberwolf; bottom: 0; content: ''; left: 0; margin: 0 auto; position: absolute; right: 0; top: 50%; width: 100%; z-index: -1; } span { background-color: $color-anti-flash-white; padding: 0 60px; } } > sib-display { background-color: white; box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.14); color: $color-rolling-stone; cursor: pointer; display: flex; flex-flow: column wrap; margin-bottom: 2.5rem; padding-bottom: 10rem; @media(min-width: 56rem) { height: 62rem; width: 32%; } label { display: none; } div[name='header'] { border-bottom: 1px solid $color-anti-flash-white; display: flex; flex-direction: column; padding: 0.85rem 0 3.4rem; > *:not(sib-display-img) { display: flex; flex-basis: content; justify-content: center; } sib-display-img { background-color: $color-white; border-radius: 50%; height: 28vh; margin: 1.7rem auto; overflow: hidden; position: relative; width: 28vh; img { height: 100%; left: 0; object-fit: cover; position: absolute; top: 0; width: 100%; } } [name='user.name'] { font-weight: bold; margin: 0; @extend h1; } sib-display-div[name$='bio'] { display: flex; flex-basis: 3.5em; line-height: 1.6; margin: 2.5rem 0; padding: 0 6.8rem; text-align: center; } [next=member-chat] { align-self: center; border: 1px solid $color-majorelle-blue; border-radius: 3.4rem; color: $color-majorelle-blue; font-size: 1.8rem; font-weight: bold; padding: 1rem 2.55rem 0.7rem; @include icon('speech'); &::before { font-size: 2.5rem; padding-right: 0.85rem; } } } div[name='infos'] { padding: 0 1.7rem; @extend %member-info; sib-multiple[name$='groups'] { display: flex; > * { margin-right: 0.4rem; } } } } } } }