really poorly styled the posts

This commit is contained in:
Václav Šmejkal 2024-05-24 20:04:18 +02:00
parent 428c241135
commit 72fce53066
Signed by: ENGO150
GPG Key ID: 4A57E86482968843

View File

@ -178,8 +178,50 @@ body
margin-top: 200vh; 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 .post img
{ {
max-height: 20vh; max-height: 20vh;
max-width: 20vh; max-width: 20vh;
}
.post img:hover
{
filter: invert(10%);
} }