From 108bf2ddffd285a71aa79c8a9be4a7dde518f850 Mon Sep 17 00:00:00 2001 From: Akif9748 Date: Sun, 28 Aug 2022 15:23:19 +0300 Subject: [PATCH] theme fix --- README.md | 1 + public/css/thread.css | 55 +++---------------------------------------- views/thread.ejs | 2 +- 3 files changed, 5 insertions(+), 53 deletions(-) diff --git a/README.md b/README.md index e017863..bf89403 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,7 @@ Akf-forum has got an API for AJAX, other clients etc. And, you can learn about A - Profile photos will store in database - regex for pfp for now and - admin perm for undelete, thread+message +- page support for threads ### Frontend ### User diff --git a/public/css/thread.css b/public/css/thread.css index 23a6bbe..569bd2a 100644 --- a/public/css/thread.css +++ b/public/css/thread.css @@ -36,55 +36,7 @@ textarea { resize: none; } -p { - font-size: 25px; -} -hr { - border-color: var(--col-8); - border: 0; - border-top: 1px solid var(--col-fg); - margin: 20px 0; -} - -body, -h1, -h2, -h3, -h4, -h5, -h6 { - font-family: monospace; - background: var(--col-bg); - color: var(--col-fg); - max-width: 69rem; - margin-top: 10px; - margin: auto; - - /* funny number */ -} - -a:link { - color: var(--col-4); -} - -a:hover { - color: var(--col-1); -} - -a:visited { - color: var(--col-13); -} - -a:active { - color: var(--col-1); -} - -pre { - background-color: var(--col-0); - padding: 1em; - border: 0; -} h1, h2, @@ -94,9 +46,7 @@ h5 { margin-bottom: 0.1rem; } -hr { - border-color: var(--col-8); -} + button, input { @@ -158,7 +108,8 @@ button:hover { div.message { border: 2px solid var(--col-8); - padding: 10px; + margin: auto; + padding-inline: 100; } diff --git a/views/thread.ejs b/views/thread.ejs index 3d342b0..c9a636a 100644 --- a/views/thread.ejs +++ b/views/thread.ejs @@ -14,7 +14,7 @@

<%= thread.title %>

-

View count: <%= thread.views %>

+

View count: <%= thread.views %>

By <%= thread.author.name %>