diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/content/docs/index.mdx | 7 | ||||
| -rw-r--r-- | src/styles/custom.css | 22 |
2 files changed, 29 insertions, 0 deletions
diff --git a/src/content/docs/index.mdx b/src/content/docs/index.mdx index b9c2dd9..746f241 100644 --- a/src/content/docs/index.mdx +++ b/src/content/docs/index.mdx @@ -19,6 +19,13 @@ import * as assets from '@/assets/images'; <p class="hero-sub">小平市議会議員 安竹洋平</p> </div> +{/* 暫定:小平市ホームページ復旧までの案内。復旧後にこのブロックと custom.css の .home-notice を削除する。 */} +<div class="home-notice"> + <p><strong>小平市ホームページがご覧いただけない状況です</strong></p> + <p>市民の皆さまがよく参照する主要ページのアーカイブと、お問い合わせ先(電話番号)の一覧を用意しました。</p> + <p><a href="/kodaira-data/hp-archive/" class="guide-btn">アーカイブと電話番号一覧を見る</a></p> +</div> + <div class="home-intro"> <div class="intro-head"> <h2>行政も、議会も<br />住民福祉の増進のために</h2> diff --git a/src/styles/custom.css b/src/styles/custom.css index 1a62595..aea1016 100644 --- a/src/styles/custom.css +++ b/src/styles/custom.css @@ -904,6 +904,28 @@ main:has(.home-hero) { opacity: 0.9; } +/* 暫定:小平市ホームページ復旧までの案内(復旧後に削除) */ +.home-notice { + margin: 0; + padding: 0.9rem 1.1rem; + background: #fff8e1; + border: 1px solid #f0d98c; + border-left: 4px solid #e8a400; + border-radius: 8px; + text-align: center; +} +.home-notice p { + margin: 0 0 0.6rem; +} +.home-notice p:last-child { + margin-bottom: 0; +} +:root[data-theme="dark"] .home-notice { + background: #332a12; + border-color: #6b5a1f; + border-left-color: #e8a400; +} + /* ── Profile intro: photo + message (two-column) ── */ .home-intro { margin: 5rem 0 6rem; |
