philomena/assets/css/views/staff.css

49 lines
727 B
CSS
Raw 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;
2024-04-17 16:52:50 +02:00
grid-gap: 0.5rem;
2021-11-30 22:17:47 +01:00
}
.staff-block__user-card {
display: grid;
2024-04-17 16:52:50 +02:00
grid-template-columns: auto 8rem;
2021-11-30 22:17:47 +01:00
}
.staff-block__user {
2021-11-30 23:09:04 +01:00
flex-grow: 1;
width: auto;
2024-04-17 16:52:50 +02:00
padding: 1rem;
2021-11-30 22:17:47 +01:00
}
.staff-block__info {
margin-left: auto;
}
.profile-block {
display: inline-block;
vertical-align: top;
2024-05-01 00:10:05 +02:00
}
.profile-block b {
display: block;
2021-11-30 22:17:47 +01:00
}
.staff-block__description {
2024-04-17 16:52:50 +02:00
margin: 1rem 0;
2021-11-30 22:17:47 +01:00
}
.staff-block__separator {
2024-04-17 16:52:50 +02:00
margin: 0.75rem 0.5rem;
border-color: var(--primary-color);
2021-11-30 22:17:47 +01:00
}
.staff-block__category {
2024-04-17 16:52:50 +02:00
margin-top: 1rem;
2021-11-30 22:17:47 +01:00
}
2021-11-30 23:09:04 +01:00
.staff-block__user-description {
overflow: hidden;
text-overflow: ellipsis;
}