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 {
|
||||
|
||||
Reference in new issue
Block a user