From 5556215a991f9813be8b25cd026deb1543ee2ac2 Mon Sep 17 00:00:00 2001 From: Yuito Fujiwara Date: Thu, 7 Aug 2025 02:23:44 -0700 Subject: [PATCH 1/2] Refine layout and spacing in header --- groups.html | 83 +++++++++++++++++++++++++++++------------------------ index.html | 20 ++++--------- style.css | 32 ++++++++++++++------- 3 files changed, 72 insertions(+), 63 deletions(-) diff --git a/groups.html b/groups.html index 2b48b9e..7dcb472 100644 --- a/groups.html +++ b/groups.html @@ -16,13 +16,8 @@

班紹介

- -

班一覧

- -

KCS について

-<<<<<<< HEAD +
+

KCSとは

+

KCSは慶應義塾大学で唯一のコンピュータサークルであり、日本で最も歴史の長いコンピュータサークルです。個人やグループで興味のある技術の習得や勉強会や、矢上祭や三田祭の展示物の制作が主な活動です。

+

多くのメンバーがプログラミングを行っていますが、音楽や3Dモデルの製作も行っています。

+
-======= - - ->>>>>>> 239acb37e1bc92cc5b2a8955e52d315ed998183a -
-

KCSとは

-

KCSは慶應義塾大学で唯一のコンピュータサークルであり、日本で最も歴史の長いコンピュータサークルです。個人やグループで興味のある技術の習得や勉強会や、矢上祭や三田祭の展示物の制作が主な活動です。

-

多くのメンバーがプログラミングを行っていますが、音楽や3Dモデルの製作も行っています。

-
diff --git a/style.css b/style.css index 496d7c6..f01fe6f 100644 --- a/style.css +++ b/style.css @@ -1,7 +1,7 @@ * { font-family: "ヒラギノ角ゴシック", "游ゴシック", "メイリオ", Arial, Helvetica, sans-serif; - color: aliceblue; - background-color: black; + color: black; + background-color: white; } ul.menu { @@ -22,15 +22,6 @@ h1 { #introduction { width: 80vw; margin: 0 auto; - padding: 30px; - border-radius: 16px; - background: rgba(255, 255, 255, 0.1); - box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37); - backdrop-filter: blur(12px); - -webkit-backdrop-filter: blur(12px); /* Safari support */ - border: 1px solid rgba(255, 255, 255, 0.18); - color: white; - text-align: center; } #introduction h1{ @@ -39,4 +30,23 @@ h1 { #introduction p{ background-color: transparent; +} + +.heading { + text-align: center; +} + +.groups { + width: 80vw; + margin: 5em auto; +} + +.groupMenu{ + display: flex; + justify-content: center; +} + +.groupMenu li{ + display: inline; + margin: auto; } \ No newline at end of file From 43af0338b17ad4f0fdf9594e1c7a83754836c1a9 Mon Sep 17 00:00:00 2001 From: Yuito Fujiwara Date: Thu, 7 Aug 2025 02:32:53 -0700 Subject: [PATCH 2/2] Enable automatic light/dark mode based on browser preference --- style.css | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/style.css b/style.css index f01fe6f..3d353d4 100644 --- a/style.css +++ b/style.css @@ -1,7 +1,27 @@ +@media (prefers-color-scheme: dark) { + body { + color: white; + background-color: black; + } + + a { + color: white; + } +} + +@media (prefers-color-scheme: light) { + body { + color: black; + background-color: white; + } + + a { + color: black; + } +} + * { font-family: "ヒラギノ角ゴシック", "游ゴシック", "メイリオ", Arial, Helvetica, sans-serif; - color: black; - background-color: white; } ul.menu {