95 lines
1.7 KiB
SCSS
95 lines
1.7 KiB
SCSS
@use "sass:color";
|
|
|
|
$accent_color: #c1ceb1;
|
|
|
|
$dark_bg: color.scale($accent_color, $lightness: -25%, $saturation: -97%);
|
|
$dark2: color.scale($accent_color, $lightness: -30%, $saturation: -60%);
|
|
|
|
$light: color.scale($accent_color, $lightness: 40%, $saturation: -60%);
|
|
|
|
$main_bg: color.scale($accent_color, $lightness: -10%, $saturation: -40%);
|
|
|
|
body {
|
|
font-family: sans-serif;
|
|
margin: 20px 20px 0px 20px;
|
|
background-color: $main_bg;
|
|
}
|
|
|
|
#topnav {
|
|
padding: 10px;
|
|
display: flex;
|
|
justify-content: end;
|
|
background-color: $accent_color;
|
|
}
|
|
|
|
#threadnav {
|
|
padding-bottom: 10px;
|
|
padding-left: 10px;
|
|
background-color: $dark_bg;
|
|
}
|
|
|
|
.thread-title {
|
|
margin: 0;
|
|
}
|
|
|
|
.post {
|
|
display: grid;
|
|
grid-template-columns: 200px 1fr;
|
|
grid-template-rows: 1fr;
|
|
gap: 0;
|
|
grid-auto-flow: row;
|
|
grid-template-areas:
|
|
"usercard post-content-container";
|
|
border: 2px outset $dark2;
|
|
}
|
|
|
|
.usercard {
|
|
grid-area: usercard;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 20px 10px;
|
|
border: 4px outset $light;
|
|
background-color: $dark_bg;
|
|
border-right: solid 2px;
|
|
}
|
|
|
|
.post-content-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";
|
|
grid-area: post-content-container;
|
|
}
|
|
|
|
.post-info {
|
|
grid-area: post-info;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 5px 20px;
|
|
}
|
|
|
|
.post-content {
|
|
grid-area: post-content;
|
|
padding: 5px 20px;
|
|
}
|
|
|
|
.avatar {
|
|
width: 90%;
|
|
height: 90%;
|
|
object-fit: contain;
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
.username-link {
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.user-status {
|
|
text-align: center;
|
|
}
|