Skip to content

Commit

Permalink
refine markdown style
Browse files Browse the repository at this point in the history
  • Loading branch information
Jicheng Lu committed Oct 10, 2024
1 parent c611996 commit 0773e5b
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions src/lib/scss/custom/common/_common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -176,15 +176,25 @@ button:focus {
pre {
-ms-overflow-style: none !important;
white-space: pre-wrap;
margin-top: 0px;
margin-bottom: 0px;
margin-top: 1em;
margin-bottom: 1em;

&:has(.language-sql),
&:has(.language-java),
&:has(.language-csharp),
&:has(.language-json) {
background-color: black;
color: white;
border-radius: 5px;
padding: 5px 10px;
}
}

pre::-webkit-scrollbar {
display: none !important;
}

table {
table, code {
margin-top: 1em !important;
margin-bottom: 1em !important;
}
Expand Down

0 comments on commit 0773e5b

Please sign in to comment.