79 lines
1.7 KiB
CSS
79 lines
1.7 KiB
CSS
/**
|
|
* Batch3e: author card.
|
|
*/
|
|
|
|
.aksrt-author-card {
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
border: 1px solid var(--color-line, #e5e7eb);
|
|
background: var(--surface-1, #fff);
|
|
margin-bottom: 0;
|
|
text-align: center;
|
|
}
|
|
.aksrt-author-card__cover {
|
|
height: 139px;
|
|
min-height: 139px;
|
|
max-height: 139px;
|
|
background: linear-gradient(135deg, #93c5fd, #c4b5fd) center/cover no-repeat;
|
|
}
|
|
.aksrt-author-card__body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 0 14px 16px;
|
|
}
|
|
.aksrt-author-card__body .user-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
width: 100%;
|
|
}
|
|
.aksrt-author-card__avatar {
|
|
display: flex;
|
|
flex: 0 0 auto;
|
|
margin: -38px auto 0;
|
|
border-radius: 50%;
|
|
overflow: hidden;
|
|
border: 3px solid var(--surface-1, #fff);
|
|
width: 76px;
|
|
height: 76px;
|
|
}
|
|
.aksrt-author-card__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
|
|
.aksrt-author-card__name {
|
|
display: block;
|
|
margin-top: 8px;
|
|
font-weight: 700;
|
|
font-size: 16px;
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
.aksrt-author-card__bio {
|
|
margin-top: 6px;
|
|
font-size: 12px;
|
|
color: var(--muted-2-color, #888);
|
|
line-height: 1.5;
|
|
}
|
|
.aksrt-author-card__stats {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 16px;
|
|
margin-top: 12px;
|
|
font-size: 12px;
|
|
color: var(--muted-2-color, #888);
|
|
}
|
|
.aksrt-author-card__stats b {
|
|
display: block;
|
|
font-size: 16px;
|
|
color: var(--color-ink, #111);
|
|
}
|
|
.aksrt-author-card__btn {
|
|
display: inline-block;
|
|
margin-top: 12px;
|
|
padding: 6px 16px;
|
|
border-radius: 999px;
|
|
background: var(--color-primary, #3b82f6);
|
|
color: #fff !important;
|
|
text-decoration: none;
|
|
font-size: 13px;
|
|
}
|