support codeblocks with chirpy style

This commit is contained in:
geekifan
2025-04-28 18:10:45 +08:00
parent b38917b7d1
commit 4d6af29e3e
2 changed files with 68 additions and 1 deletions

View File

@ -106,10 +106,21 @@ td.rouge-code {
}
}
div[class^='language-'] {
div[class^='highlight'] {
@extend %rounded;
@extend %code-snippet-bg;
tr {
background-color: var(--highlight-bg-color) !important;
border-bottom: none !important;
}
padding-bottom: 0;
.table-wrapper {
margin-bottom: .75rem;
}
box-shadow: var(--language-border-color) 0 0 0 1px;
.content > & {