#profiles-list { @extend .grid-layer; & > sib-form { grid-column-start: start; grid-column-end: middle; grid-row-start: start; grid-row-end: middle; } & > div { display: flex; flex-wrap: wrap; grid-column-start: start; grid-column-end: end; justify-content: space-between; margin-bottom: 1em; &:first-of-type { color: $color-black2; font-weight: bold; justify-content: center; white-space: nowrap; &::before, &::after { border-top: 1px solid $color-grey-light2; content: ''; position: relative; top: 0.5em; width: 40%; } &::before { right: 5.8%; } &::after { left: 5.8%; } } > sib-display { cursor: pointer; background-color: white; box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.14); display: flex; flex-flow: column wrap; padding: 1rem; margin-bottom: 2.5rem; @media(min-width: 56rem) { width: 30%; } label { display: none; } div[name='header'] { border-bottom: 1px solid $color-grey-light; padding-bottom: 1em; padding: 0.5em; margin-bottom: 1em; display: flex; flex-direction: column; > * { display: flex; justify-content: center; flex-basis: content; } sib-display-img { flex-basis:150px; img { border-radius: 100%; width:150px; } } } hdapp-userinfo { @extend h1; } [name=infos] { margin: 2em 0; > * { // display: block; margin: 0.5em 0; } } ul[name$='roles'] * { @include icon('user'); } ul[name$='cell'] * { @include icon('location-pin'); } [name$='user'] { margin-bottom: 0em; } sib-display-div[name$='bio'] { margin-top: 1em; flex-basis : 5em; } a[href^='mailto'] { display: flex; border-radius: 25px; border-style: solid; border-color: $color-blue-light; color: $color-blue-light; margin: 1em; padding: 1em; text-decoration:none; } sib-display-tel { display: block; @include icon('phone'); } hdapp-hyperlink { display: block; @include icon('link'); } sib-display-div[name$='foaf:homepage'] * { @include icon('link'); } sib-display-div[name$='more'] { display: flex; flex-direction: row-reverse; } } } } #profiles-list sib-display-lookuplist { &[name$='skills'] { display: flex; li, ul { margin: 0; padding: 0; list-style: none; } ul { display: flex; flex-wrap: wrap; margin: 1em -0.25em; } li { padding: 0.3em 1.2em; border: 1px solid; border-radius: 2em; margin: 0.25em; background-color: $color-yellow; color: $color-white; font-weight: bold; } } } #profiles-list { ul { @include list-reset(); } }