refactor(widget): simplify search and author cards
This commit is contained in:
1 parent
efb952171d
commit
f5d3599756
3 files changed
+21
-40
No files matched your search
@@ -11,18 +11,32 @@
|
||||
text-align: center;
|
||||
}
|
||||
.aksrt-author-card__cover {
|
||||
height: 84px;
|
||||
height: 139px;
|
||||
min-height: 139px;
|
||||
max-height: 139px;
|
||||
background: linear-gradient(135deg, #93c5fd, #c4b5fd) center/cover no-repeat;
|
||||
}
|
||||
.aksrt-author-card__body { padding: 0 14px 16px; }
|
||||
.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: inline-block;
|
||||
margin-top: -36px;
|
||||
display: flex;
|
||||
flex: 0 0 auto;
|
||||
margin: -38px auto 0;
|
||||
border-radius: 50%;
|
||||
overflow: hidden;
|
||||
border: 3px solid var(--surface-1, #fff);
|
||||
width: 72px;
|
||||
height: 72px;
|
||||
width: 76px;
|
||||
height: 76px;
|
||||
}
|
||||
.aksrt-author-card__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
|
||||
.aksrt-author-card__name {
|
||||
|
||||
@@ -808,19 +808,6 @@
|
||||
color: inherit !important;
|
||||
}
|
||||
|
||||
.aksrt-author-card__badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
margin-top: 8px;
|
||||
padding: 2px 10px;
|
||||
border-radius: 999px;
|
||||
font-size: 12px;
|
||||
background: #fef3c7;
|
||||
color: #b45309;
|
||||
}
|
||||
.aksrt-author-card__badge img { border-radius: 50%; }
|
||||
|
||||
/* 徽章入口与弹窗样式统一由 assets/css/frontend/medal.css 提供。 */
|
||||
|
||||
/* Forum tab topics (batch6) */
|
||||
|
||||
Reference in new issue
Block a user