2019-03-25 20:37:17 +08:00
|
|
|
// shared styles for user and group cards
|
2020-02-13 17:58:17 +08:00
|
|
|
.user-card,
|
|
|
|
.group-card {
|
2019-03-25 20:37:17 +08:00
|
|
|
// avatar - names - controls
|
|
|
|
.first-row {
|
|
|
|
.names {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
|
|
|
.usercard-controls {
|
2021-04-21 06:34:33 +08:00
|
|
|
max-width: 225px;
|
2019-03-25 20:37:17 +08:00
|
|
|
button {
|
|
|
|
min-width: 150px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
h1 {
|
|
|
|
.d-icon {
|
2022-10-12 21:31:59 +08:00
|
|
|
font-size: var(--font-down-1);
|
2019-03-25 20:37:17 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
h2 {
|
2022-10-12 21:31:59 +08:00
|
|
|
font-size: var(--font-up-1);
|
2019-03-25 20:37:17 +08:00
|
|
|
}
|
|
|
|
h3 {
|
2022-10-12 21:31:59 +08:00
|
|
|
font-size: var(--font-0);
|
2019-03-25 20:37:17 +08:00
|
|
|
}
|
2024-07-11 02:51:56 +08:00
|
|
|
|
|
|
|
@include breakpoint("mobile-extra-large") {
|
|
|
|
// important for keeping the usercard uncropped
|
|
|
|
// at 200% - 400% zoom levels
|
|
|
|
--avatar-width: 4em;
|
|
|
|
--avatar-margin: 0;
|
|
|
|
.names h1 {
|
|
|
|
font-size: var(--font-up-2);
|
|
|
|
}
|
|
|
|
.first-row {
|
|
|
|
gap: 0.5em 0;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
.usercard-controls {
|
|
|
|
max-width: unset;
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
gap: 0 0.5em;
|
|
|
|
}
|
|
|
|
li {
|
|
|
|
flex: 1 1 0;
|
|
|
|
&:empty {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-03-25 20:37:17 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
// styles for user cards only
|
2020-02-13 17:58:17 +08:00
|
|
|
.user-card {
|
2019-03-25 20:37:17 +08:00
|
|
|
// badges
|
2019-12-10 03:15:47 +08:00
|
|
|
.badge-section {
|
|
|
|
.user-badge {
|
|
|
|
display: block;
|
|
|
|
max-width: 185px;
|
|
|
|
}
|
|
|
|
.more-user-badges {
|
|
|
|
max-width: 125px;
|
2019-03-25 20:37:17 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|