Skip to content

Commit b5a5c6c

Browse files
committed
Merge branch 'main' of github.com:CodeClash-ai/website
2 parents ad1f216 + 813a0fb commit b5a5c6c

2 files changed

Lines changed: 4 additions & 13 deletions

File tree

static/css/homepage.css

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,6 @@
7676
margin-right: 0.1em;
7777
display: inline-block;
7878
transform: translateY(-0.12em);
79-
/* Green filter for accent color */
80-
filter: invert(57%) sepia(89%) saturate(1493%) hue-rotate(101deg) brightness(98%) contrast(101%);
81-
}
82-
83-
:root[data-theme="dark"] .hfeature img {
84-
/* Brighter green filter for dark mode accent */
85-
filter: invert(85%) sepia(47%) saturate(1739%) hue-rotate(75deg) brightness(103%) contrast(102%);
8679
}
8780

8881
.hfeature p {

static/css/layout.css

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ nav {
7575
display: flex;
7676
flex-wrap: wrap;
7777
list-style: none;
78+
margin: 0; /* reset default ul margin to avoid right-shift */
79+
padding: 0; /* reset default ul padding to truly center items */
80+
margin-block: 0.75rem; /* restore comfortable top/bottom spacing */
7881
gap: 1rem;
7982
}
8083

@@ -188,14 +191,9 @@ nav {
188191
.bordered {
189192
background: transparent;
190193
border: 1px solid var(--border);
191-
transition: border-color 0.15s ease;
192194
padding: 0 0.5em;
193195
}
194196

195-
.bordered:hover {
196-
border-color: var(--accent);
197-
}
198-
199197
.leaderboard-table {
200198
width: 100%;
201199
border-collapse: collapse;
@@ -213,7 +211,7 @@ nav {
213211
}
214212

215213
.leaderboard-table tbody tr {
216-
border-bottom: 1px solid #e5e7eb;
214+
border-bottom: 1px solid var(--border);
217215
}
218216

219217
.leaderboard-table td:first-child,

0 commit comments

Comments
 (0)