Add ASB brand colors and update styles for improved UI consistency

This commit is contained in:
2026-05-25 20:52:22 +12:00
parent f10c20c7d8
commit 2e5e467554
+19 -13
View File
@@ -4,16 +4,22 @@
box-sizing: border-box;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
:root {
/* ASB brand yellow — used for highlights, hover, and the nav accent bar. */
--asb-yellow: #FFCC00;
--asb-yellow-dim: rgba(255, 204, 0, 0.5);
}
::selection{
color: #000;
background: #fff;
background: var(--asb-yellow);
}
nav{
position: fixed;
background: #1b1b1b;
background: #000;
width: 100%;
padding: 10px 0;
z-index: 12;
border-bottom: 3px solid var(--asb-yellow);
}
nav .menu{
max-width: none;
@@ -26,7 +32,7 @@ nav .menu{
}
.menu .logo a{
text-decoration: none;
color: #fff;
color: var(--asb-yellow);
font-size: 35px;
font-weight: 600;
}
@@ -50,7 +56,7 @@ nav .menu{
transition: all 0.3s ease;
}
.menu ul li a:hover{
background-color: #fff;
background-color: var(--asb-yellow);
color: #000;
padding: 10px 15px;
}
@@ -82,7 +88,7 @@ main {
footer {
position: relative;
z-index: 1;
background: rgba(27, 27, 27, 0.85);
background: rgba(0, 0, 0, 0.85);
color: #888;
text-align: center;
padding: 18px 20px;
@@ -109,7 +115,7 @@ footer {
color: #f1f5f9;
margin-bottom: 8px;
padding-bottom: 8px;
border-bottom: 2px solid #2d2d3a;
border-bottom: 2px solid var(--asb-yellow);
letter-spacing: 0.02em;
flex-shrink: 0;
}
@@ -148,14 +154,14 @@ footer {
white-space: nowrap;
}
.data-table tbody tr {
background: #161622;
background: rgba(22, 22, 34, 0.72);
transition: background 0.15s ease;
}
.data-table tbody tr:nth-child(even) {
background: #1a1a28;
background: rgba(26, 26, 40, 0.72);
}
.data-table tbody tr:hover {
background: #252540;
background: rgba(37, 37, 64, 0.85);
}
.data-table tbody td {
padding: 13px 18px;
@@ -448,7 +454,7 @@ footer {
color: #94a3b8;
margin: 0;
padding-bottom: 6px;
border-bottom: 1px solid #2d2d3a;
border-bottom: 1px solid var(--asb-yellow);
}
.metric-card .num { font-variant-numeric: tabular-nums; text-align: right; }
.metric-card .good { color: #4ade80; }
@@ -556,7 +562,7 @@ footer {
.row-link:hover { background: rgba(99, 102, 241, 0.12); }
.job-link {
color: #a5b4fc;
color: var(--asb-yellow);
text-decoration: none;
font-weight: 600;
}
@@ -570,7 +576,7 @@ a.job-bar:hover { filter: brightness(1.1); box-shadow: 0 0 0 1px rgba(255,255,25
.detail-header {
margin-bottom: 14px;
padding-bottom: 10px;
border-bottom: 2px solid #2d2d3a;
border-bottom: 2px solid var(--asb-yellow);
}
.detail-header h1 {
border-bottom: none;
@@ -587,7 +593,7 @@ a.job-bar:hover { filter: brightness(1.1); box-shadow: 0 0 0 1px rgba(255,255,25
margin-bottom: 6px;
}
.detail-crumbs a {
color: #a5b4fc;
color: var(--asb-yellow);
text-decoration: none;
}
.detail-crumbs a:hover { text-decoration: underline; }