Skip to content

Commit efe2411

Browse files
committed
add border below linked code tags
1 parent ade5ad5 commit efe2411

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/css/markdown.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,14 @@ div.markdown {
3333
}
3434
}
3535

36+
// add border bottom to code tags that are in a link
37+
a:has(> code) {
38+
border-bottom: 1px dotted var(--ifm-link-color);
39+
&:hover {
40+
border-bottom: 1px solid var(--ifm-link-color);
41+
}
42+
}
43+
3644
h2 {
3745
margin-bottom: 1.5rem;
3846
padding-bottom: 0.5rem;

0 commit comments

Comments
 (0)