+ +
+ -
- +
+ +

+ +
+ + · +
+ + +
+ + + + + + + + +
+
diff --git a/style.css b/style.css index 8ba7be1..3244c16 100644 --- a/style.css +++ b/style.css @@ -365,3 +365,45 @@ echo "done" border-radius: 50% !important; object-fit: cover !important; } + +.photo-detail { max-width: 800px; margin: 0 auto; } +.photo-detail__image { margin-bottom: 24px; border-radius: var(--radius); overflow: hidden; } +.photo-detail__image img { width: 100%; height: auto; display: block; } +.photo-detail__body { font-size: 1.1rem; line-height: 1.8; color: var(--ink-light); margin-bottom: 24px; font-style: italic; text-align: center; } +.photo-detail__meta { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-lighter); padding-top: 16px; border-top: 1px solid var(--border-light); } +.photo-detail__meta img { width: 18px !important; height: 18px !important; border-radius: 50% !important; object-fit: cover !important; } +.photo-detail__nav { display: flex; justify-content: space-between; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--border-light); font-size: 14px; } +.photo-detail__nav a { color: var(--ink-lighter); text-decoration: none; } +.photo-detail__nav a:hover { color: var(--cinnabar); } + +.photo-detail .back-link { + font-size: 13px; + color: var(--ink-lighter); + text-decoration: none; + margin-bottom: 24px; + display: inline-block; + font-family: "Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif; +} +.photo-detail .back-link:hover { color: var(--cinnabar); } + +.photo-detail__title { font-size: 24px; font-weight: 600; text-align: center; margin-bottom: 10px; } +.photo-detail__meta { justify-content: center; } + +.photo-detail__meta span:first-child { + display: inline-flex; + align-items: center; + gap: 4px; +} +.photo-detail__meta img { + width: 18px !important; + height: 18px !important; + border-radius: 50% !important; + object-fit: cover !important; +} + +.photo-detail__divider { + width: 60px; + margin: 24px auto; + border-top: 2px dashed var(--border); +} +.photo-detail__meta { border-top: none; padding-top: 0; }