mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-04-29 12:03:31 +08:00
Move codeblock code to layout/article.css and fix 4 spaces codeblocks
This commit is contained in:
parent
e971bda507
commit
fad9b83286
@ -138,11 +138,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
// keep Codeblocks LTR
|
||||
.direction-rtl .highlight {
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
/* Compact style article list */
|
||||
.article-list--compact {
|
||||
border-radius: var(--card-border-radius);
|
||||
|
@ -313,7 +313,10 @@
|
||||
line-height: 1.428571429;
|
||||
word-break: break-all;
|
||||
padding: var(--card-padding);
|
||||
|
||||
// keep Codeblocks LTR
|
||||
[dir="rtl"] & {
|
||||
direction: ltr;
|
||||
}
|
||||
code {
|
||||
color: unset;
|
||||
border: none;
|
||||
@ -332,7 +335,10 @@
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
// keep Codeblocks LTR
|
||||
[dir="rtl"] & {
|
||||
direction: ltr;
|
||||
}
|
||||
pre {
|
||||
margin: initial;
|
||||
padding: 0;
|
||||
|
Loading…
Reference in New Issue
Block a user