73 lines
4.0 KiB
SCSS
73 lines
4.0 KiB
SCSS
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/Poppins-Regular.ttf") format("truetype"); }
|
|
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/Poppins-SemiBold.ttf") format("truetype"); }
|
|
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/Poppins-Bold.ttf") format("truetype"); }
|
|
:root,
|
|
[data-bs-theme="dark"] {
|
|
--site-bg: var(--bs-charcoal);
|
|
--site-surface: var(--bs-midnight);
|
|
--site-text: #F5F7FA;
|
|
--site-muted: #B5C5D2;
|
|
--site-link: var(--bs-cyan);
|
|
--site-line: #304C60;
|
|
--site-cta-text: #07151C;
|
|
--site-cta: var(--bs-cyan);
|
|
--site-glow: rgba(38, 198, 218, .11);
|
|
--bs-body-bg: var(--site-bg);
|
|
--bs-body-color: var(--site-text);
|
|
--bs-link-color: var(--site-link);
|
|
--bs-link-hover-color: var(--site-text);
|
|
color-scheme: dark;
|
|
}
|
|
[data-bs-theme="light"] {
|
|
--site-bg: #F5F7FA;
|
|
--site-surface: #E7EFF5;
|
|
--site-text: #102638;
|
|
--site-muted: #455E70;
|
|
--site-link: #086878;
|
|
--site-line: #B6C8D4;
|
|
--site-cta-text: #F5F7FA;
|
|
--site-cta: #086878;
|
|
--site-glow: rgba(38, 198, 218, .08);
|
|
--bs-body-bg: var(--site-bg);
|
|
--bs-body-color: var(--site-text);
|
|
--bs-link-color: var(--site-link);
|
|
--bs-link-hover-color: var(--site-text);
|
|
color-scheme: light;
|
|
}
|
|
body {
|
|
margin: 0;
|
|
background: var(--site-bg);
|
|
color: var(--site-text);
|
|
font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
line-height: 1.65;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
.app { display: flex; min-height: 100vh; flex-direction: column; }
|
|
.pageContent { flex: 1; padding: 0; }
|
|
a { color: var(--site-link); text-underline-offset: .25em; }
|
|
a:hover { color: var(--site-text); }
|
|
h1, h2, h3 { color: var(--site-text); font-weight: 650; line-height: 1.15; letter-spacing: -.035em; }
|
|
.container { max-width: 1160px; padding-inline: 28px; }
|
|
.eyebrow { color: var(--site-link); font-size: .75rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
|
|
.routePlaceholder { padding-block: clamp(4rem, 10vw, 8rem); max-width: 850px; }
|
|
.routePlaceholder h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
|
|
.routePlaceholder > p:not(.eyebrow) { color: var(--site-muted); max-width: 60ch; margin-block: 1.5rem; }
|
|
.themeToggle {
|
|
position: relative; display: inline-flex; flex-shrink: 0; align-items: center;
|
|
width: 70px; height: 30px; padding: 1px; border-radius: 18px;
|
|
border: 1px solid var(--site-muted); background: transparent; color: var(--site-text);
|
|
&::before { content: ''; position: absolute; width: 1px; height: 28px; left: -28px; top: 0; background: var(--site-line); }
|
|
}
|
|
.themeChoice { display: grid; place-items: center; width: 33px; height: 26px; border-radius: 16px; svg { width: 16px; height: 16px; } }
|
|
.themeChoice.selected { background: var(--bs-steel-blue); color: #F5F7FA; }
|
|
.themeToggle:hover { border-color: var(--site-link); }
|
|
@media (max-width: 767.98px) { .themeToggle { width: 58px; height: 30px; &::before { display: none; } } .themeChoice { width: 27px; } }
|
|
.skipLink { position: fixed; z-index: 2000; top: .5rem; left: .5rem; padding: .75rem 1rem; color: #07151C; background: #26C6DA; transform: translateY(-200%); }
|
|
.skipLink:focus { transform: translateY(0); }
|
|
:focus-visible { outline: 3px solid var(--site-link); outline-offset: 4px; }
|
|
.btn-primary { --bs-btn-bg: var(--site-cta); --bs-btn-border-color: var(--site-cta); --bs-btn-color: var(--site-cta-text); --bs-btn-hover-bg: var(--site-cta); --bs-btn-hover-border-color: var(--site-cta); --bs-btn-hover-color: var(--site-cta-text); --bs-btn-active-bg: var(--site-cta); --bs-btn-active-color: var(--site-cta-text); font-weight: 650; }
|
|
@media (max-width: 767.98px) { .container { padding-inline: 22px; } }
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
|
|
}
|