Improve filter pill design in light mode

- Transparent background instead of gray
- Rounded pill shape (border-radius: 20px)
- Subtler text color
- Light red tint on hover

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-12-04 09:13:46 -05:00
parent 398acd6117
commit b5fbe571ba
+12 -7
View File
@@ -62,18 +62,19 @@
.book-filter {
display: inline-block;
padding: 0.4rem 0.75rem;
background: var(--code-bg);
background: transparent;
border: 1px solid var(--border-color);
border-radius: 4px;
border-radius: 20px;
text-decoration: none;
color: var(--text-color);
font-size: 0.9rem;
color: var(--text-secondary);
font-size: 0.85rem;
transition: all 0.15s;
}
.book-filter:hover {
border-color: #b22222;
color: #b22222;
background: rgba(178, 34, 34, 0.05);
}
.book-filter.active {
@@ -83,8 +84,8 @@
}
.book-filter .count {
font-size: 0.8rem;
opacity: 0.7;
font-size: 0.75rem;
opacity: 0.6;
margin-left: 0.25rem;
}
@@ -220,10 +221,14 @@
}
[data-theme="dark"] .book-filter {
background: #2a2a2a;
background: transparent;
border-color: #444;
}
[data-theme="dark"] .book-filter:hover {
background: rgba(178, 34, 34, 0.15);
}
[data-theme="dark"] .page-link {
background: #2a2a2a;
border-color: #444;