mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2026-05-21 11:05:49 +00:00
style(md-content): update margin and border-radius for consistency
This commit is contained in:
@@ -115,7 +115,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.md-content .highlight:not(table) {
|
.md-content .highlight:not(table) {
|
||||||
margin: 10px auto;
|
margin-bottom: var(--content-gap);
|
||||||
background: var(--code-block-bg) !important;
|
background: var(--code-block-bg) !important;
|
||||||
border-radius: var(--radius);
|
border-radius: var(--radius);
|
||||||
direction: ltr;
|
direction: ltr;
|
||||||
@@ -188,7 +188,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.md-content img {
|
.md-content img {
|
||||||
border-radius: 4px;
|
border-radius: var(--radius);
|
||||||
margin: 1rem 0;
|
margin: 1rem 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -213,12 +213,12 @@
|
|||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1:hover .anchor,
|
.md-content h1:hover .anchor,
|
||||||
h2:hover .anchor,
|
.md-content h2:hover .anchor,
|
||||||
h3:hover .anchor,
|
.md-content h3:hover .anchor,
|
||||||
h4:hover .anchor,
|
.md-content h4:hover .anchor,
|
||||||
h5:hover .anchor,
|
.md-content h5:hover .anchor,
|
||||||
h6:hover .anchor {
|
.md-content h6:hover .anchor {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
color: var(--secondary);
|
color: var(--secondary);
|
||||||
margin-inline-start: 8px;
|
margin-inline-start: 8px;
|
||||||
@@ -227,7 +227,7 @@ h6:hover .anchor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
img.in-text {
|
.md-content img.in-text {
|
||||||
display: inline;
|
display: inline;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user