Gitea-Theme/test/scss/repo-home.scss

34 lines
740 B
SCSS
Raw Normal View History

2024-11-08 11:21:42 +00:00
@use "common";
@use "repo-home/header";
2024-11-11 10:24:12 +00:00
@use "repo-home/sidebar-right";
2024-11-08 11:21:42 +00:00
body {
background-color: #232323;
2024-11-11 10:24:12 +00:00
display: flex;
flex-direction: column;
height: 100vh;
2024-11-11 10:24:12 +00:00
.body-content {
height: 95vh;
2024-11-11 10:24:12 +00:00
main.main-content {
flex: 1;
//display: flex;
background-color: #535153; // bg-color for testing purposes
}
// Left sidebar (if applicable)
.sidebar-left {
width: 250px;
background-color: #747272; // bg-color for testing purposes
/* Left sidebar styles */
}
}
& > *:not(header) {
display: flex;
flex-direction: row;
flex: 1; // Expands to fill remaining height of body
}
}