时间线

This commit is contained in:
2026-06-19 16:20:21 +08:00 Unverified
parent b8e1e0e13b
commit 0eca3c2e9c
4 changed files with 266 additions and 25 deletions
+183 -9
View File
@@ -2480,18 +2480,152 @@ time {
color: var(--text);
}
.archive-list {
margin-top: 24px;
.archive-timeline {
position: relative;
display: grid;
gap: 10px;
gap: 26px;
margin-top: 28px;
padding-left: 34px;
}
.archive-timeline::before {
content: "";
position: absolute;
top: 10px;
bottom: 10px;
left: 10px;
width: 2px;
border-radius: 999px;
background: linear-gradient(180deg, rgba(62, 184, 190, 0.8), rgba(222, 216, 204, 0.18));
}
.archive-year {
position: relative;
display: grid;
grid-template-columns: 150px minmax(0, 1fr);
gap: 22px;
}
.archive-year-marker {
position: absolute;
top: 12px;
left: -31px;
width: 18px;
height: 18px;
border: 4px solid rgba(255, 253, 248, 0.96);
border-radius: 999px;
background: #3eb8be;
box-shadow:
0 0 0 6px rgba(62, 184, 190, 0.16),
0 10px 24px rgba(15, 118, 110, 0.18);
}
.archive-year-head {
position: sticky;
top: 92px;
align-self: start;
display: grid;
gap: 4px;
padding-top: 2px;
}
.archive-year-head h2 {
margin: 0;
color: var(--accent-strong);
font-size: clamp(1.8rem, 4vw, 2.7rem);
line-height: 1;
}
.archive-year-head span {
color: var(--muted);
font-size: 0.92rem;
font-weight: 700;
}
.archive-months {
display: grid;
gap: 16px;
min-width: 0;
}
.archive-month {
display: grid;
grid-template-columns: 92px minmax(0, 1fr);
gap: 18px;
border: 1px solid rgba(222, 216, 204, 0.72);
border-radius: 8px;
padding: 18px;
background:
linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(242, 251, 237, 0.58)),
rgba(255, 253, 248, 0.78);
box-shadow: var(--shadow);
}
.archive-month-label {
display: grid;
align-content: start;
gap: 6px;
color: var(--accent);
font-weight: 900;
line-height: 1.2;
}
.archive-month-label small {
color: var(--muted);
font-size: 0.82rem;
font-weight: 700;
}
.archive-list {
display: grid;
gap: 8px;
min-width: 0;
}
.archive-list a {
display: grid;
grid-template-columns: 116px 1fr;
gap: 16px;
border-bottom: 1px solid var(--line);
padding: 10px 0;
grid-template-columns: 46px minmax(0, 1fr);
align-items: center;
gap: 14px;
border: 1px solid transparent;
border-radius: 8px;
padding: 9px 12px;
background: rgba(255, 253, 248, 0.54);
transition:
color 0.2s ease,
border-color 0.2s ease,
background-color 0.2s ease,
box-shadow 0.2s ease,
transform 0.2s ease;
}
.archive-list a time {
display: inline-grid;
place-items: center;
width: 38px;
height: 38px;
border-radius: 8px;
color: #fff;
font-size: 0.9rem;
font-weight: 900;
line-height: 1;
background: #3eb8be;
box-shadow: 0 10px 24px rgba(15, 118, 110, 0.14);
}
.archive-list a span {
min-width: 0;
overflow-wrap: anywhere;
color: var(--text);
font-weight: 800;
line-height: 1.45;
}
.archive-list a:hover {
border-color: rgba(62, 184, 190, 0.32);
background: rgba(255, 255, 255, 0.82);
box-shadow: 0 12px 28px rgba(58, 51, 38, 0.1);
transform: translateY(-1px);
}
.pagination {
@@ -3897,9 +4031,49 @@ meting-js {
grid-template-columns: 1fr;
}
.archive-list a {
.archive-timeline {
padding-left: 24px;
}
.archive-timeline::before {
left: 7px;
}
.archive-year {
grid-template-columns: 1fr;
gap: 2px;
gap: 14px;
}
.archive-year-marker {
left: -25px;
}
.archive-year-head {
position: static;
}
.archive-month {
grid-template-columns: 1fr;
gap: 12px;
padding: 16px;
}
.archive-month-label {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: 12px;
}
.archive-list a {
grid-template-columns: 38px minmax(0, 1fr);
gap: 10px;
padding: 8px;
}
.archive-list a time {
width: 34px;
height: 34px;
}
.stats-chart {