The dashboard, the docs site and the pentest report no longer load Google Fonts, so no visitor's IP goes to Google (platform/portal#65, privacy release gate 4). - Dashboard: Geist and Geist Mono (variable woff2, SIL OFL 1.1) are embedded and served at /fonts/geist.woff2 and /fonts/geist-mono.woff2; main.css declares them with @font-face under the same family names. - Docs: the same woff2 files are bundled by Vite from the theme; the Google Fonts links in config.mts are gone. - Pentest report: preconnects and the Google Fonts stylesheet removed; a system font stack instead, with a test that the report references no external resource. - The crates are at version 0.4.3. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
489 lines
11 KiB
CSS
489 lines
11 KiB
CSS
/*
|
|
* Prüfwerk docs in the BreakPilot platform look.
|
|
*
|
|
* Tokens first (light, then dark), then the default theme's variables mapped
|
|
* onto them, then typography for content pages, custom blocks, code, sidebar
|
|
* and the navbar wordmark. The home page styles live in HomePage.vue.
|
|
* Fonts (Geist, Geist Mono; SIL OFL 1.1, fonts/OFL-Geist.txt) are bundled
|
|
* with the site below: no request goes to a third-party font CDN.
|
|
*/
|
|
|
|
/* ---------- Fonts ---------- */
|
|
|
|
@font-face {
|
|
font-family: 'Geist';
|
|
src: url('./fonts/Geist-Variable.woff2') format('woff2');
|
|
font-weight: 100 900;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Geist Mono';
|
|
src: url('./fonts/GeistMono-Variable.woff2') format('woff2');
|
|
font-weight: 100 900;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
/* ---------- Tokens ---------- */
|
|
|
|
:root {
|
|
--bp-ground: #f5f6fb;
|
|
--bp-surface: #ffffff;
|
|
--bp-ink: #14162b;
|
|
--bp-text: #414669;
|
|
--bp-muted: #5e6384;
|
|
--bp-rule: #e4e6f0;
|
|
--bp-accent: #4f46e5;
|
|
--bp-accent-hover: #4338ca;
|
|
--bp-accent-soft: rgba(79, 70, 229, 0.08);
|
|
--bp-accent-line: rgba(79, 70, 229, 0.28);
|
|
--bp-violet: #7c3aed;
|
|
--bp-night: #0f1225;
|
|
--bp-night-rule: #232846;
|
|
--bp-night-text: #c9cdea;
|
|
|
|
--bp-ok: #17805a;
|
|
--bp-ok-soft: rgba(23, 128, 90, 0.08);
|
|
--bp-warn: #a15c07;
|
|
--bp-warn-soft: rgba(161, 92, 7, 0.08);
|
|
--bp-danger: #c0283f;
|
|
--bp-danger-soft: rgba(192, 40, 63, 0.07);
|
|
--bp-neutral: #c9ccdf;
|
|
--bp-process: #b9b5f5;
|
|
|
|
--bp-sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto,
|
|
'Helvetica Neue', Arial, sans-serif;
|
|
--bp-mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
|
|
monospace;
|
|
}
|
|
|
|
.dark {
|
|
--bp-ground: #0f1225;
|
|
--bp-surface: #1a1e38;
|
|
--bp-ink: #eef0fa;
|
|
--bp-text: #b9bedc;
|
|
--bp-muted: #8b90b3;
|
|
--bp-rule: #2a2f52;
|
|
--bp-accent: #8b87f6;
|
|
--bp-accent-hover: #a5a2f8;
|
|
--bp-accent-soft: rgba(139, 135, 246, 0.1);
|
|
--bp-accent-line: rgba(139, 135, 246, 0.35);
|
|
--bp-violet: #a78bfa;
|
|
--bp-night: #0a0c1a;
|
|
--bp-night-rule: #232846;
|
|
|
|
--bp-ok: #4cc79a;
|
|
--bp-ok-soft: rgba(76, 199, 154, 0.09);
|
|
--bp-warn: #e7a74a;
|
|
--bp-warn-soft: rgba(231, 167, 74, 0.09);
|
|
--bp-danger: #f07a8c;
|
|
--bp-danger-soft: rgba(240, 122, 140, 0.09);
|
|
--bp-neutral: #3a4068;
|
|
--bp-process: #4a4690;
|
|
}
|
|
|
|
/* ---------- Default theme variables ---------- */
|
|
|
|
:root,
|
|
.dark {
|
|
--vp-font-family-base: var(--bp-sans);
|
|
--vp-font-family-mono: var(--bp-mono);
|
|
|
|
--vp-c-bg: var(--bp-ground);
|
|
--vp-c-bg-alt: var(--bp-surface);
|
|
--vp-c-bg-elv: var(--bp-surface);
|
|
--vp-c-bg-soft: var(--bp-accent-soft);
|
|
|
|
--vp-c-text-1: var(--bp-ink);
|
|
--vp-c-text-2: var(--bp-text);
|
|
--vp-c-text-3: var(--bp-muted);
|
|
|
|
--vp-c-divider: var(--bp-rule);
|
|
--vp-c-border: var(--bp-rule);
|
|
--vp-c-gutter: var(--bp-rule);
|
|
|
|
--vp-c-brand-1: var(--bp-accent);
|
|
--vp-c-brand-2: var(--bp-accent-hover);
|
|
--vp-c-brand-3: var(--bp-accent);
|
|
--vp-c-brand-soft: var(--bp-accent-soft);
|
|
|
|
--vp-c-tip-1: var(--bp-ok);
|
|
--vp-c-tip-soft: var(--bp-ok-soft);
|
|
--vp-c-warning-1: var(--bp-warn);
|
|
--vp-c-warning-soft: var(--bp-warn-soft);
|
|
--vp-c-danger-1: var(--bp-danger);
|
|
--vp-c-danger-soft: var(--bp-danger-soft);
|
|
--vp-c-caution-1: var(--bp-danger);
|
|
--vp-c-caution-soft: var(--bp-danger-soft);
|
|
|
|
--vp-nav-bg-color: var(--bp-surface);
|
|
--vp-sidebar-bg-color: var(--bp-surface);
|
|
--vp-local-nav-bg-color: var(--bp-surface);
|
|
|
|
--vp-button-brand-bg: var(--bp-accent);
|
|
--vp-button-brand-hover-bg: var(--bp-accent-hover);
|
|
--vp-button-brand-active-bg: var(--bp-accent-hover);
|
|
--vp-button-brand-text: #ffffff;
|
|
--vp-button-brand-hover-text: #ffffff;
|
|
--vp-button-brand-active-text: #ffffff;
|
|
|
|
--vp-code-font-size: 0.9em;
|
|
--vp-code-bg: var(--bp-accent-soft);
|
|
--vp-code-color: var(--bp-ink);
|
|
--vp-code-block-bg: var(--bp-night);
|
|
--vp-code-block-color: var(--bp-night-text);
|
|
--vp-code-block-divider-color: var(--bp-night-rule);
|
|
--vp-code-lang-color: #8b90b3;
|
|
--vp-code-line-highlight-color: rgba(139, 135, 246, 0.16);
|
|
--vp-code-line-number-color: #4f557d;
|
|
--vp-code-copy-code-bg: #1a1e38;
|
|
--vp-code-copy-code-hover-bg: #232846;
|
|
--vp-code-copy-code-border-color: #2a2f52;
|
|
--vp-code-copy-code-hover-border-color: #3a4068;
|
|
|
|
--vp-custom-block-font-size: 15px;
|
|
}
|
|
|
|
.dark {
|
|
/* Dark ink on the light accent keeps the primary button readable. */
|
|
--vp-button-brand-text: #0f1225;
|
|
--vp-button-brand-hover-text: #0f1225;
|
|
--vp-button-brand-active-text: #0f1225;
|
|
}
|
|
|
|
body {
|
|
background-color: var(--bp-ground);
|
|
font-feature-settings: 'ss01', 'cv11';
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
/* ---------- Content typography ---------- */
|
|
|
|
.vp-doc {
|
|
color: var(--bp-text);
|
|
font-size: 16px;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.vp-doc p,
|
|
.vp-doc ul,
|
|
.vp-doc ol,
|
|
.vp-doc blockquote {
|
|
max-width: 70ch;
|
|
}
|
|
|
|
.vp-doc h1,
|
|
.vp-doc h2,
|
|
.vp-doc h3,
|
|
.vp-doc h4 {
|
|
color: var(--bp-ink);
|
|
font-weight: 650;
|
|
}
|
|
|
|
.vp-doc h1 {
|
|
font-size: clamp(30px, 4vw, 38px);
|
|
line-height: 1.12;
|
|
letter-spacing: -0.03em;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.vp-doc h2 {
|
|
margin-top: 56px;
|
|
padding-top: 28px;
|
|
border-top: 1px solid var(--bp-rule);
|
|
font-size: 24px;
|
|
line-height: 1.25;
|
|
letter-spacing: -0.022em;
|
|
}
|
|
|
|
.vp-doc h3 {
|
|
margin-top: 36px;
|
|
font-size: 18px;
|
|
letter-spacing: -0.012em;
|
|
}
|
|
|
|
.vp-doc h4 {
|
|
font-family: var(--bp-mono);
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
color: var(--bp-muted);
|
|
}
|
|
|
|
.vp-doc strong {
|
|
color: var(--bp-ink);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.vp-doc a {
|
|
color: var(--bp-accent);
|
|
font-weight: 500;
|
|
text-decoration: underline;
|
|
text-decoration-color: var(--bp-accent-line);
|
|
text-underline-offset: 3px;
|
|
text-decoration-thickness: 1px;
|
|
}
|
|
|
|
.vp-doc a:hover {
|
|
color: var(--bp-accent-hover);
|
|
text-decoration-color: currentColor;
|
|
}
|
|
|
|
.vp-doc hr {
|
|
border-top: 1px solid var(--bp-rule);
|
|
}
|
|
|
|
.vp-doc blockquote {
|
|
border-left: 2px solid var(--bp-accent);
|
|
color: var(--bp-text);
|
|
}
|
|
|
|
/* Tables: hairlines only, a mono header row. */
|
|
.vp-doc table {
|
|
border-collapse: collapse;
|
|
font-size: 14.5px;
|
|
}
|
|
|
|
.vp-doc tr {
|
|
background: transparent !important;
|
|
border-top: 1px solid var(--bp-rule);
|
|
}
|
|
|
|
.vp-doc th,
|
|
.vp-doc td {
|
|
border: none;
|
|
border-bottom: 1px solid var(--bp-rule);
|
|
padding: 10px 16px 10px 0;
|
|
vertical-align: top;
|
|
}
|
|
|
|
.vp-doc th {
|
|
background: transparent;
|
|
font-family: var(--bp-mono);
|
|
font-size: 11.5px;
|
|
font-weight: 500;
|
|
letter-spacing: 0.07em;
|
|
text-transform: uppercase;
|
|
color: var(--bp-muted);
|
|
}
|
|
|
|
/* Inline code: a quiet indigo tint, mono. */
|
|
.vp-doc :not(pre) > code {
|
|
border-radius: 4px;
|
|
padding: 2px 5px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.vp-doc a > code {
|
|
color: var(--bp-accent);
|
|
}
|
|
|
|
/* ---------- Code blocks: "Nacht" ---------- */
|
|
|
|
.vp-doc div[class*='language-'] {
|
|
border: 1px solid var(--bp-night-rule);
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.vp-doc div[class*='language-'] .highlighted {
|
|
box-shadow: inset 2px 0 0 #8b87f6;
|
|
}
|
|
|
|
/* ---------- Custom blocks ---------- */
|
|
|
|
.vp-doc .custom-block {
|
|
border: 1px solid var(--bp-rule);
|
|
border-left-width: 3px;
|
|
border-radius: 6px;
|
|
background: var(--bp-surface);
|
|
color: var(--bp-text);
|
|
padding: 14px 20px 12px;
|
|
line-height: 1.65;
|
|
}
|
|
|
|
.vp-doc .custom-block .custom-block-title {
|
|
font-family: var(--bp-mono);
|
|
font-size: 11.5px;
|
|
font-weight: 500;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.vp-doc .custom-block.info,
|
|
.vp-doc .custom-block.note,
|
|
.vp-doc .custom-block.important,
|
|
.vp-doc .custom-block.details {
|
|
border-left-color: var(--bp-accent);
|
|
}
|
|
|
|
.vp-doc .custom-block.info .custom-block-title,
|
|
.vp-doc .custom-block.note .custom-block-title,
|
|
.vp-doc .custom-block.important .custom-block-title {
|
|
color: var(--bp-accent);
|
|
}
|
|
|
|
.vp-doc .custom-block.tip {
|
|
border-left-color: var(--bp-ok);
|
|
background: linear-gradient(var(--bp-ok-soft), var(--bp-ok-soft)), var(--bp-surface);
|
|
}
|
|
|
|
.vp-doc .custom-block.tip .custom-block-title {
|
|
color: var(--bp-ok);
|
|
}
|
|
|
|
.vp-doc .custom-block.warning {
|
|
border-left-color: var(--bp-warn);
|
|
background: linear-gradient(var(--bp-warn-soft), var(--bp-warn-soft)), var(--bp-surface);
|
|
}
|
|
|
|
.vp-doc .custom-block.warning .custom-block-title {
|
|
color: var(--bp-warn);
|
|
}
|
|
|
|
.vp-doc .custom-block.danger,
|
|
.vp-doc .custom-block.caution {
|
|
border-left-color: var(--bp-danger);
|
|
background: linear-gradient(var(--bp-danger-soft), var(--bp-danger-soft)),
|
|
var(--bp-surface);
|
|
}
|
|
|
|
.vp-doc .custom-block.danger .custom-block-title,
|
|
.vp-doc .custom-block.caution .custom-block-title {
|
|
color: var(--bp-danger);
|
|
}
|
|
|
|
.vp-doc .custom-block a {
|
|
color: inherit;
|
|
}
|
|
|
|
/* ---------- Sidebar ---------- */
|
|
|
|
.VPSidebar {
|
|
border-right: 1px solid var(--bp-rule);
|
|
}
|
|
|
|
.VPSidebarItem.level-0 > .item > .text,
|
|
.VPSidebarItem.level-0 > .item > .link > .text {
|
|
font-family: var(--bp-mono);
|
|
font-size: 11px !important;
|
|
font-weight: 500 !important;
|
|
letter-spacing: 0.09em;
|
|
text-transform: uppercase;
|
|
color: var(--bp-muted) !important;
|
|
}
|
|
|
|
.VPSidebarItem.level-0 {
|
|
padding-bottom: 20px;
|
|
}
|
|
|
|
.VPSidebarItem.level-1 .text {
|
|
font-size: 14px;
|
|
color: var(--bp-text);
|
|
}
|
|
|
|
.VPSidebarItem.level-1.is-active > .item .text {
|
|
color: var(--bp-accent);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.VPSidebarItem.level-1.is-active > .item > .indicator {
|
|
background-color: var(--bp-accent);
|
|
}
|
|
|
|
/* ---------- Navbar and wordmark ---------- */
|
|
|
|
.VPNavBar .divider-line {
|
|
background-color: var(--bp-rule) !important;
|
|
}
|
|
|
|
/* One solid bar across the full width, including over the sidebar column. */
|
|
.VPNavBar,
|
|
.VPNavBar.has-sidebar {
|
|
background-color: var(--vp-nav-bg-color) !important;
|
|
}
|
|
|
|
.VPNavBar .content-body {
|
|
border-bottom: 1px solid var(--bp-rule);
|
|
}
|
|
|
|
.VPNavBarTitle .logo {
|
|
height: 26px;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.VPNavBarMenuLink {
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.bp-wordmark {
|
|
display: inline-flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
line-height: 1;
|
|
}
|
|
|
|
.bp-wordmark-name {
|
|
font-size: 18px;
|
|
font-weight: 800;
|
|
letter-spacing: -0.03em;
|
|
color: var(--bp-ink);
|
|
}
|
|
|
|
.bp-wordmark-name span {
|
|
color: var(--bp-accent);
|
|
}
|
|
|
|
.bp-wordmark-sub {
|
|
margin-top: 3px;
|
|
font-family: var(--bp-mono);
|
|
font-size: 10.5px;
|
|
font-weight: 500;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
color: var(--bp-muted);
|
|
}
|
|
|
|
/* ---------- Doc footer, pager, outline ---------- */
|
|
|
|
.VPDocFooter .pager-link {
|
|
border-radius: 8px;
|
|
background: var(--bp-surface);
|
|
}
|
|
|
|
.VPDocFooter .pager-link .desc {
|
|
font-family: var(--bp-mono);
|
|
font-size: 11px;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.VPDocAsideOutline .outline-title {
|
|
font-family: var(--bp-mono);
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
letter-spacing: 0.09em;
|
|
text-transform: uppercase;
|
|
color: var(--bp-muted);
|
|
}
|
|
|
|
.VPDocAsideOutline .outline-marker {
|
|
background-color: var(--bp-accent);
|
|
}
|
|
|
|
/* ---------- Phone width ---------- */
|
|
|
|
@media (max-width: 767px) {
|
|
.vp-doc h2 {
|
|
margin-top: 40px;
|
|
padding-top: 22px;
|
|
}
|
|
|
|
.vp-doc table {
|
|
font-size: 14px;
|
|
}
|
|
}
|