fixed 分类样式优化
This commit is contained in:
1 parent
f6e7021fac
commit
929305d867
3 files changed
+168
-4
No files matched your search
@@ -13,6 +13,10 @@
|
||||
/* 中文标点符号 */
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@charset "UTF-8";:root {
|
||||
--background-color: #fafafa;
|
||||
--background-dark-color: #020617;
|
||||
@@ -60,6 +64,21 @@
|
||||
color: #e5e7eb;
|
||||
}
|
||||
|
||||
.meta {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-start;
|
||||
gap: 10px;
|
||||
margin-bottom: 20px;
|
||||
color: #999;
|
||||
font-size: 0.9rem;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.meta-item {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
[data-theme="dark"] .meta {
|
||||
color: #9ca3af;
|
||||
}
|
||||
@@ -2871,3 +2890,99 @@ img[atk-emoticon] {
|
||||
background-color: transparent;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
/* Category Page Styles */
|
||||
.category-container {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.category-header {
|
||||
text-align: center;
|
||||
margin-bottom: 50px;
|
||||
padding-bottom: 20px;
|
||||
border-bottom: 1px dashed var(--frame-color);
|
||||
}
|
||||
|
||||
.cat-title {
|
||||
font-size: 2.2rem;
|
||||
font-weight: 700;
|
||||
margin-bottom: 10px;
|
||||
color: var(--text-title-color);
|
||||
}
|
||||
|
||||
.cat-meta {
|
||||
color: var(--text-highlight-color);
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
|
||||
.year-group {
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
|
||||
.year-title {
|
||||
font-size: 1.8rem;
|
||||
font-weight: bold;
|
||||
margin-bottom: 20px;
|
||||
color: var(--text-title-color);
|
||||
position: relative;
|
||||
padding-left: 15px;
|
||||
border-left: 4px solid var(--text-title-color);
|
||||
}
|
||||
|
||||
[data-theme="dark"] .year-title {
|
||||
border-left-color: var(--text-title-dark-color);
|
||||
}
|
||||
|
||||
.year-list {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.year-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 12px 15px;
|
||||
border-bottom: 1px solid var(--frame-color);
|
||||
transition: all 0.3s ease;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
.year-item:hover {
|
||||
background-color: rgba(0, 0, 0, 0.03);
|
||||
padding-left: 25px;
|
||||
}
|
||||
|
||||
[data-theme="dark"] .year-item:hover {
|
||||
background-color: rgba(255, 255, 255, 0.03);
|
||||
}
|
||||
|
||||
.item-date {
|
||||
font-family: 'Monaco', 'Consolas', monospace;
|
||||
color: var(--text-highlight-color);
|
||||
margin-right: 20px;
|
||||
font-size: 0.9rem;
|
||||
min-width: 50px;
|
||||
}
|
||||
|
||||
.item-link {
|
||||
color: var(--text-content-color);
|
||||
text-decoration: none;
|
||||
font-size: 1.05rem;
|
||||
font-weight: 500;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
[data-theme="dark"] .item-link {
|
||||
color: var(--text-content-dark-color);
|
||||
}
|
||||
|
||||
.item-link:hover {
|
||||
color: var(--link-hover-color-light);
|
||||
}
|
||||
|
||||
[data-theme="dark"] .item-link:hover {
|
||||
color: var(--link-hover-color-dark);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user