Skip to content

横スクロールのつまみを薄くする - #181

Merged
ma91n merged 1 commit into
future-architect:masterfrom
ma91n:style/scrollbar
Sep 17, 2026
Merged

ma91n merged 1 commit into
future-architect:masterfrom
ma91n:style/scrollbar

Conversation

@ma91n

@ma91n ma91n commented Sep 17, 2026

Copy link
Copy Markdown
Collaborator

#177 の4件目。横スクロールのつまみを薄くします。

変更

表(.wy-table-responsive)とコードブロック(pre)の scrollbar-color をブログと同じ罫線の最下段(#ecebeb)にし、トラックは透明にします。いままではブラウザ既定で、切れ目のない帯なので同じ比の文字より強く見えていました。

つまみは文字ではなく線なので、文字のスケール(ink)ではなく罫線の段を指します。溢れていること自体は帯の動きが示すので、つまみが唯一の合図ではありません。

静止時と操作中の色は分けられません。 scrollbar-color が取るのはつまみとトラックの2色だけで、hover は UA が導出します(::-webkit-scrollbar-thumb:hover は使えません。Chrome は scrollbar-color の指定時に ::-webkit-scrollbar* を丸ごと無視します)。

🤖 Generated with Claude Code

表とコードブロックのつまみがブラウザ既定で濃く、切れ目のない帯なので
同じ比の文字より強く見えていた。ブログと同じ罫線の最下段にする。
つまみは文字ではなく線なので ink ではなく rule の段を指す。

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@ma91n
ma91n merged commit 8c3cfac into future-architect:master Sep 17, 2026
2 checks passed
@ma91n
ma91n deleted the style/scrollbar branch September 17, 2026 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant