Skip to content

Commit d5d721c

Browse files
committed
extra.cssを追加し、MkDocs設定にスタイルシートを組み込み
1 parent 78acde9 commit d5d721c

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

deck/stylesheets/extra.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/* ロゴのサイズ調整 */
2+
.md-header__button.md-logo img,
3+
.md-header__button.md-logo svg {
4+
height: 2rem !important; /* 32px */
5+
width: auto !important;
6+
}

mkdocs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ theme:
55
language: ja
66
logo: assets/logo.svg
77
favicon: assets/favicon.png
8+
9+
extra_css:
10+
- stylesheets/extra.css
811
nav:
912
- Home: index.md
1013
- Inception Deck: deck.md

0 commit comments

Comments
 (0)