Skip to content

Commit

Permalink
Tweak markdown notebook header sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
mjbvz committed Nov 5, 2021
1 parent 0fb0d01 commit d1f2d0a
Showing 1 changed file with 21 additions and 5 deletions.
26 changes: 21 additions & 5 deletions extensions/markdown-language-features/notebook/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ export const activate: ActivationFunction<void> = (ctx) => {

const style = document.createElement('style');
style.textContent = `
#preview {
font-size: 1.1em;
}
.emptyMarkdownCell::before {
content: "${document.documentElement.style.getPropertyValue('--notebook-cell-markup-empty-content')}";
font-style: italic;
Expand Down Expand Up @@ -56,20 +60,32 @@ export const activate: ActivationFunction<void> = (ctx) => {
border-bottom: 2px solid;
}
h2, h3, h4, h5, h6 {
font-weight: normal;
}
h1 {
font-size: 2.25em;
font-size: 2.3em;
}
h2 {
font-size: 1.9em;
font-size: 2em;
}
h3 {
font-size: 1.6em;
font-size: 1.7em;
}
p {
font-size: 1.1em;
h3 {
font-size: 1.5em;
}
h4 {
font-size: 1.3em;
}
h5 {
font-size: 1.2em;
}
h1,
Expand Down

0 comments on commit d1f2d0a

Please sign in to comment.