note の中のリンクを hover で青くしない - #184
Merged
Merged
Conversation
地の文の hover(青)が要素の数のぶん詳細度で勝っていて、todo の中の リンクだけ hover で青くなっていた。4種それぞれに hover / focus を足し、 色はその note の色のまま下線を 2px にする。訪問済みは紫のまま。 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
note の中のリンクが hover で青に変わっていたのを、色を動かさず下線の太さだけで返す形にします。
何が起きていたか
静止時はその note の色(例: warn なら
#7B6D18)ですが、hover で地の文の青(#0072E5)に変わっていました。#167 で入れた地の文の hover が、要素の数のぶん詳細度で勝っていたためです。.rst-content section p a:hover(地の文).rst-content .admonition-todo a(静止の色。#161)todoの note だけで起きます。.admonition.noteのような2つのクラスを持つ形は静止の色が勝つので、そちらでは起きていませんでした(実測でもnoteは hover でも色が変わりません)。変更
4種それぞれに hover / focus の規則を足し、色はその note の色のまま・下線を 2px にします。訪問済みは紫のままです。
ブログも同じで、note の中では色は「その note のものである」ことだけを担い、反応は線の太さが返します。
🤖 Generated with Claude Code