philomena/assets/css/views/_staff.scss

45 lines
666 B
SCSS
Raw Permalink Normal View History

2021-11-30 22:17:47 +01:00
.staff-block__grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
grid-auto-rows: 1fr;
grid-gap: 0.5em;
}
.staff-block__user-card {
display: grid;
2021-11-30 23:09:04 +01:00
grid-template-columns: auto 8em;
2021-11-30 22:17:47 +01:00
}
.staff-block__user {
2021-11-30 23:09:04 +01:00
flex-grow: 1;
width: auto;
2021-11-30 22:17:47 +01:00
padding: 1em;
}
.staff-block__info {
margin-left: auto;
}
.profile-block {
display: inline-block;
vertical-align: top;
b { display: block; }
}
.staff-block__description {
margin: 1em 0;
}
.staff-block__separator {
margin: 0.75em 0.5em;
}
.staff-block__category {
margin-top: 1em;
}
2021-11-30 23:09:04 +01:00
.staff-block__user-description {
overflow: hidden;
text-overflow: ellipsis;
}