diff --git a/public/icons/age.svg b/public/icons/age.svg deleted file mode 100644 index f42eb78..0000000 --- a/public/icons/age.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/icons/cake.svg b/public/icons/cake.svg deleted file mode 100644 index bf73fb7..0000000 --- a/public/icons/cake.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/public/icons/calendar.svg b/public/icons/calendar.svg deleted file mode 100644 index 792f6f5..0000000 --- a/public/icons/calendar.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/public/icons/gender.svg b/public/icons/gender.svg deleted file mode 100644 index 120e166..0000000 --- a/public/icons/gender.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/icons/location.svg b/public/icons/location.svg deleted file mode 100644 index 4c01f3c..0000000 --- a/public/icons/location.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/icons/world.svg b/public/icons/world.svg deleted file mode 100644 index 8108652..0000000 --- a/public/icons/world.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/components/Card.astro b/src/components/Card.astro index 0941c1a..ad0e6c4 100644 --- a/src/components/Card.astro +++ b/src/components/Card.astro @@ -42,7 +42,7 @@ a { align-items: center; text-decoration: none; width: var(--width); - padding: 0.75rem; + padding: 0.75rem 1rem; border-radius: 1rem; background-color: #ffffff; color: #000000; diff --git a/src/pages/index.astro b/src/pages/index.astro index 6e00113..dfa0657 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -27,15 +27,27 @@ import supports from "@/constants/supports";
- 詳細 - - {details.map((detail) => ( - - ))} + 詳細 + +
+ + + {details.map((detail, i) => ( + + + + + ))} + +
{detail.title}{detail.description}
+
- リンク + リンク {links.map((link) => ( @@ -43,7 +55,7 @@ import supports from "@/constants/supports";
- 支援 + 支援 {supports.map((link) => ( @@ -51,7 +63,7 @@ import supports from "@/constants/supports";
- 連絡先 + 連絡先 {contacts.map((contact) => ( @@ -95,7 +107,8 @@ import supports from "@/constants/supports"; } .section { - width: 70dvw; + min-width: 20rem; + width: 80dvw; display: flex; flex-wrap: wrap; gap: 0.75rem; @@ -103,14 +116,49 @@ import supports from "@/constants/supports"; .section span { width: 100%; - min-width: 20rem; font-weight: bold; font-size: 2rem; user-select: none; -webkit-user-select: none; } - +.section .table { + width: 100%; + overflow: hidden; + padding: 0.75rem 1rem; + background-color: #ffffff; + color: #000000; + padding: 0.75rem 1rem; + border-radius: 1rem; +} + +.section table { + width: 100%; + border-collapse: collapse; +} + +.section .table table tbody tr, +.section .table table tbody td { + padding: 0.25rem; + font-size: 1.1rem; +} + +.section .table table tbody tr { + border-top: 1px solid var(--border-color); + border-bottom: 1px solid var(--border-color); +} + +.section .table table tbody tr.edge { + border: none; +} + +@media (prefers-color-scheme: dark) { + .section .table { + background-color: #000000; + color: #ffffff; + } +} + \ No newline at end of file diff --git a/src/styles/global.css b/src/styles/global.css index dc1a4fa..600d8c3 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -24,6 +24,8 @@ html, body { min-height: 100dvh; font-family: "Noto Sans JP", sans-serif; word-break: break-all; + scroll-padding-top: calc(78.6667px + 1rem); + scroll-behavior: smooth; overscroll-behavior-x: none; scrollbar-width: thin; color: var(--text-color);