File tree Expand file tree Collapse file tree 6 files changed +358
-331
lines changed
Expand file tree Collapse file tree 6 files changed +358
-331
lines changed Original file line number Diff line number Diff line change @@ -19,5 +19,5 @@ RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain ${RUST_VERS
1919ENV PATH=$PATH:$HOME/.cargo/bin
2020
2121# mdbook と mdbook のプラグインのインストール
22- RUN cargo install --version 0.4.40 mdbook && \
22+ RUN cargo install --version 0.4.41 mdbook && \
2323 cargo install --version 1.18.0 mdbook-admonish
Original file line number Diff line number Diff line change 88 * [ mdbook-admonish] ( https://github.com/tommilligan/mdbook-admonish ) を使用してカードを表示させています。
99
1010> [ !IMPORTANT]
11- > 開発に使用する mdbook のバージョンは ` 0.4.40 ` に固定してください。
11+ > 開発に使用する mdbook のバージョンは ` 0.4.41 ` に固定してください。
1212
1313* [ mdgen] ( https://github.com/Seasawher/mdgen ) を Lean ファイルから markdown ファイルを生成するために使用しています。
1414
Original file line number Diff line number Diff line change 3636 - name : Setup mdBook
3737 uses : peaceiris/actions-mdbook@v2
3838 with :
39- mdbook-version : ' 0.4.40 '
39+ mdbook-version : ' 0.4.41 '
4040
4141 - name : install mdbook-admonish
4242 uses : baptiste0928/cargo-install@v3
Original file line number Diff line number Diff line change 44*/
55/* Base styles and content styles */
66
7- @import 'variables.css' ;
8-
97: root {
108 /* Browser default font-size is 16px, this way 1 rem = 10px */
119 font-size : 62.5% ;
1210 color-scheme : var (--color-scheme );
1311}
1412
1513html {
14+ /* 日本語を含むコンテンツでも読みやすくするためのフォント指定 */
1615 font-family : "Noto Sans JP" , "Fira Sans" , sans-serif;
1716 color : var (--fg );
1817 background-color : var (--bg );
@@ -196,6 +195,16 @@ kbd {
196195 vertical-align : middle;
197196}
198197
198+ sup {
199+ /* Set the line-height for superscript and footnote references so that there
200+ isn't an awkward space appearing above lines that contain the footnote.
201+
202+ See https://github.com/rust-lang/mdBook/pull/2443#discussion_r1813773583
203+ for an explanation.
204+ */
205+ line-height : 0 ;
206+ }
207+
199208: not (.footnote-definition ) + .footnote-definition ,
200209.footnote-definition + : not (.footnote-definition ) {
201210 margin-block-start : 2em ;
You can’t perform that action at this time.
0 commit comments