From 3f5154a644f323cc8aa83d29a41158cf71630fec Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Fri, 24 May 2024 21:47:29 +0200 Subject: [PATCH] made pretty good style for forum if it works, do not touch it.... this is so messed styling but yeah fucker i did it --- res/forum/style.css | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/res/forum/style.css b/res/forum/style.css index 0137110..e499e7f 100644 --- a/res/forum/style.css +++ b/res/forum/style.css @@ -161,6 +161,7 @@ body #upload_btn { + /*position: absolute;*/ padding-top: 1vh; padding-bottom: 1vh; } @@ -215,6 +216,9 @@ body width: fit-content; height: fit-content; align-self: center; + + margin-left: auto; + margin-right: auto; } .post @@ -223,11 +227,18 @@ body flex-direction: row; align-items: center; align-self: flex-start; + width: 100%; +} + +.post + .post +{ + border-top: 1px solid #3E392F; } .post_info { - margin-left: 2vh; + padding-left: 5vh; + display: flex; flex-direction: column; align-items: start; @@ -240,14 +251,18 @@ body .post_image { + padding-top: 0.25vh; + padding-bottom: 0.25vh; width: 20vh; - height: 20vh; } .post img { max-height: 20vh; max-width: 20vh; + display: block; + margin-left: auto; + margin-right: auto; } .post img:hover