feat: new layout, only use gap for big folder links
Some checks are pending
Build and Test / build-and-test (macos-latest) (push) Waiting to run
Build and Test / build-and-test (ubuntu-latest) (push) Waiting to run
Build and Test / build-and-test (windows-latest) (push) Waiting to run
Build and Test / publish-tag (push) Waiting to run
Docker build & push image / build (push) Waiting to run
Some checks are pending
Build and Test / build-and-test (macos-latest) (push) Waiting to run
Build and Test / build-and-test (ubuntu-latest) (push) Waiting to run
Build and Test / build-and-test (windows-latest) (push) Waiting to run
Build and Test / publish-tag (push) Waiting to run
Docker build & push image / build (push) Waiting to run
This commit is contained in:
parent
b129512e1a
commit
b59dd09b82
2 changed files with 7 additions and 5 deletions
|
@ -8,8 +8,7 @@ export const sharedPageComponents: SharedLayout = {
|
|||
afterBody: [],
|
||||
footer: Component.Footer({
|
||||
links: {
|
||||
GitHub: "https://github.com/jackyzha0/quartz",
|
||||
"Discord Community": "https://discord.gg/cRFFHYye7t",
|
||||
Source: "https://git.duskflower.dev/duskflower/school-knowledge-base-quartz",
|
||||
},
|
||||
}),
|
||||
}
|
||||
|
@ -23,7 +22,7 @@ export const defaultContentPageLayout: PageLayout = {
|
|||
}),
|
||||
Component.ArticleTitle(),
|
||||
Component.ContentMeta(),
|
||||
Component.TagList(),
|
||||
// Component.TagList(),
|
||||
],
|
||||
left: [
|
||||
Component.PageTitle(),
|
||||
|
@ -40,9 +39,12 @@ export const defaultContentPageLayout: PageLayout = {
|
|||
Component.Explorer(),
|
||||
],
|
||||
right: [
|
||||
Component.TagList(),
|
||||
Component.Graph(),
|
||||
Component.DesktopOnly(Component.TableOfContents()),
|
||||
Component.Backlinks(),
|
||||
// Component.Spacer(),
|
||||
// Component.RecentNotes(),
|
||||
],
|
||||
}
|
||||
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
} */
|
||||
/* } */
|
||||
|
||||
// create a gap so that long links become distinguishable
|
||||
.folder-outer .content li {
|
||||
// create a gap so that long links become distinguishable for the folders with long headings
|
||||
.folder-container[data-folderpath="Politik/index"] + .folder-outer .content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
row-gap: 0.5rem;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue