style: refactor layout

This commit is contained in:
Erzbir
2025-08-10 17:21:56 +08:00
parent 9cf5c1540a
commit 66034a343f
16 changed files with 105 additions and 120 deletions
+4 -21
View File
@@ -67,34 +67,18 @@ body {
}
}
.page {
margin: 0 auto;
.wrapper {
display: flex;
flex-direction: column;
min-height: 100vh
}
.main-wrapper {
flex: 1;
display: flex;
flex-direction: column;
}
.layout-wrapper {
display: flex;
width: 100%;
flex: 1;
flex-direction: row;
}
.sidebar-left,
.sidebar-right {
width: 20%;
flex-shrink: 0;
padding: calc(var(--font-theme-size) * 1.25);
}
.center.container {
flex: 1;
.container {
display: flex;
flex-direction: column;
padding: calc(var(--font-theme-size) * 2.5);
@@ -103,7 +87,6 @@ body {
}
.content {
flex: 1;
display: flex;
flex-direction: column;
}
@@ -116,7 +99,7 @@ body {
}
@media (max-width: 768px) {
.center.container {
.container {
padding: calc(var(--font-theme-size) * 1.25);
}
}