mirror of
https://github.com/vinta/awesome-python.git
synced 2026-05-09 22:53:49 +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:
@@ -954,6 +954,18 @@ th[data-sort].sort-asc::after {
|
|||||||
color: var(--footer-sep);
|
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 {
|
.noscript-msg {
|
||||||
padding: 1rem var(--shell-pad) 0;
|
padding: 1rem var(--shell-pad) 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|||||||
Reference in New Issue
Block a user