refactor(fonts): switched google fonts to self-hosted fonts

This commit is contained in:
2026-03-16 14:27:58 +01:00
parent 4621447113
commit d91e0f1a18
9 changed files with 56 additions and 5 deletions
+1 -5
View File
@@ -1,14 +1,10 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/logo.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@500;700&family=Manrope:wght@300;500;700&display=swap" rel="stylesheet" />
<title>Spythere:// portfolio</title>
</head>
<body>
Binary file not shown.
Binary file not shown.
Binary file not shown.
+55
View File
@@ -0,0 +1,55 @@
@font-face {
font-display: swap;
font-family: 'IBM Plex Mono';
font-style: normal;
font-weight: 400;
src: url('../fonts/ibm-plex-mono-v20-latin_latin-ext-regular.woff2') format('woff2');
}
@font-face {
font-display: swap;
font-family: 'IBM Plex Mono';
font-style: normal;
font-weight: 500;
src: url('../fonts/ibm-plex-mono-v20-latin_latin-ext-500.woff2') format('woff2');
}
@font-face {
font-display: swap;
font-family: 'IBM Plex Mono';
font-style: normal;
font-weight: 700;
src: url('../fonts/ibm-plex-mono-v20-latin_latin-ext-700.woff2') format('woff2');
}
@font-face {
font-display: swap;
font-family: 'Manrope';
font-style: normal;
font-weight: 300;
src: url('../fonts/manrope-v20-latin_latin-ext-300.woff2') format('woff2');
}
@font-face {
font-display: swap;
font-family: 'Manrope';
font-style: normal;
font-weight: 400;
src: url('../fonts/manrope-v20-latin_latin-ext-regular.woff2') format('woff2');
}
@font-face {
font-display: swap;
font-family: 'Manrope';
font-style: normal;
font-weight: 500;
src: url('../fonts/manrope-v20-latin_latin-ext-500.woff2') format('woff2');
}
@font-face {
font-display: swap;
font-family: 'Manrope';
font-style: normal;
font-weight: 700;
src: url('../fonts/manrope-v20-latin_latin-ext-700.woff2') format('woff2');
}