style: refactor layout
This commit is contained in:
+4
-21
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user