feature: add custom css

This commit is contained in:
周中平 2024-01-11 09:20:44 +08:00
parent 0f4d9fcfb5
commit 267af1bd9c
Signed by: zhouzhongping
GPG Key ID: 6666822800008000
2 changed files with 8 additions and 0 deletions

View File

@ -8,6 +8,7 @@ export const sharedPageComponents: SharedLayout = {
header: [], header: [],
footer: Component.Footer({ footer: Component.Footer({
links: { links: {
"Home": "https://www.7wate.com",
"Blog": "https://blog.7wate.com", "Blog": "https://blog.7wate.com",
GitHub: "https://github.com/7wate", GitHub: "https://github.com/7wate",
}, },
@ -41,6 +42,7 @@ export const defaultContentPageLayout: PageLayout = {
Component.Graph(), Component.Graph(),
Component.DesktopOnly(Component.TableOfContents()), Component.DesktopOnly(Component.TableOfContents()),
Component.Backlinks(), Component.Backlinks(),
Component.MobileOnly(Component.Explorer()),
], ],
} }

View File

@ -1,3 +1,9 @@
@use "./base.scss"; @use "./base.scss";
// put your custom CSS here! // put your custom CSS here!
// 移动端下右侧组件垂直布局
@media (max-width: 1510px) {
#quartz-body .sidebar.right {
flex-direction: column!important;
}
}