refactor: collapse entry card article+a to flat <a>, unify hover targets across card types
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WPJztrVGbwic2xTG7G9fjM
This commit is contained in:
@@ -90,12 +90,13 @@ body::after {
|
||||
.feed { display: flex; flex-direction: column; gap: var(--space-12); }
|
||||
.feed-empty { color: var(--color-ink-muted); font-style: italic; }
|
||||
|
||||
.entry-card { border-bottom: 1px solid var(--color-border); padding-bottom: var(--space-12); }
|
||||
|
||||
.entry-card-inner {
|
||||
.entry-card {
|
||||
display: block;
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
border-bottom: 1px solid var(--color-border);
|
||||
padding-bottom: var(--space-12);
|
||||
transition: background 0.15s;
|
||||
}
|
||||
|
||||
/* Card: photo variant */
|
||||
@@ -117,7 +118,7 @@ body::after {
|
||||
transition: transform 0.45s ease;
|
||||
}
|
||||
|
||||
.entry-card-inner:hover .entry-card-photo img { transform: scale(1.04); }
|
||||
.entry-card:hover .entry-card-photo img { transform: scale(1.04); }
|
||||
|
||||
.entry-card-photo-overlay {
|
||||
position: absolute;
|
||||
@@ -180,7 +181,7 @@ body::after {
|
||||
transition: color 0.15s;
|
||||
}
|
||||
|
||||
.entry-card-inner:hover .entry-title { color: var(--color-accent); }
|
||||
.entry-card:hover .entry-title { color: var(--color-accent); }
|
||||
|
||||
.entry-excerpt {
|
||||
font-size: var(--text-base);
|
||||
|
||||
Reference in New Issue
Block a user