Skip to content

Commit e5f7390

Browse files
committed
Highlight broken links
1 parent e39cac1 commit e5f7390

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

src/css/external-link-icon.css

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,23 @@ a.add-ext-icon::after {
1313
a.add-ext-icon > .svg-inline--fa {
1414
margin-left: 0.25em;
1515
}
16+
17+
.doc a[href*=".adoc"]::after {
18+
font-family: "Font Awesome Light", serif;
19+
content: "⚠";
20+
font-size: inherit;
21+
color: red;
22+
}
23+
24+
.doc a[href*=".adoc"] {
25+
font-weight: bold;
26+
color: red;
27+
}
28+
29+
.doc a[href*=".adoc"]:hover {
30+
color: inherit;
31+
}
32+
33+
.doc a[href*=".adoc"]:hover::after {
34+
content: "⚠ - " attr(href);
35+
}

0 commit comments

Comments
 (0)