aboutsummaryrefslogtreecommitdiffstats
path: root/src/public
diff options
context:
space:
mode:
authorThomas Vanbesien <tvanbesi@proton.me>2026-03-21 22:55:13 +0100
committerThomas Vanbesien <tvanbesi@proton.me>2026-03-21 22:55:13 +0100
commitf9ad3f4dc05252839457579303a4e0a0f94d8b80 (patch)
treec78b8b5ce41f1a1dc1a8b5e6bbda2643729d7c4e /src/public
parentec77d2f77b96488b1bc170ced2abab12b3c19416 (diff)
downloadcamagru-f9ad3f4dc05252839457579303a4e0a0f94d8b80.tar.gz
camagru-f9ad3f4dc05252839457579303a4e0a0f94d8b80.zip
Add likes, comments, email notifications, and pagination to gallery
Diffstat (limited to 'src/public')
-rw-r--r--src/public/css/style.css76
1 files changed, 75 insertions, 1 deletions
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 {