From f9ad3f4dc05252839457579303a4e0a0f94d8b80 Mon Sep 17 00:00:00 2001 From: Thomas Vanbesien Date: Sat, 21 Mar 2026 22:55:13 +0100 Subject: Add likes, comments, email notifications, and pagination to gallery --- src/public/css/style.css | 76 +++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 75 insertions(+), 1 deletion(-) (limited to 'src/public/css/style.css') diff --git a/src/public/css/style.css b/src/public/css/style.css index 2119a40..00bd3ee 100644 --- a/src/public/css/style.css +++ b/src/public/css/style.css @@ -247,12 +247,86 @@ footer { display: block; } +.post-actions { + display: flex; + align-items: center; + gap: 0.5rem; + padding: 0.5rem 1rem; +} + +.like-form { + display: inline; +} + +.like-btn { + background: none; + border: none; + font-size: 1.5rem; + cursor: pointer; + color: #999; + padding: 0; + line-height: 1; +} + +.like-btn.liked { + color: #e74c3c; +} + +.like-count { + font-size: 0.9rem; + color: #666; +} + +.comments-section { + padding: 0 1rem 0.75rem; +} + +.comments-list { + margin-bottom: 0.5rem; +} + +.comment { + font-size: 0.9rem; + padding: 0.2rem 0; +} + +.comment strong { + margin-right: 0.3rem; +} + +.comment-form { + display: flex; + gap: 0.5rem; +} + +.comment-form input[type="text"] { + flex: 1; + padding: 0.4rem 0.5rem; + border: 1px solid #dbdbdb; + border-radius: 4px; + font-size: 0.9rem; +} + +.comment-form button { + padding: 0.4rem 0.75rem; + background: none; + border: none; + color: #0095f6; + font-weight: 600; + cursor: pointer; + font-size: 0.9rem; +} + +.comment-form button:hover { + color: #007ad9; +} + .pagination { display: flex; justify-content: center; align-items: center; gap: 0.5rem; - margin-top: 2rem; + margin: 1.5rem 0; } .pagination a { -- cgit v1.2.3