From 3f36f7761af07a883812e210e3ad9fd0f8afda2d Mon Sep 17 00:00:00 2001 From: Akif9748 Date: Fri, 9 Sep 2022 17:38:13 +0300 Subject: [PATCH] Black Theme Fixes --- README.md | 3 +-- public/css/messages.css | 2 +- public/css/themes/black.css | 2 +- public/css/themes/default.css | 2 +- public/css/thread.css | 4 ++-- public/css/threads.css | 2 +- public/css/user.css | 1 + public/css/users.css | 2 +- views/admin.ejs | 2 +- views/thread.ejs | 2 +- views/user.ejs | 5 +++-- 11 files changed, 14 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index f452051..01d3b29 100644 --- a/README.md +++ b/README.md @@ -32,10 +32,9 @@ Akf-forum has got an API for AJAX (fetch), other clients etc. And, you can learn ## TO-DO list | To do | Is done? | Priority | | ----- | -------- | -------- | -| Local pfp store | 🟢 | MEDIUM | +| Category | 🟡 | MEDIUM | | Page support for search | 🟡 | LOW | | IPs of users will add SecretModel | 🔴 | MEDIUM | -| Category | ⚪ | MEDIUM | | Profile Message | 🔴 | LOW | | Last seen, last seen info | 🔴 | LOW | | Better Auth | 🔴 | MEDIUM | diff --git a/public/css/messages.css b/public/css/messages.css index 3ad4bc6..8c7c77c 100644 --- a/public/css/messages.css +++ b/public/css/messages.css @@ -30,5 +30,5 @@ .content { width: 70%; - color: var(--reaction-hover); + color: var(--anti); } \ No newline at end of file diff --git a/public/css/themes/black.css b/public/css/themes/black.css index cf60ff5..2fd0c61 100644 --- a/public/css/themes/black.css +++ b/public/css/themes/black.css @@ -7,7 +7,7 @@ --input-clr: #dcdcdc; --box-shadow: #c3c3c3; --second: #9f9f9f; - --reaction-hover: #ebebeb; + --anti: #ebebeb; --t-username: rgb(236 236 236); background-color: #000000; } \ No newline at end of file diff --git a/public/css/themes/default.css b/public/css/themes/default.css index 54e379e..ad3ab3c 100644 --- a/public/css/themes/default.css +++ b/public/css/themes/default.css @@ -6,7 +6,7 @@ --input-clr: #414141; --box-shadow: #c3c3c3; --second: #747474; - --reaction-hover: #151515; + --anti: #151515; --t-username: #555; --important: red; background-color: #ffffff; diff --git a/public/css/thread.css b/public/css/thread.css index 6a8b935..c27a5d4 100644 --- a/public/css/thread.css +++ b/public/css/thread.css @@ -36,7 +36,7 @@ .content { width: 70%; - color: var(--reaction-hover); + color: var(--anti); } .reactions { @@ -59,7 +59,7 @@ } .reactions div:hover { - color: var(--reaction-hover); + color: var(--anti); } diff --git a/public/css/threads.css b/public/css/threads.css index 01ed1cf..96f68f4 100644 --- a/public/css/threads.css +++ b/public/css/threads.css @@ -22,7 +22,7 @@ padding: 10px; font-size: 18px; font-weight: 700; - color: var(--reaction-hover); + color: var(--anti); } diff --git a/public/css/user.css b/public/css/user.css index 414a559..76f0b03 100644 --- a/public/css/user.css +++ b/public/css/user.css @@ -10,6 +10,7 @@ max-width: 900px; margin: 0 auto; padding: 10px; + color: var(--anti); } .box { diff --git a/public/css/users.css b/public/css/users.css index ea3dad2..1befe59 100644 --- a/public/css/users.css +++ b/public/css/users.css @@ -23,7 +23,7 @@ } .user-box-title>a{ - color: var(--reaction-hover); + color: var(--anti); } .user-box-title>span { diff --git a/views/admin.ejs b/views/admin.ejs index d379280..1a9bc31 100644 --- a/views/admin.ejs +++ b/views/admin.ejs @@ -18,7 +18,7 @@ border: 1px solid #dddddd; text-align: left; padding: 8px; - color: var(--reaction-hover); + color: var(--anti); } tr:nth-child(even) { diff --git a/views/thread.ejs b/views/thread.ejs index 2c9d532..1c2de28 100644 --- a/views/thread.ejs +++ b/views/thread.ejs @@ -21,7 +21,7 @@ <%= new Date(thread.time).toLocaleString() %> • Views: <%= thread.views %>%>
- <%= thread.author.name %> <%= "• "+(thread.edited ? "Edited" : "Not edited")%> + <%= thread.author.name %> <%= "• "+(thread.edited ? "Edited" : "Not edited")%>
diff --git a/views/user.ejs b/views/user.ejs index 9ed8f28..a316b1e 100644 --- a/views/user.ejs +++ b/views/user.ejs @@ -11,7 +11,7 @@ <%- include("extra/navbar") %> -
+
<% if (user?.admin || user?.id === member.id) { %> Upload avatar @@ -102,7 +102,8 @@ max-width: 800px; text-align: center; border-radius: 5px; background: none; -color: black;"> +color: var(--anti); +"> <%= member.about %>