Website: Fonts hosted locally

This commit is contained in:
nomadics9 2025-01-09 17:24:52 +03:00
parent c506b26462
commit aa962b39f8
11 changed files with 10 additions and 6 deletions

View file

@ -36,7 +36,6 @@
<style lang="scss"> <style lang="scss">
@import '$lib/scss/breakpoints.scss'; @import '$lib/scss/breakpoints.scss';
.logo { .logo {
width: auto; width: auto;
height: 100%; height: 100%;
@ -79,7 +78,7 @@
} }
} }
#text tspan { #text tspan {
font-family: 'Font Awesome 6 Brands'; font-family: 'Font-Awesome-brands';
font-size: 106.667px; font-size: 106.667px;
} }

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -1,10 +1,15 @@
@font-face { @font-face {
font-family: 'Font Awesome 6 Brands'; font-family: 'Font-Awesome';
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
src: url('./fa-brands-400.woff2') format('woff2'), src: url('./fa-brands-400.woff2') format('woff2'),
url('./fa-v4compatibility.woff2') format('woff2'), url('./fa-brands-400.ttf') format('truetype');
url('./fa-brands-400.ttf') format('truetype'), font-display: swap;
url('./fa-v4compatibility.ttf') format('truetype'); }
@font-face {
font-family: 'Font-Awesome-brands';
font-style: normal;
font-weight: 400;
src: url('./Font Awesome 6 Brands-Regular-400.otf') format('opentype'),
font-display: swap; font-display: swap;
} }