Repository navigation
見出しの階層を空きと罫線で作る - #168
Merged
Merged
見出しの階層を空きと罫線で作る#168
Conversation
テーマは margin-top が 0 で、h2 も h4 も前の段落の下の 24px だけで 始まっていた。直前の空きを h2 56 / h3 32 / h4以下 24 にし、行間を 1.3、 h2 に薄い罫線を引く。 サイズは動かさない。ブログの梯子を当てても h3 と h4 が 0.8px 動くだけ。 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
11 tasks done
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.
#158 の「見出し」です。
変更
normal#ecebeb+ 下の余白 8pxtext-wrap: balanceいちばん効いていないのは空きでした。 テーマは見出しの
margin-topが 0 で、h2 も h3 も h4 も前の段落の下の 24px だけで始まります。ブログは 直前の空き・太さ・罫線 で階層を作り、サイズだけに頼りません。サイズは動かしていません。 ブログの梯子を、この本の h1(28px)の下に収まるよう一段ずらして当ててみましたが、h2 は 24px で現状と同じ、h3 が 20 → 20.8px、h4 が 18.4 → 19.2px と 0.8px しか動きませんでした。見分けの付かない差です。
h2 の罫線が薄いのは意図です。節の区切りは直前の空き(56px)が担っていて、線は「境目がある」と気づかせる程度でよいので、読みやすさの指標としては濃くしません。
🤖 Generated with Claude Code