mirror of
https://github.com/vinta/awesome-python.git
synced 2026-04-11 14:21:45 +08:00
feat(css): add external link indicator for inline text links
Appends a small northeast arrow (↗) after target="_blank" anchors in hero subtitle, expand description, expand also-see, and footer sections to signal outbound navigation to keyboard and sighted users. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
e06cb93fdc
commit
65bc88bb4e
@ -954,6 +954,18 @@ th[data-sort].sort-asc::after {
|
||||
color: var(--footer-sep);
|
||||
}
|
||||
|
||||
/* External link indicator for inline text links */
|
||||
.hero-sub a[target="_blank"]::after,
|
||||
.expand-desc a[target="_blank"]::after,
|
||||
.expand-also-see a[target="_blank"]::after,
|
||||
.footer a[target="_blank"]::after {
|
||||
content: " \2197";
|
||||
font-size: 0.7em;
|
||||
opacity: 0.55;
|
||||
text-decoration: none;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.noscript-msg {
|
||||
padding: 1rem var(--shell-pad) 0;
|
||||
text-align: center;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user