CSS and @font-face fixes

This commit is contained in:
2026-03-12 16:31:58 -03:00
parent 0c4823d263
commit beffd5f4e8
30 changed files with 128 additions and 90 deletions

View File

@@ -131,6 +131,42 @@
}
}
/* ========================================
Local Font Faces
======================================== */
@font-face {
font-family: Inter;
font-style: normal;
font-weight: 400;
font-display: swap;
src: url('/assets/fonts/inter-v20-latin-regular.woff2') format('woff2');
}
@font-face {
font-family: Inter;
font-style: normal;
font-weight: 500;
font-display: swap;
src: url('/assets/fonts/inter-v20-latin-500.woff2') format('woff2');
}
@font-face {
font-family: Inter;
font-style: normal;
font-weight: 700;
font-display: swap;
src: url('/assets/fonts/inter-v20-latin-700.woff2') format('woff2');
}
@font-face {
font-family: Fraunces;
font-style: normal;
font-weight: 600;
font-display: swap;
src: url('/assets/fonts/fraunces-v38-latin-600.woff2') format('woff2');
}
/* ========================================
Base Styles
======================================== */
@@ -178,6 +214,11 @@ body {
text-rendering: optimizeLegibility;
}
strong,
b {
font-weight: var(--font-weight-bold);
}
/* ========================================
Skip Link (Accessibility)
======================================== */

View File

@@ -47,13 +47,6 @@
type="font/woff2"
crossorigin="anonymous"
/>
<link
rel="preload"
href="/assets/fonts/fraunces-v38-latin-700.woff2"
as="font"
type="font/woff2"
crossorigin="anonymous"
/>
<link
rel="preload"
href="/assets/fonts/inter-v20-latin-regular.woff2"
@@ -61,13 +54,6 @@
type="font/woff2"
crossorigin="anonymous"
/>
<link
rel="preload"
href="/assets/fonts/inter-v20-latin-italic.woff2"
as="font"
type="font/woff2"
crossorigin="anonymous"
/>
<link
rel="preload"
href="/assets/fonts/inter-v20-latin-500.woff2"
@@ -75,13 +61,6 @@
type="font/woff2"
crossorigin="anonymous"
/>
<link
rel="preload"
href="/assets/fonts/inter-v20-latin-600.woff2"
as="font"
type="font/woff2"
crossorigin="anonymous"
/>
<link
rel="preload"
href="/assets/fonts/inter-v20-latin-700.woff2"

View File

@@ -50,7 +50,9 @@
<h2 id={`${section.id}-heading`}>{section.heading}</h2>
{#each section.body as para}
<p>
{#if section.id === 'contact' && para === 'legal@mifi.ventures'}
{#if section.id === 'contact' && para === 'mifi Ventures LLC'}
<strong>{para}</strong>
{:else if section.id === 'contact' && para === 'legal@mifi.ventures'}
<a href="mailto:legal@mifi.ventures"
>legal@mifi.ventures</a
>

View File

@@ -28,7 +28,9 @@
<h2 id={`${section.id}-heading`}>{section.heading}</h2>
{#each section.body as para}
<p>
{#if section.id === 'contact' && para === 'legal@mifi.ventures'}
{#if section.id === 'contact' && para === 'mifi Ventures LLC'}
<strong>{para}</strong>
{:else if section.id === 'contact' && para === 'legal@mifi.ventures'}
<a href="mailto:legal@mifi.ventures"
>legal@mifi.ventures</a
>