diff --git a/README.md b/README.md index d4764a4..8c0b1e3 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,7 @@ # moon-keeper ポルノグラフィティで一番好きな楽曲は「月飼い」です。 + +## ドキュメント + +- [月を水面で飼う — 月相実装 最終設計ドキュメント](moon_phase_design.md) diff --git a/index.html b/index.html index d794750..04e5cad 100644 --- a/index.html +++ b/index.html @@ -81,6 +81,52 @@ opacity: 0.7; pointer-events: auto; } + + /* 月相スライダー(左下・ホバー表示) */ + #phase-area { + position: fixed; + bottom: 0; + left: 0; + width: 150px; + height: 130px; + z-index: 101; + } + #phase-ui { + position: fixed; + bottom: 16px; + left: 16px; + padding: 10px 12px; + background: rgba(0, 0, 0, 0.45); + border: 1px solid rgba(255, 255, 255, 0.08); + border-radius: 8px; + color: rgba(255, 255, 255, 0.65); + font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif; + font-size: 11px; + line-height: 1.6; + opacity: 0; + pointer-events: none; + transition: opacity 0.3s ease; + z-index: 100; + width: 180px; + } + #phase-area:hover ~ #phase-ui, + #phase-area:hover ~ #phase-ui.hidden { + opacity: 0.9; + pointer-events: auto; + } + #phase-ui label { + display: flex; + align-items: center; + gap: 8px; + } + #phase-ui input[type="range"] { + width: 120px; + } + #phase-ui .value { + min-width: 48px; + text-align: right; + font-variant-numeric: tabular-nums; + } @@ -92,6 +138,15 @@ Moon texture: Solar System Scope
Repository: moon-keeper +
+