Skip to content

Commit 7c7cd44

Browse files
ma91nma91nclaude
authored
本文中の脚注の番号を小さくする (#183)
テーマは 90%(14.4px)で、上付きなのに本文とほとんど同じ大きさに見えて いた。ブログの上付き(0.75em)と同じ比にする。上付きの作りはテーマのまま。 Co-authored-by: ma91n <ubuntu@K007468.future.co.jp> Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent 19521ba commit 7c7cd44

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎_static/custom.css‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,14 @@ html.writer-html5 .rst-content dl.footnote > dd p {
2323
line-height: 1.75;
2424
}
2525

26+
/* 本文中の脚注の番号。テーマは 90%(14.4px)で、上付きなのに本文とほとんど
27+
同じ大きさに見える。ブログの上付き(sub / sup の 0.75em)と同じ比にする。
28+
上付きの作り(vertical-align: baseline + top: -0.4em)はテーマのまま */
29+
.rst-content .footnote-reference,
30+
.rst-content .citation-reference {
31+
font-size: 12px;
32+
}
33+
2634
/* 中のインラインコードは .875em だと 11.4px まで落ちるので、本文のコードと
2735
同じ 12px で止める */
2836
html.writer-html5 .rst-content aside.footnote code,

0 commit comments

Comments
 (0)