mirror of
https://github.com/jackyzha0/quartz.git
synced 2026-03-24 23:15:46 -05:00
adjust layout
This commit is contained in:
parent
fc6d046173
commit
c8f8d29b4c
@ -21,9 +21,9 @@ export const defaultContentPageLayout: PageLayout = {
|
||||
beforeBody: [
|
||||
Component.Breadcrumbs(),
|
||||
Component.ArticleTitle(),
|
||||
Component.MobileOnly(Component.TableOfContents()),
|
||||
// Component.ContentMeta(),
|
||||
// Component.TagList(),
|
||||
Component.MobileOnly(Component.TableOfContents()),
|
||||
],
|
||||
left: [
|
||||
Component.PageTitle(),
|
||||
|
||||
@ -17,7 +17,7 @@ button#toc {
|
||||
& .fold {
|
||||
margin-left: 0.5rem;
|
||||
transition: transform 0.3s ease;
|
||||
opacity: 0.8;
|
||||
// opacity: 0.8;
|
||||
}
|
||||
|
||||
&.collapsed .fold {
|
||||
@ -41,12 +41,12 @@ button#toc {
|
||||
padding: 0;
|
||||
& > li > a {
|
||||
color: var(--dark);
|
||||
opacity: 0.35;
|
||||
opacity: 0.7; // 0.35
|
||||
transition:
|
||||
0.5s ease opacity,
|
||||
0.3s ease color;
|
||||
&.in-view {
|
||||
opacity: 0.75;
|
||||
opacity: 0.95; //0.75
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user