Skip to content

Commit

Permalink
chore: enhance margin
Browse files Browse the repository at this point in the history
  • Loading branch information
openscript committed Feb 6, 2024
1 parent 80432ef commit 7d39c4a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@
},
"slidev": {
"colorSchema": "both",
"highlighter": "all",
"defaults": {
"lineNumbers": true,
"highlighter": "prism",
"fonts": {
"provider": "none",
"sans": "PT Sans",
"mono": "Fira Code",
"local": "PT Sans, 2MASS J1808, Fira Code"
},
"hightlighter": "prism"
}
}
}
}
9 changes: 4 additions & 5 deletions styles/layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,14 @@ h6 {
}

.slidev-layout h1 + h2 {
margin-top: 0 !important;
color: var(--slidev-theme-primary-alternative);
font-size: 1rem;
}

.slidev-layout h1 + * {
margin-top: 0.5rem !important;
}

.slidev-layout ul li::marker {
content: '> ';
}
Expand All @@ -139,10 +142,6 @@ h6 {
z-index: 1 !important;
}

.slidev-layout > div > *:not(:first-child), .slidev-layout > *:not(:first-child) {
margin-top: 1em;
}

.slidev-layout.two-cols {
gap: 1rem;
}
Expand Down

0 comments on commit 7d39c4a

Please sign in to comment.