add user page markup

This commit is contained in:
2025-05-20 17:05:45 +03:00
parent 3bd474d7fe
commit 2eddb70d63
7 changed files with 186 additions and 42 deletions

View File

@ -12,10 +12,14 @@
body {
font-family: sans-serif;
margin: 20px 20px 0px 20px;
margin: 20px;
background-color: rgb(173.5214173228, 183.6737007874, 161.0262992126);
}
.big {
font-size: 1.8rem;
}
#topnav {
padding: 10px;
display: flex;
@ -32,12 +36,17 @@ body {
background-color: rgb(143.7039271654, 144.3879625984, 142.8620374016);
}
#threadnav {
.darkbg {
padding-bottom: 10px;
padding-left: 10px;
background-color: rgb(143.7039271654, 144.3879625984, 142.8620374016);
}
.user-actions {
display: flex;
column-gap: 15px;
}
.site-title {
display: inline;
padding-right: 30px;
@ -93,6 +102,37 @@ body {
padding: 5px 20px;
}
.user-posts {
display: grid;
grid-template-columns: 200px 1fr;
grid-template-rows: 1fr;
gap: 0;
grid-auto-flow: row;
grid-template-areas: "user-page-usercard user-posts-container";
border: 2px outset rgb(135.1928346457, 145.0974015748, 123.0025984252);
}
.user-page-usercard {
grid-area: user-page-usercard;
display: flex;
flex-direction: column;
align-items: center;
padding: 20px 10px;
border: 4px outset rgb(217.26, 220.38, 213.42);
background-color: rgb(143.7039271654, 144.3879625984, 142.8620374016);
border-right: solid 2px;
}
.user-posts-container {
grid-area: user-posts-container;
display: grid;
grid-template-columns: 1fr;
grid-template-rows: 0.2fr 2.5fr;
gap: 0px 0px;
grid-auto-flow: row;
grid-template-areas: "post-info" "post-content";
}
.avatar {
width: 90%;
height: 90%;