diff options
| author | Yasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com> | 2026-11-01 15:45:19 +0900 |
|---|---|---|
| committer | Yasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com> | 2026-11-01 15:45:19 +0900 |
| commit | dd2bf2b37dae3fa8718a9ae047ae7d54c9a9187c (patch) | |
| tree | 5f2e806a0176a257fb12019f52e218626b49c07f /src/styles | |
| parent | 72b4cc02aeda04330d68f344ccb4dd349365fb8a (diff) | |
index.mdx: トップページに行事・イベント一覧の3言語リンクを追加
- ヒーロー直後に日本語・英語・中国語のリンクボタンを追加
- ボタンのスタイルを custom.css に追加
Diffstat (limited to 'src/styles')
| -rw-r--r-- | src/styles/custom.css | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/styles/custom.css b/src/styles/custom.css index 1e763f9..b74f907 100644 --- a/src/styles/custom.css +++ b/src/styles/custom.css @@ -1531,6 +1531,29 @@ main:has(.home-hero) { background: var(--sl-color-accent-high); color: #fff !important; } +.home-events-link { + margin: 1.5rem 0; + text-align: center; +} +.home-events-btn { + display: inline-flex; + flex-direction: column; + align-items: center; + gap: 0.1rem; + max-width: min(100%, 34rem); + padding: 0.8rem 1.4rem; + font-size: 1rem; + line-height: 1.35; + text-decoration: none; + white-space: normal; + box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); +} +.home-events-btn .lang-en, +.home-events-btn .lang-zh { + font-size: 0.78rem; + font-weight: 400; + opacity: 0.9; +} /* ── Site guide icon cards ── */ .site-guide { |
