diff options
| author | Yasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com> | 2026-09-22 10:02:56 +0900 |
|---|---|---|
| committer | Yasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com> | 2026-09-22 10:02:56 +0900 |
| commit | 854d979735244a77093469756064d2d63cf28817 (patch) | |
| tree | 3a75274c14dfb28148492748083acd4429be2974 /src | |
| parent | 4a0c3fec5da29463b36fe08b58e7569c1fcd6e43 (diff) | |
custom.css: 一般質問を吹き出し+?に変更し、ご支援を元のハートに戻す
- 一般質問: 丸+「?」から、吹き出しに「?」を入れた形に変更した。他のアイコンに
丸が多く、質問=発言であることから吹き出しにした。あわせてアイコンを1.2emに
少し大きくした(主要なコンテンツのため)
- ご支援: 光条を外し、元のハートに戻した
- 実績(丸から飛び出すチェック)と活動のツール(ハンマー)はそのまま
Diffstat (limited to 'src')
| -rw-r--r-- | src/styles/custom.css | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/src/styles/custom.css b/src/styles/custom.css index d24ee83..9ce60e9 100644 --- a/src/styles/custom.css +++ b/src/styles/custom.css @@ -366,7 +366,7 @@ p, --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.6 4A8.4 8.4 0 1 0 20.1 10' stroke-width='1.8'/%3E%3Cpath d='m7.6 12.6 3.4 3.2L21.5 2.8' stroke-width='2.6'/%3E%3C/svg%3E"); } #starlight__sidebar ul.top-level > li:nth-child(3) { - --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.7'/%3E%3Cpath d='M9.3 9.4a2.9 2.9 0 0 1 5.5 1.1c0 1.9-2.8 2.8-2.8 2.8v1.3'/%3E%3Cpath d='M12 17.6h.01'/%3E%3C/svg%3E"); + --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.5 11.2c0 4.2-3.8 7.6-8.5 7.6-1 0-2-.2-2.9-.5L4 20.4l1.4-3.6A7.2 7.2 0 0 1 3.5 11.2C3.5 7 7.3 3.6 12 3.6s8.5 3.4 8.5 7.6z'/%3E%3Cpath d='M10.2 9.4a2.3 2.3 0 0 1 4.4.9c0 1.5-2.2 2.2-2.2 2.2v1'/%3E%3Cpath d='M12.4 15.6h.01'/%3E%3C/svg%3E"); } #starlight__sidebar ul.top-level > li:nth-child(4) { --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z'/%3E%3Cpath d='M14 3v6h6'/%3E%3C/svg%3E"); @@ -381,7 +381,7 @@ p, --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18.7 12.7 16.1 15.2 8.8 8 11.4 5.3z' stroke-width='2'/%3E%3Cpath d='m12 12-8.6 8.6' stroke-width='2.6'/%3E%3C/svg%3E"); } #starlight__sidebar ul.top-level > li:nth-child(8) { - --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-4.4-7-9a4 4 0 0 1 7-2.6A4 4 0 0 1 19 12c0 4.6-7 9-7 9z' stroke-width='2.2'/%3E%3Cpath d='M4.5 4.5 7 7M12 3v3M19.5 4.5 17 7' stroke-width='1.8'/%3E%3C/svg%3E"); + --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.4-7-9a4 4 0 0 1 7-2.6A4 4 0 0 1 19 11c0 4.6-7 9-7 9z'/%3E%3C/svg%3E"); } #starlight__sidebar ul.top-level > li:nth-child(9) { --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h16v12H4z'/%3E%3Cpath d='m4 7 8 6 8-6'/%3E%3C/svg%3E"); @@ -434,6 +434,18 @@ p, font-weight: 500; } +/* 一般質問のアイコンは少し大きく(主要なコンテンツのため) */ +#starlight__sidebar ul.top-level > li:nth-child(3) > a > span::before, +#starlight__sidebar + ul.top-level + > li:nth-child(3) + > details + > summary + > .group-label::before { + width: 1.2em; + height: 1.2em; +} + /* 現在地の下地は、アクセントの淡い色にする(既定の濃い塗りは主張が強いため) */ #starlight__sidebar ul.top-level [aria-current="page"], #starlight__sidebar ul.top-level [aria-current="page"]:hover, |
