Skip to content

Commit fd41a29

Browse files
committed
Removing "_blank"
1 parent 72bba01 commit fd41a29

File tree

2 files changed

+3
-15
lines changed

2 files changed

+3
-15
lines changed

preview-src/index.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ This last section shouldn't show up in the nav.
532532

533533
== Test external link
534534

535-
https://amazon.com[Amazon^]
535+
http://amazon.com[Amazon^]
536536

537537
https://amazon.com[Amazon]
538538

src/css/external-link-icon.css

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,11 @@
1-
.doc a[target=_blank]::after {
1+
.doc a[href^="https://"]::after {
22
font-family: "Font Awesome Solid", serif;
33
content: "\f35d";
44
font-size: inherit;
55
color: inherit;
66
display: none;
77
}
88

9-
.doc a[target=_blank] > .svg-inline--fa {
10-
margin-left: 0.25em;
11-
}
12-
13-
.doc a[href*="//"]::after {
14-
font-family: "Font Awesome Solid", serif;
15-
content: "\f35d";
16-
font-size: inherit;
17-
color: inherit;
18-
display: none;
19-
}
20-
21-
.doc a[href*="//"] > .svg-inline--fa {
9+
.doc a[href^="https://"] > .svg-inline--fa {
2210
margin-left: 0.25em;
2311
}

0 commit comments

Comments
 (0)