Skip to content

Commit

Permalink
feat: update style
Browse files Browse the repository at this point in the history
  • Loading branch information
ChenKS12138 committed Dec 24, 2023
1 parent 8a67a17 commit a3798c2
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions src/styles/github-markdown.css
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ html.dark .markdown-body pre {
margin: 0.67em 0;
font-weight: 600;
padding-bottom: 0.3em;
font-size: 1.8em;
font-size: 1.7em;
border-bottom: 1px solid var(--color-border-muted);
}

Expand Down Expand Up @@ -203,7 +203,8 @@ html.dark .markdown-body pre {
border-style: none;
max-width: 100%;
box-sizing: content-box;
background-color: var(--color-canvas-default);
/* background-color: var(--color-canvas-default); */
background-color: white;
}

.markdown-body code,
Expand Down Expand Up @@ -353,6 +354,22 @@ html.dark .markdown-body pre {
line-height: 1.25;
}

.markdown-body h1::before {
content: "# ";
}

.markdown-body h2::before {
content: "## ";
}

.markdown-body h3::before {
content: "### ";
}

.markdown-body h4::before {
content: "#### ";
}

.markdown-body h2 {
font-weight: 600;
padding-bottom: 0.3em;
Expand Down

0 comments on commit a3798c2

Please sign in to comment.