Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 33 additions & 15 deletions hugo/assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,13 @@
/* Transitions */
--ease-theme: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);

/* Terminal chrome (DESIGN.md §9.8). The terminal is a dark surface in both
themes, so these values are theme-invariant and intentionally defined only here. */
--terminal-bar-fg: #7f9a93;
--terminal-bar-border: #1c2b27;
--terminal-copy-bg: #1a2925;
--terminal-copy-bg-hover: #24382f;

/* 8px Spacing scale */
--space-0: 0;
--space-1: 0.125rem; /* 2px */
Expand Down Expand Up @@ -256,6 +263,10 @@ a:hover {
background-color: var(--color-brand-strong);
color: #ffffff;
}
/* Dark theme: --color-brand-strong is Keppel; white on it is 2.64:1 (DESIGN.md §10.1), so use the on-accent ink. */
html[data-theme="dark"] ::selection {
color: var(--on-accent);
}

h1, h2, h3, h4, h5, h6 {
font-family: var(--font-heading);
Expand Down Expand Up @@ -385,6 +396,11 @@ html[data-theme="dark"] .icon-moon { display: block; }
transition: background-color 450ms ease, color 450ms ease, border-color 450ms ease, box-shadow 450ms ease, transform 150ms ease;
user-select: none;
}
/* Dark theme: the default green action sits on Keppel; white on it is 2.64:1 (DESIGN.md §10.1).
:where() keeps specificity at (0,1,0): variants below (later) and .btn:hover (0,2,0) still win. */
:where(html[data-theme="dark"]) .btn {
color: var(--on-accent);
}
.btn:hover {
background-color: var(--color-active);
color: #ffffff;
Expand Down Expand Up @@ -412,7 +428,7 @@ html[data-theme="dark"] .icon-moon { display: block; }
/* Secondary variant (Caribbean Green) */
.btn-secondary, .btn--secondary, .btn-brand, .btn--brand {
background-color: var(--color-brand);
color: #04201b;
color: var(--on-accent);
border-color: transparent;
}
.btn-secondary:hover, .btn--secondary:hover, .btn-brand:hover, .btn--brand:hover {
Expand All @@ -427,6 +443,9 @@ html[data-theme="dark"] .icon-moon { display: block; }
background-color: var(--color-brand-strong);
color: #ffffff;
}
:where(html[data-theme="dark"]) :is(.btn-default, .btn--default) {
color: var(--on-accent);
}

/* Ghost / Surface variant */
.btn-ghost, .btn--ghost {
Expand All @@ -436,7 +455,6 @@ html[data-theme="dark"] .icon-moon { display: block; }
}
.btn-ghost:hover, .btn--ghost:hover {
border-color: var(--color-brand);
color: var(--color-text);
text-decoration: none;
}
Comment thread
Aadiverse07 marked this conversation as resolved.
Resolved

Expand All @@ -455,7 +473,7 @@ html[data-theme="dark"] .icon-moon { display: block; }

/* Invert variant */
.btn-invert, .btn--invert {
background-color: var(--color-primary);
background-color: var(--color-active);
color: var(--color-brand);
}

Expand All @@ -472,9 +490,9 @@ html[data-theme="dark"] .icon-moon { display: block; }
Terminal
========================================================================== */
.terminal { background: var(--code-bg); color: var(--code-text); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--color-border); margin-block: 1.25rem; text-align: left; }
.terminal__bar { display: flex; justify-content: space-between; align-items: center; padding: .45rem .5rem .45rem 1rem; font: .8rem var(--mono); color: #7f9a93; border-bottom: 1px solid #1c2b27; }
.terminal__copy { background: #1a2925; color: var(--code-text); border: 0; border-radius: 6px; padding: .25rem .65rem; font: .78rem var(--mono); cursor: pointer; }
.terminal__copy:hover { background: #24382f; }
.terminal__bar { display: flex; justify-content: space-between; align-items: center; padding: .45rem .5rem .45rem 1rem; font: .8rem var(--mono); color: var(--terminal-bar-fg); border-bottom: 1px solid var(--terminal-bar-border); }
.terminal__copy { background: var(--terminal-copy-bg); color: var(--code-text); border: 0; border-radius: 6px; padding: .25rem .65rem; font: .78rem var(--mono); cursor: pointer; }
.terminal__copy:hover { background: var(--terminal-copy-bg-hover); }
.terminal pre { margin: 0; padding: 1rem; overflow-x: auto; font-size: .9rem; line-height: 1.6; }

/* ==========================================================================
Expand Down Expand Up @@ -597,11 +615,11 @@ html[data-theme="dark"] .icon-moon { display: block; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.chip { display: inline-flex; gap: .4rem; align-items: center; border: 1px solid var(--color-border); background: var(--color-surface); color: var(--color-text); border-radius: 999px; padding: .25rem .8rem; font: inherit; font-size: .875rem; text-decoration: none; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--color-brand); border-color: var(--color-brand); color: #04201b; font-weight: 600; }
.chip[aria-pressed="true"] { background: var(--color-brand); border-color: var(--color-brand); color: var(--on-accent); font-weight: 600; }
.chip--static { cursor: default; padding: .1rem .6rem; font-size: .8rem; }
.filters input { width: min(100%, 22rem); padding: .6rem .8rem; border-radius: 8px; border: 1px solid var(--color-border); background: var(--color-surface); color: var(--color-text); font: inherit; }
[hidden] { display: none !important; }
.avatar { width: 3rem; height: 3rem; border-radius: 50%; background: var(--color-brand); color: #04201b; display: grid; place-items: center; font-weight: 700; margin-bottom: .75rem; }
.avatar { width: 3rem; height: 3rem; border-radius: 50%; background: var(--color-brand); color: var(--on-accent); display: grid; place-items: center; font-weight: 700; margin-bottom: .75rem; }
.avatar--lg { width: 5rem; height: 5rem; font-size: 1.8rem; }
.facts { display: grid; gap: .5rem; margin: 1.5rem 0; padding: 1rem 1.25rem; border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-surface); }
.facts div { display: flex; gap: 1rem; }
Expand All @@ -611,7 +629,7 @@ html[data-theme="dark"] .icon-moon { display: block; }
/* ==========================================================================
CTA Banner
========================================================================== */
.cta { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; background: var(--color-brand); color: #04201b; border-radius: 14px; padding: 2rem; margin-block: 1.5rem; }
.cta { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; background: var(--color-brand); color: var(--on-accent); border-radius: 14px; padding: 2rem; margin-block: 1.5rem; }
.cta h2 { margin-bottom: .3em; color: inherit; }
.cta p { margin: 0; max-width: 38rem; }

Expand Down Expand Up @@ -665,7 +683,7 @@ th { color: var(--muted); font-weight: 600; }
Topology + Calendar
========================================================================== */
.topology { border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-surface); margin-block: 1.25rem; }
.calendar { margin-block: 1.25rem; min-height: 20rem; --fc-border-color: var(--color-border); --fc-page-bg-color: var(--color-surface); --fc-neutral-bg-color: var(--color-bg); --fc-button-bg-color: var(--color-brand); --fc-button-border-color: var(--color-brand); --fc-button-text-color: #04201b; --fc-button-hover-bg-color: var(--color-brand); --fc-button-active-bg-color: var(--color-brand); --fc-today-bg-color: color-mix(in srgb, var(--color-brand) 12%, transparent); }
.calendar { margin-block: 1.25rem; min-height: 20rem; --fc-border-color: var(--color-border); --fc-page-bg-color: var(--color-surface); --fc-neutral-bg-color: var(--color-bg); --fc-button-bg-color: var(--color-brand); --fc-button-border-color: var(--color-brand); --fc-button-text-color: var(--on-accent); --fc-button-hover-bg-color: var(--color-brand); --fc-button-active-bg-color: var(--color-brand); --fc-today-bg-color: color-mix(in srgb, var(--color-brand) 12%, transparent); }

/* ==========================================================================
Footer, Forms, Search, Pagination (DESIGN.md §10)
Expand Down Expand Up @@ -788,8 +806,8 @@ textarea:focus {
========================================================================== */
.case-study-intro { display: flex; padding: 1.5rem 2rem; font-style: italic; font-size: 1.4rem; color: var(--color-text); border-top: 1px dashed var(--color-border); border-bottom: 1px dashed var(--color-border); margin-bottom: 1.5rem; background: var(--color-bg); }
.case-study-facts { width: 100%; background-color: var(--color-surface); border-radius: var(--radius); margin-bottom: 1.5rem; color: var(--color-text); border: 1px solid var(--color-border); border-collapse: collapse; }
.case-study-facts tr:first-child th, .case-study-facts tr:first-child td { background-color: var(--color-brand); color: #04201b; padding: .6rem; text-align: center; }
.case-study-facts tr:first-child h4 { color: #04201b; margin: 0; }
.case-study-facts tr:first-child th, .case-study-facts tr:first-child td { background-color: var(--color-brand); color: var(--on-accent); padding: .6rem; text-align: center; }
.case-study-facts tr:first-child h4 { color: var(--on-accent); margin: 0; }
.case-study-facts td { padding: 1rem; color: var(--color-text); border-bottom: 1px solid var(--color-border); }
.case-study-facts td img { display: inline-block; margin-right: .5rem; vertical-align: middle; }
.case-study-benefits { border: 1px solid var(--color-brand); border-radius: var(--radius); padding: 1.75rem; box-shadow: rgba(0, 179, 159, 0.2) 0px 10px 25px; color: var(--color-text); background: var(--color-surface); margin-block: 1rem; }
Expand All @@ -807,7 +825,7 @@ textarea:focus {
.faq-item summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h5 { margin: 0; font-size: 1.05rem; }
.faq-item[open] summary { margin-bottom: .75rem; color: var(--color-brand); }
.faq-item[open] summary { margin-bottom: .75rem; color: var(--color-link); }
.faq-answer { color: var(--color-text); }
.faq-answer p:last-child { margin-bottom: 0; }

Expand Down Expand Up @@ -839,7 +857,7 @@ textarea:focus {
.position-apply__heading .pos-logo { width: 1.5rem; height: 1.5rem; color: var(--color-text); }
.position-apply__heading h5 { margin: 0; font-size: 1.25rem; font-weight: 600; color: var(--color-text); }
.position-apply p { margin: 0; color: var(--color-text); }
.position-apply a { color: var(--color-brand); text-decoration: none; font-weight: 600; }
.position-apply a { color: var(--color-link); text-decoration: none; font-weight: 600; }
.position-apply a:hover { text-decoration: underline; }

.lfx-page-nav { position: sticky; top: 6rem; width: 250px; flex: 0 0 250px; height: fit-content; z-index: 10; margin-bottom: 2rem; }
Expand All @@ -848,7 +866,7 @@ textarea:focus {
.lfx-page-nav__list ul { list-style: none !important; margin: 0; padding-left: 0.5rem; }
.lfx-page-nav__list li { list-style: none !important; margin-bottom: 0.5rem; }
.lfx-page-nav__list a { display: block; font-size: 0.875rem; color: var(--color-text); text-decoration: none; }
.lfx-page-nav__list a:hover { color: var(--color-brand); text-decoration: underline; }
.lfx-page-nav__list a:hover { color: var(--color-link); text-decoration: underline; }
@media (max-width: 56.25rem) { .lfx-page-nav { display: none; } }

/* ==========================================================================
Expand Down
Loading