mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2026-05-21 11:05:49 +00:00
style(md-content): adjust code element padding and border-radius
This commit is contained in:
@@ -143,13 +143,12 @@
|
|||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.md-content code {
|
.post-content code {
|
||||||
margin: auto 4px;
|
padding: 0.2rem 0.3rem;
|
||||||
padding: 4px 6px;
|
|
||||||
font-size: 0.78em;
|
font-size: 0.78em;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
background: var(--code-bg);
|
background: var(--code-bg);
|
||||||
border-radius: 2px;
|
border-radius: 0.2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.md-content pre code {
|
.md-content pre code {
|
||||||
|
|||||||
Reference in New Issue
Block a user