From 72fce53066f8392459bca524000207c6d4cc74f3 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Fri, 24 May 2024 20:04:18 +0200 Subject: [PATCH] really poorly styled the posts --- res/forum/style.css | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/res/forum/style.css b/res/forum/style.css index fc63ad4..39f4205 100644 --- a/res/forum/style.css +++ b/res/forum/style.css @@ -178,8 +178,50 @@ body margin-top: 200vh; } +#posts +{ + display: flex; + flex-direction: column; + align-items: center; + width: fit-content; + height: fit-content; + align-self: center; +} + +.post +{ + display: flex; + flex-direction: row; + align-items: center; + align-self: flex-start; +} + +.post_info +{ + margin-left: 2vh; + display: flex; + flex-direction: column; + align-items: start; +} + +.post_info * +{ + padding: 0.2vh; +} + +.post_image +{ + width: 20vh; + height: 20vh; +} + .post img { max-height: 20vh; max-width: 20vh; +} + +.post img:hover +{ + filter: invert(10%); } \ No newline at end of file