Add ASB brand colors and update styles for improved UI consistency
This commit is contained in:
+19
-13
@@ -4,16 +4,22 @@
|
|||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
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{
|
::selection{
|
||||||
color: #000;
|
color: #000;
|
||||||
background: #fff;
|
background: var(--asb-yellow);
|
||||||
}
|
}
|
||||||
nav{
|
nav{
|
||||||
position: fixed;
|
position: fixed;
|
||||||
background: #1b1b1b;
|
background: #000;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 10px 0;
|
padding: 10px 0;
|
||||||
z-index: 12;
|
z-index: 12;
|
||||||
|
border-bottom: 3px solid var(--asb-yellow);
|
||||||
}
|
}
|
||||||
nav .menu{
|
nav .menu{
|
||||||
max-width: none;
|
max-width: none;
|
||||||
@@ -26,7 +32,7 @@ nav .menu{
|
|||||||
}
|
}
|
||||||
.menu .logo a{
|
.menu .logo a{
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: #fff;
|
color: var(--asb-yellow);
|
||||||
font-size: 35px;
|
font-size: 35px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
@@ -50,7 +56,7 @@ nav .menu{
|
|||||||
transition: all 0.3s ease;
|
transition: all 0.3s ease;
|
||||||
}
|
}
|
||||||
.menu ul li a:hover{
|
.menu ul li a:hover{
|
||||||
background-color: #fff;
|
background-color: var(--asb-yellow);
|
||||||
color: #000;
|
color: #000;
|
||||||
padding: 10px 15px;
|
padding: 10px 15px;
|
||||||
}
|
}
|
||||||
@@ -82,7 +88,7 @@ main {
|
|||||||
footer {
|
footer {
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
background: rgba(27, 27, 27, 0.85);
|
background: rgba(0, 0, 0, 0.85);
|
||||||
color: #888;
|
color: #888;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 18px 20px;
|
padding: 18px 20px;
|
||||||
@@ -109,7 +115,7 @@ footer {
|
|||||||
color: #f1f5f9;
|
color: #f1f5f9;
|
||||||
margin-bottom: 8px;
|
margin-bottom: 8px;
|
||||||
padding-bottom: 8px;
|
padding-bottom: 8px;
|
||||||
border-bottom: 2px solid #2d2d3a;
|
border-bottom: 2px solid var(--asb-yellow);
|
||||||
letter-spacing: 0.02em;
|
letter-spacing: 0.02em;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
@@ -148,14 +154,14 @@ footer {
|
|||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
.data-table tbody tr {
|
.data-table tbody tr {
|
||||||
background: #161622;
|
background: rgba(22, 22, 34, 0.72);
|
||||||
transition: background 0.15s ease;
|
transition: background 0.15s ease;
|
||||||
}
|
}
|
||||||
.data-table tbody tr:nth-child(even) {
|
.data-table tbody tr:nth-child(even) {
|
||||||
background: #1a1a28;
|
background: rgba(26, 26, 40, 0.72);
|
||||||
}
|
}
|
||||||
.data-table tbody tr:hover {
|
.data-table tbody tr:hover {
|
||||||
background: #252540;
|
background: rgba(37, 37, 64, 0.85);
|
||||||
}
|
}
|
||||||
.data-table tbody td {
|
.data-table tbody td {
|
||||||
padding: 13px 18px;
|
padding: 13px 18px;
|
||||||
@@ -448,7 +454,7 @@ footer {
|
|||||||
color: #94a3b8;
|
color: #94a3b8;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding-bottom: 6px;
|
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 .num { font-variant-numeric: tabular-nums; text-align: right; }
|
||||||
.metric-card .good { color: #4ade80; }
|
.metric-card .good { color: #4ade80; }
|
||||||
@@ -556,7 +562,7 @@ footer {
|
|||||||
.row-link:hover { background: rgba(99, 102, 241, 0.12); }
|
.row-link:hover { background: rgba(99, 102, 241, 0.12); }
|
||||||
|
|
||||||
.job-link {
|
.job-link {
|
||||||
color: #a5b4fc;
|
color: var(--asb-yellow);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
font-weight: 600;
|
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 {
|
.detail-header {
|
||||||
margin-bottom: 14px;
|
margin-bottom: 14px;
|
||||||
padding-bottom: 10px;
|
padding-bottom: 10px;
|
||||||
border-bottom: 2px solid #2d2d3a;
|
border-bottom: 2px solid var(--asb-yellow);
|
||||||
}
|
}
|
||||||
.detail-header h1 {
|
.detail-header h1 {
|
||||||
border-bottom: none;
|
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;
|
margin-bottom: 6px;
|
||||||
}
|
}
|
||||||
.detail-crumbs a {
|
.detail-crumbs a {
|
||||||
color: #a5b4fc;
|
color: var(--asb-yellow);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
.detail-crumbs a:hover { text-decoration: underline; }
|
.detail-crumbs a:hover { text-decoration: underline; }
|
||||||
|
|||||||
Reference in New Issue
Block a user