mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
45 lines
894 B
CSS
45 lines
894 B
CSS
.avatar {
|
|
--avatar-size: 56px;
|
|
|
|
display: inline-block;
|
|
aspect-ratio: 1 / 1;
|
|
inline-size: var(--avatar-size);
|
|
border-radius: 50%;
|
|
|
|
text-align: center;
|
|
text-transform: uppercase;
|
|
font-size: calc(var(--avatar-size) * 0.5);
|
|
font-weight: 700;
|
|
line-height: calc(var(--avatar-size) - 2px);
|
|
|
|
color: oklch(from var(--c1) calc(l + 0.2) c h);
|
|
background-color: var(--c1);
|
|
}
|
|
|
|
.user-card {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
gap: 16px;
|
|
|
|
background-color: oklch(from var(--panel-bg) calc(l - 0.05) c h);
|
|
border-radius: var(--border-radius-lg);
|
|
padding: 16px;
|
|
|
|
.info {
|
|
flex: 1 1;
|
|
|
|
p {
|
|
margin: 0;
|
|
|
|
&.display-name {
|
|
font-weight: 700;
|
|
}
|
|
|
|
&:nth-of-type(2) {
|
|
color: var(--secondary);
|
|
}
|
|
}
|
|
}
|
|
}
|