Skip to content

Commit e7bb2be

Browse files
committed
Minor fixes
1 parent 4a0a47d commit e7bb2be

9 files changed

Lines changed: 53 additions & 67 deletions

File tree

data/team.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"affiliation": "Cornell University"
2020
},
2121
{
22-
"name": "Carlos E. Jimenez",
22+
"name": "Carlos Jimenez",
2323
"role": "Contributor",
2424
"link": "https://www.carlosejimenez.com/#about",
2525
"affiliation": "Princeton University"

static/css/core.css

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Design tokens and CSS variables
88
*/
99
:root {
10-
--bg: #ffffff;
10+
--bg: #fdfdfd;
1111
--fg: #0b0b0b;
1212
--border: #e5e7eb;
1313
--accent: #00cc66;
@@ -24,7 +24,7 @@
2424
/* Font sizes */
2525
--text-xs: 0.7rem; /* 12px */
2626
--text-sm: 0.8rem; /* 14px */
27-
--text-base: 0.95rem; /* 16px */
27+
--text-base: 0.9rem; /* 16px */
2828
--text-md: 1.125rem; /* 18px */
2929
--text-lg: 1.25rem; /* 20px */
3030
--text-xl: 1.5rem; /* 24px */
@@ -52,7 +52,7 @@
5252
}
5353

5454
:root[data-theme="light"] {
55-
--bg: #ffffff;
55+
--bg: #fdfdfd;
5656
--fg: #0b0b0b;
5757
--muted: #5a5f66;
5858
--border: #e5e7eb;
@@ -83,13 +83,19 @@
8383
.text-3xl { font-size: var(--text-3xl); }
8484

8585
.hero {
86-
background: linear-gradient(to right, #92b4f8, #4289a7);
8786
display: flex;
8887
flex-direction: column;
89-
height: 150px;
88+
height: 100px;
9089
justify-content: center;
9190
margin-bottom: 1em;
92-
padding: 2rem;
91+
padding: 1em 0 1em 2.25em;
92+
font-family: var(--font-anta);
93+
font-size: var(--text-2xl);
94+
background: linear-gradient(135deg, #fdfdfd 0%, #fdfdfd 20%, #01552b 100%);
95+
}
96+
97+
:root[data-theme="dark"] .hero {
98+
background: linear-gradient(135deg, #0b0b0b 0%, #0b0b0b 20%, #026134 100%);
9399
}
94100

95101
/* Logo styling for dark mode */

static/css/homepage.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
.hsubtext {
2424
font-size: var(--text-md);
25-
color: var(--muted);
25+
font-weight: var(--weight-semibold);
2626
margin: 0.5em 0 2em 0;
2727
}
2828

static/css/layout.css

Lines changed: 19 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,17 @@ body {
1414
margin: 0 auto;
1515
}
1616

17+
a {
18+
color: var(--fg);
19+
text-decoration: none;
20+
border-bottom: 1px solid transparent;
21+
}
22+
23+
a:hover {
24+
color: var(--accent);
25+
border-bottom-color: var(--accent);
26+
}
27+
1728
.container { margin-bottom: 2em; }
1829

1930
.img-insight {
@@ -51,6 +62,9 @@ nav {
5162
display: flex;
5263
align-items: center;
5364
gap: 1rem;
65+
font-family: var(--font-anta);
66+
font-weight: var(--weight-semibold);
67+
font-size: var(--text-lg);
5468
}
5569

5670
.nav-links {
@@ -59,21 +73,6 @@ nav {
5973
gap: 1rem;
6074
}
6175

62-
.nav-links li {
63-
border-bottom: 2px solid transparent;
64-
transition: opacity 0.3s, border-bottom-color 0.3s;
65-
}
66-
67-
.nav-links li:hover {
68-
opacity: 0.7;
69-
border-bottom-color: currentColor;
70-
}
71-
72-
.nav-links a {
73-
text-decoration: none;
74-
color: inherit;
75-
}
76-
7776
.nav-right {
7877
display: flex;
7978
align-items: center;
@@ -135,6 +134,7 @@ nav {
135134
background: transparent;
136135
border: 1px solid var(--border);
137136
transition: border-color 0.15s ease;
137+
padding: 0 0.5em;
138138
}
139139

140140
.bordered:hover {
@@ -175,14 +175,8 @@ nav {
175175

176176
/* Insights */
177177
.insight-card {
178-
text-decoration: none;
179-
padding-bottom: 1.5em;
180-
color: inherit;
181-
}
182-
183-
.insight-card * {
184-
text-decoration: none;
185-
color: inherit;
178+
padding-bottom: 2em;
179+
line-height: 1.4;
186180
}
187181

188182
.insight-card p {
@@ -236,30 +230,13 @@ nav {
236230
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
237231
}
238232

239-
.arena-link {
240-
text-decoration: none;
241-
color: inherit;
242-
}
243-
244233
.arena-title {
245-
background: linear-gradient(currentColor 0 0) 0 100% / 0 1px no-repeat;
246234
transition: background-size 0.3s;
247235
margin: 0 auto;
236+
margin-top: 0.75em;
248237
font-weight: var(--weight-semibold);
249238
font-size: var(--text-md);
250-
}
251-
252-
.arena-link:hover .arena-title {
253-
background-size: 100% 1px;
254-
}
255-
256-
.arena-card img {
257-
height: 50px; /* fixed height */
258-
width: auto; /* keep original aspect ratio */
259-
max-width: 100%; /* never exceed container width */
260-
display: block;
261-
margin: 1em auto;
262-
object-fit: contain;
239+
letter-spacing: -0.03em;
263240
}
264241

265242
@media (max-width: 900px) {

templates/_topnav.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
<nav>
22
<div class="nav-left">
3-
<a href="/">
4-
<span>CodeClash</span>
5-
</a>
3+
<a href="/"><span>CodeClash</span></a>
64
</div>
75
<div class="nav-right">
86
<ul class="nav-links">

templates/arena.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ <h2 style="margin: 0 auto;">
4343

4444
<div style="width: 75%; margin: 0 auto;">
4545
<hr style="margin:1.5em auto;"/>
46-
<h3>Leaderboard</h3>
46+
<h2>Leaderboard</h2>
4747
{% include "_leaderboard.html" %}
4848
<hr style="margin:1.5em auto;"/>
4949
{{page.html|safe}}

templates/arenas.html

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,23 @@
22

33
{% block content %}
44
<div class="hero">
5-
<h1>Code Arenas</h1>
5+
<h1>Arenas</h1>
66
</div>
77

88
<div class="arenas-container">
99
<div class="arenas-grid">
1010
{%- for page in pages | sort(attribute='title') %}
11-
<a href="{{ url_for("page", path=page.path) }}" class="arena-link">
11+
<a href="{{ url_for("page", path=page.path) }}">
1212
<div class="arena-card">
13-
<img src="{{ page.logo }}" alt="{{ page.title }}">
14-
<p class="arena-title">{{ page.title }}</p>
15-
<p style="margin: 0.35em 0 0.65em 0;width:90%;">{{ page.description }}</p>
13+
<p class="arena-title">
14+
<img
15+
src="{{ page.logo }}"
16+
alt="{{ page.title }}"
17+
class="img-inline"
18+
style="height:1.5rem;margin-right: 0em;"
19+
> {{ page.title }}
20+
</p>
21+
<p style="margin: 0.35em 0 0.65em 0;width:80%;">{{ page.description }}</p>
1622
</div>
1723
</a>
1824
{%- endfor %}

templates/index.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<div>
2727
<p class="hsubtitle" style="margin-top: 0em;">Features</p>
2828
<div>
29-
<div class="hfeature">
29+
<div class="hfeature bordered">
3030
<span>
3131
<img src="/static/images/misc/target.svg" />
3232
Goals, not tasks
@@ -37,7 +37,7 @@
3737
decide for themselves what to build.
3838
</p>
3939
</div>
40-
<div class="hfeature">
40+
<div class="hfeature bordered">
4141
<span>
4242
<img src="/static/images/misc/rewind.svg" />
4343
Progress, not perfection
@@ -48,7 +48,7 @@
4848
and make all high- to low-level decisions.
4949
</p>
5050
</div>
51-
<div class="hfeature">
51+
<div class="hfeature bordered">
5252
<span>
5353
<img src="/static/images/misc/sword.svg" />
5454
Competition, not unit tests
@@ -122,20 +122,20 @@
122122
</p>
123123
</section>
124124
<div class="h3columns">
125-
<div class="hfeature">
125+
<div class="hfeature bordered">
126126
<span><img src="/static/images/misc/profile.svg" /> Far from Humans</span>
127127
<p class="subtext">
128128
On RobotRumble, the worst human solution still beats the best LM by miles.
129129
Read <a href="/insights/20251105_human_ai/">more</a>.
130130
</p>
131131
</div>
132-
<div class="hfeature">
132+
<div class="hfeature bordered">
133133
<span><img src="/static/images/misc/loop.svg" /> Unable to Iterate</span>
134134
<p class="subtext">
135135
Models struggle to improve over rounds, exhibiting a variety of failure modes.
136136
</p>
137137
</div>
138-
<div class="hfeature">
138+
<div class="hfeature bordered">
139139
<span><img src="/static/images/misc/cube.svg" /> Decaying codebases</span>
140140
<p class="subtext">
141141
Model codebases accumulate tech debt and become messy rapidly.
@@ -147,7 +147,7 @@
147147
<hr class="hborder" />
148148

149149
<section class="hsection" style="text-align: center;margin-bottom: 2em;">
150-
<p>CodeClash is fully open-source</p>
150+
<p>CodeClash is fully open-source. Happy Clashing!</p>
151151
<div class="cta-buttons">
152152
<a href="https://arxiv.org/abs/2511.00839" class="cta-button primary">Read the Paper</a>
153153
<a href="https://github.com/CodeClash-ai/CodeClash" class="cta-button">View on GitHub</a>

templates/team.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ <h1>Team</h1>
2727
<h3 style="margin: 1.5em 0 1em 0">Get in Touch</h3>
2828
<span>
2929
We're excited about future work on CodeClash!
30-
<br><br>
3130
Have suggestions or ideas? Please open an issue or pull request on our
3231
<a href="https://github.com/CodeClash-ai/CodeClash">GitHub repository</a>.
3332
<br><br>

0 commit comments

Comments
 (0)