Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
penglei committed Dec 24, 2024
1 parent 7198160 commit 84eb705
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 16 deletions.
12 changes: 9 additions & 3 deletions assets/css/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ code,pre,kbd {
}
.md-typeset pre>code {
display: block;
padding: 0.5147058824em 0.7352941176em;
padding: 0.2941176471em 0.2941176471em;
margin: 0;
/* overflow: auto; */
word-break: normal;
Expand Down Expand Up @@ -396,8 +396,8 @@ code,pre,kbd {
text-align: right;
}
.md-typeset table:not([class]) th {
min-width: 5rem;
padding: 0.9375em 1.25em;
min-width: 3rem;
padding: 0.625em 0.625em;
font-weight: 700;
vertical-align: top;
}
Expand Down Expand Up @@ -2143,10 +2143,16 @@ pre[data-lang]::before,div.sourceCode[data-lang]::before {

.syn-highlight-line-number {
background-color: var(--md-code-bg-color);
border-right: 1px solid #574c2d;
}
.syn-highlight-line-number code {
font-size: 0.7em;
color: gray;
padding-right: 2px;
}

pre>code.syn-code-block {
padding-left: 0px;
}

[data-md-color-scheme=dracula] .syn-code-block {
Expand Down
Loading

0 comments on commit 84eb705

Please sign in to comment.