diff --git a/index.html b/index.html index e6e4221..2388380 100644 --- a/index.html +++ b/index.html @@ -716,6 +716,44 @@ opacity: 0.3; } } + + /* Photo Attribution / Title Infobox (bottom-right corner) */ + .photo-infobox { + position: fixed; + bottom: 16px; + right: 16px; + z-index: 900; + display: none; + flex-direction: column; + gap: 2px; + max-width: min(380px, calc(100vw - 32px)); + padding: 8px 12px; + border-radius: 8px; + background: rgba(0, 0, 0, 0.45); + backdrop-filter: blur(8px); + border: 1px solid rgba(255, 255, 255, 0.18); + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); + color: rgba(255, 255, 255, 0.92); + font-size: 0.75rem; + line-height: 1.35; + text-align: right; + text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6); + pointer-events: auto; + } + + .photo-infobox.visible { + display: flex; + } + + .photo-infobox-title { + font-weight: 600; + color: rgba(255, 255, 255, 0.96); + } + + .photo-infobox-attribution { + font-size: 0.7rem; + color: rgba(255, 255, 255, 0.78); + } @@ -725,7 +763,8 @@