From a7c159cc8290a7dc9f6f1c9239696e1fa0c68f6a Mon Sep 17 00:00:00 2001
From: Zankaria
Date: Sat, 17 Aug 2024 00:10:40 +0200
Subject: [PATCH] style.css: make posts 4chan-like
---
stylesheets/style.css | 19 ++++++++++++++-----
templates/post_reply.html | 4 ++--
templates/post_thread.html | 6 ++----
3 files changed, 18 insertions(+), 11 deletions(-)
diff --git a/stylesheets/style.css b/stylesheets/style.css
index 32ad70b5..1572b36e 100644
--- a/stylesheets/style.css
+++ b/stylesheets/style.css
@@ -228,6 +228,8 @@ div.post.op hr {
}
.intro {
+ display: flex;
+ justify-content: space-between;
margin: 0.5em 0;
padding: 0;
padding-bottom: 0.2em;
@@ -257,12 +259,19 @@ div.delete {
float: right;
}
-div.post.reply p {
- margin: 0.3em 0 0 0;
+.required-star {
+ color: maroon;
}
-div.post.reply div.body {
- margin-left: 1.8em;
+div.post p {
+ margin: 0;
+
+ line-height: 1.16em;
+ font-size: 13px;
+ min-height: 1.16em;
+}
+
+div.post div.body {
margin-top: 0.8em;
padding-right: 3em;
padding-bottom: 0.3em;
@@ -288,7 +297,7 @@ div.post div.body {
div.post.reply {
background: #D6DAF0;
margin: 0.2em 4px;
- padding: 0.2em 0.3em 0.5em 0.6em;
+ padding: 0.5em 0.3em;
border-width: 1px;
border-style: none solid solid none;
border-color: #B7C5D9;
diff --git a/templates/post_reply.html b/templates/post_reply.html
index 0111d6e4..658c853b 100644
--- a/templates/post_reply.html
+++ b/templates/post_reply.html
@@ -11,9 +11,9 @@
{% include 'post/flag.html' %}
{% apply spaceless %}
- {% include 'post/poster_id.html' %}
+ {% include 'post/poster_id.html' %}
{% include 'post/time.html' %}
- No.
+ No.
{{ post.id }}
{% endapply %}
diff --git a/templates/post_thread.html b/templates/post_thread.html
index 7ac58eb3..6477a268 100644
--- a/templates/post_thread.html
+++ b/templates/post_thread.html
@@ -7,18 +7,16 @@
{% endapply %}
{% include 'post/fileinfo.html' %}