用户域 CSS 整包重切:lists 持有共享列表,modals 只留弹窗,清掉死样式
把 public/private 扁平列表覆写迁到 profile/lists,删除未使用的 stats/signin/level 与 author-page 归档样式,并补 modal 移动端基础规则。
This commit is contained in:
@@ -243,149 +243,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
/* ============================================================
|
||||
* Author Archive Page — /author/{nicename}/
|
||||
* ============================================================ */
|
||||
.aksrt-author-page__layout {
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.aksrt-author-page__content {
|
||||
padding: 24px;
|
||||
}
|
||||
|
||||
.aksrt-author-page__content-header {
|
||||
margin-bottom: 20px;
|
||||
padding-bottom: 12px;
|
||||
border-bottom: 2px solid var(--color-line-soft);
|
||||
}
|
||||
|
||||
.aksrt-author-page__section-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
margin: 0;
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
color: var(--color-ink);
|
||||
}
|
||||
|
||||
.aksrt-author-page__section-title i {
|
||||
color: var(--color-primary);
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.aksrt-author-page__posts {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0;
|
||||
}
|
||||
|
||||
.aksrt-author-page__posts .profile-list-item {
|
||||
padding: 16px 0;
|
||||
background: transparent;
|
||||
border: 0;
|
||||
border-bottom: 1px solid var(--color-line-soft);
|
||||
border-radius: 0;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.aksrt-author-page__posts .profile-list-item:last-child {
|
||||
border-bottom: 0;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.aksrt-author-page__posts .profile-list-item:first-child {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.aksrt-author-page__posts .profile-list-item:hover {
|
||||
background: transparent;
|
||||
border-color: var(--color-line-soft);
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.aksrt-author-page__pagination {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin-top: 24px;
|
||||
padding-top: 16px;
|
||||
border-top: 1px solid var(--color-line-soft);
|
||||
}
|
||||
|
||||
.aksrt-author-page__pagination .page-numbers {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-width: 36px;
|
||||
height: 36px;
|
||||
padding: 0 10px;
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
color: var(--color-ink-3);
|
||||
background: var(--surface-1);
|
||||
border: 1px solid var(--color-line);
|
||||
border-radius: var(--radius);
|
||||
text-decoration: none;
|
||||
transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
|
||||
margin: 0 2px;
|
||||
}
|
||||
|
||||
.aksrt-author-page__pagination a.page-numbers:hover {
|
||||
color: var(--color-primary);
|
||||
border-color: var(--color-primary);
|
||||
}
|
||||
|
||||
.aksrt-author-page__pagination .page-numbers.current {
|
||||
color: var(--color-on-primary);
|
||||
background: var(--color-primary);
|
||||
border-color: var(--color-primary);
|
||||
}
|
||||
|
||||
.aksrt-author-page__empty {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding: 48px 20px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.aksrt-author-page__empty-icon {
|
||||
width: 56px;
|
||||
height: 56px;
|
||||
margin-bottom: 14px;
|
||||
border-radius: var(--radius-pill);
|
||||
background: var(--color-primary-soft);
|
||||
color: var(--color-primary);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.aksrt-author-page__empty-title {
|
||||
margin: 0 0 6px;
|
||||
font-size: 1rem;
|
||||
font-weight: 700;
|
||||
color: var(--color-ink);
|
||||
}
|
||||
|
||||
.aksrt-author-page__empty-desc {
|
||||
margin: 0;
|
||||
font-size: 13px;
|
||||
color: var(--color-ink-3);
|
||||
}
|
||||
|
||||
.aksrt-author-page__aside {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 18px;
|
||||
}
|
||||
|
||||
.aksrt-author-page__aside-default {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 18px;
|
||||
}
|
||||
|
||||
|
||||
.aksrt-user-home .aksrt-user-home__layout {
|
||||
|
||||
Reference in New Issue
Block a user