// members %img-circle { $width: 55%; display: block; position: relative; width: $width; padding-bottom: $width; height: 0; margin: 2em auto; img { display: block; position: absolute; width: 100%; height: 100%; border-radius: 100%; object-fit: cover; object-position: center; } } %member { sib-display-img { @extend %img-circle; } display: block; position: relative; @extend %frame; padding: 0.5em; cursor: pointer; &::before, &::after { position: absolute; top: 0; right: 0; bottom: 0; left: 0; transform: scale3d(0, 0, 1); transition: transform 0.3s ease-out 0s; background: #eac1; content: ''; pointer-events: none; } &::before { transform-origin: left top; } &::after { transform-origin: right bottom; background: #ace1; } &:hover, &:focus { &::before, &::after { transform: scale3d(1, 1, 1); } } } #profiles-list { display: block; div[name='header'] { border-top: 2em solid $color-grey-light; border-bottom: 1px solid $color-grey-light; padding-bottom: 1em; margin: -0.5em; padding: 0.5em; margin-bottom: 1em; text-align: center; } > div { display: grid; margin-top: 1em; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); grid-gap: 1em; label { display: none; } > sib-display { @extend %member; } } hdapp-userinfo { display: block; color: $color-black; font-size: 1.1em; margin: 0.5em; ul, li { display: block; margin: 0; padding: 0; list-style: none; } } div[name='pseudonym'] { font-size: 0.8em; div { display: inline; } } } // member %detail-section { font-weight: bold; font-size: 18px; } #member-chat { #conversejs { margin: none; } } #member-info { padding: 1em; @extend %frame; } #profiles-list, #member-info { img { display: block; } img { width: 100%; } div[name='name'] { @extend %detail-section; padding-top: 10px; } div[name='name'], div[name='location'] { display: flex; } } #member-detail { #member-info { sib-display-mailto, sib-display-tel { display: block; } a[name='email'], a[name='number'] { &::before { font-family: FontAwesome; padding-right: 4px; color: black; } } a[name='email'] { &::before { content: '\f0e0'; } } a[name='number'] { &::before { content: '\f10b'; font-size: 22px; padding-left: 3px; padding-right: 7px; } } } .section { position: relative; h2 { @extend %detail-section; margin-top: 40px; } } #member-skills { display: flex; flex-wrap: wrap; sib-display { display: block; background-color: $color-black; color: $color-white; border-radius: 100px; padding: 3px 10px; margin-bottom: 5px; margin-right: 5px; } } } @include media('width>phone') { #member-detail { #member-info { sib-display-img { display: block; float: right; width: 300px; } } } } #member-info { @extend %member; }