Skip to content

Commit 5e7a0f8

Browse files
committed
Highlight external links in menu bar
1 parent 2231fc2 commit 5e7a0f8

2 files changed

Lines changed: 10 additions & 3 deletions

File tree

static/css/layout.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,13 @@ nav {
8989
margin-right: 1rem;
9090
}
9191

92+
.nav-links .external-link li::after {
93+
content: "↗";
94+
font-size: 0.7em;
95+
vertical-align: super;
96+
margin-left: 0.1em;
97+
}
98+
9299
.icon-btn {
93100
display: inline-flex;
94101
align-items: center;

templates/_topnav.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
<div class="nav-right">
66
<ul class="nav-links">
77
<a href="/arenas/"><li>Arenas</li></a>
8-
<a href="https://arxiv.org/pdf/2511.00839.pdf"><li>Paper</li></a>
8+
<a href="https://arxiv.org/pdf/2511.00839.pdf" class="external-link"><li>Paper</li></a>
99
<a href="/insights/"><li>Insights</li></a>
10-
<a href="https://viewer.codeclash.ai"><li>Trajectories</li></a>
11-
<a href=""><li>Docs</li></a>
10+
<a href="https://viewer.codeclash.ai" class="external-link"><li>Trajectories</li></a>
11+
<a href="" class="external-link"><li>Docs</li></a>
1212
<a href="/team/"><li>Team</li></a>
1313
</ul>
1414
<a href="https://github.com/codeclash-ai/codeclash" class="icon-btn" aria-label="GitHub" title="Check out our code on GitHub" target="_blank" rel="noopener noreferrer">

0 commit comments

Comments
 (0)