From 9fb1d66921587a373a3970a639be2fd695c7b147 Mon Sep 17 00:00:00 2001
From: Yasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com>
Date: Fri, 9 Oct 2026 14:11:21 +0900
Subject: index.mdx, custom.css:
トップに小平市ホームページのアーカイブ案内(暫定)を追加
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/content/docs/index.mdx | 7 +++++++
src/styles/custom.css | 22 ++++++++++++++++++++++
2 files changed, 29 insertions(+)
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';
小平市議会議員 安竹洋平
+{/* 暫定:小平市ホームページ復旧までの案内。復旧後にこのブロックと custom.css の .home-notice を削除する。 */}
+
+
小平市ホームページがご覧いただけない状況です
+
市民の皆さまがよく参照する主要ページのアーカイブと、お問い合わせ先(電話番号)の一覧を用意しました。
+
アーカイブと電話番号一覧を見る
+
+
行政も、議会も
住民福祉の増進のために
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;
--
cgit v1.3.1