mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-23 10:58:13 +08:00
perf: 调整 Footer 布局
This commit is contained in:
parent
471084ff23
commit
05487158cc
@ -43,7 +43,6 @@ onMounted(() => {
|
||||
position: relative;
|
||||
z-index: var(--vp-z-index-footer);
|
||||
padding: 24px;
|
||||
background-color: var(--vp-c-bg);
|
||||
border-top: 1px solid var(--vp-c-gutter);
|
||||
transition: all var(--t-color);
|
||||
}
|
||||
@ -70,6 +69,9 @@ onMounted(() => {
|
||||
@media (min-width: 768px) {
|
||||
.plume-footer {
|
||||
padding: 24px;
|
||||
}
|
||||
|
||||
.plume-footer.has-sidebar {
|
||||
margin-right: calc(0px - ((100vw - var(--vp-layout-max-width)) / 2));
|
||||
}
|
||||
}
|
||||
|
||||
@ -30,7 +30,7 @@
|
||||
line-height: 32px;
|
||||
letter-spacing: -0.02em;
|
||||
border-top: 1px solid var(--vp-c-divider);
|
||||
transition: border-top var(--t-color);
|
||||
transition: border-top var(--t-color), color var(--t-color);
|
||||
}
|
||||
|
||||
.plume-content h2:first-of-type {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user