Skip to content

Commit 22a6cce

Browse files
committed
移除标题点击重置 + 修复 CSS 兼容性
1 parent 4aa4f4e commit 22a6cce

2 files changed

Lines changed: 3 additions & 13 deletions

File tree

themes/claude/source/css/claude.css

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@
8585
html {
8686
scroll-behavior: smooth;
8787
-webkit-text-size-adjust: 100%;
88+
text-size-adjust: 100%;
8889
}
8990

9091
/* ===== Custom Scrollbar ===== */
@@ -360,8 +361,8 @@ hr {
360361
right: 0;
361362
z-index: 100;
362363
background: rgba(244, 241, 234, 0.85);
363-
backdrop-filter: blur(16px);
364364
-webkit-backdrop-filter: blur(16px);
365+
backdrop-filter: blur(16px);
365366
border-bottom: 1.5px solid var(--border);
366367
transition: background var(--transition-slow), border-color var(--transition-slow), transform var(--transition-slow);
367368
}
@@ -2075,14 +2076,9 @@ hr {
20752076
}
20762077

20772078
.archive-timeline__title {
2078-
cursor: pointer;
20792079
transition: color var(--transition);
20802080
}
20812081

2082-
.archive-timeline__title:hover {
2083-
color: var(--accent);
2084-
}
2085-
20862082
.archive-card__num {
20872083
font-family: var(--font-display);
20882084
font-size: 2rem;
@@ -2451,8 +2447,8 @@ hr {
24512447
position: absolute;
24522448
inset: 0;
24532449
background: rgba(28, 28, 30, 0.4);
2454-
backdrop-filter: blur(4px);
24552450
-webkit-backdrop-filter: blur(4px);
2451+
backdrop-filter: blur(4px);
24562452
}
24572453

24582454
.mobile-menu__panel {

themes/claude/source/js/claude.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -533,12 +533,6 @@
533533
// Default: timeline
534534
showTimeline();
535535

536-
// Title click resets
537-
if (title) {
538-
title.style.cursor = 'pointer';
539-
title.addEventListener('click', showTimeline);
540-
}
541-
542536
// Handle hash changes (e.g. from nav submenu clicks while already on archive page)
543537
window.addEventListener('hashchange', function() {
544538
var h = decodeURIComponent(window.location.hash.replace('#', ''));

0 commit comments

Comments
 (0)