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;
|
||||
}
|
||||
|
||||
.md-content code {
|
||||
margin: auto 4px;
|
||||
padding: 4px 6px;
|
||||
.post-content code {
|
||||
padding: 0.2rem 0.3rem;
|
||||
font-size: 0.78em;
|
||||
line-height: 1.5;
|
||||
background: var(--code-bg);
|
||||
border-radius: 2px;
|
||||
border-radius: 0.2rem;
|
||||
}
|
||||
|
||||
.md-content pre code {
|
||||
|
||||
Reference in New Issue
Block a user