feat: refine overall layout styling

pull/654/head
Kia Ishii 2 years ago
parent 562e345f07
commit 98443d4eee

@ -101,15 +101,9 @@ const pageName = computed(() => {
display: none; display: none;
order: 2; order: 2;
flex-grow: 1; flex-grow: 1;
flex-shrink: 0;
padding-left: 32px; padding-left: 32px;
min-width: 240px; width: 100%;
} max-width: 256px;
@media (min-width: 1440px) {
.aside {
padding-left: 64px;
}
} }
.aside-container { .aside-container {
@ -117,7 +111,6 @@ const pageName = computed(() => {
top: 0; top: 0;
margin-top: calc(var(--vp-nav-height-desktop) * -1 - 32px); margin-top: calc(var(--vp-nav-height-desktop) * -1 - 32px);
padding-top: calc(var(--vp-nav-height-desktop) + 32px); padding-top: calc(var(--vp-nav-height-desktop) + 32px);
width: 208px;
max-height: 100vh; max-height: 100vh;
overflow-x: hidden; overflow-x: hidden;
overflow-y: auto; overflow-y: auto;
@ -127,12 +120,6 @@ const pageName = computed(() => {
display: none; display: none;
} }
@media (min-width: 1440px) {
.aside-container {
width: 256px;
}
}
.aside-curtain { .aside-curtain {
position: absolute; position: absolute;
bottom: 0; bottom: 0;
@ -166,12 +153,6 @@ const pageName = computed(() => {
} }
} }
@media (min-width: 1440px) {
.content {
padding-left: 64px;
}
}
.content-container { .content-container {
margin: 0 auto; margin: 0 auto;
max-width: 688px; max-width: 688px;

@ -56,8 +56,8 @@ defineProps<{
.name, .name,
.text { .text {
line-height: 40px; line-height: 48px;
font-size: 32px; font-size: 40px;
font-weight: 700; font-weight: 700;
} }

Loading…
Cancel
Save