From a0eaeb15fd06d1a26e8d8aaae2a7abef9366fe5b Mon Sep 17 00:00:00 2001 From: BOT Alex <44818698+MagicBOTAlex@users.noreply.github.com> Date: Sun, 6 Apr 2025 01:36:50 +0200 Subject: [PATCH] All in cozette font --- src/routes/+page.svelte | 11 +++-------- src/routes/comps/Profile.svelte | 4 ++-- static/stylesheets/global.css | 7 ++++++- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 4b73be8..4d6ba9e 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -54,7 +54,7 @@ <div class="pointer-events-auto" style="position: relative; width: 100%; height: 100%; overflow: hidden;"> <img id="backgroundGif" src="{BackgroundVideo}" alt="Background video"/> - <div class="main-title m-auto" style="position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; align-items: center; gap: 2rem; color: white; padding: 1rem;"> + <div class="main-title m-auto cozette" style="position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; align-items: center; gap: 2rem; color: white; padding: 1rem;"> <h1 style="font-size: {!mobile ? 5 : 3}rem; text-shadow: 0.2rem 0.2rem 1rem rgba(0, 0, 0, 0.9); z-index: 100;"> {#if !mobile} Deprived Devs @@ -72,8 +72,8 @@ </div> </div> -<div class="flex flex-col justify-center items-center w-full md:px-8 py-4"> - <h2 class="prose main-title text-center" style="font-size: {!mobile ? 3 : 2}rem;"> +<div class="cozette flex flex-col justify-center items-center w-full md:px-8 py-4"> + <h2 class="text-center" style="font-size: {!mobile ? 3 : 2}rem;"> Developers </h2> <div> @@ -241,11 +241,6 @@ <style> - .main-title { - width: 80%; - font-family: var(--title-font); - } - #backgroundGif{ width: 100%; height: 100%; diff --git a/src/routes/comps/Profile.svelte b/src/routes/comps/Profile.svelte index 9400207..45be24c 100644 --- a/src/routes/comps/Profile.svelte +++ b/src/routes/comps/Profile.svelte @@ -11,7 +11,7 @@ </script> -<div class="bg-grid-200 border-2 border-base-300 pr-4 rounded cozette max-lg:pb-2"> +<div class="bg-grid-200 border-2 border-base-300 pl-1 pr-4 rounded cozette max-lg:pb-2"> {#if !isSnorre} <div class="developersProfile {isSnorre ? "isSnorre" : ""} pl-1 font-mono"> <NameAndTag name={name} tags={tags} isMobile={isMobile}/> @@ -19,7 +19,7 @@ <MobileTags tags={tags} isMobile={isMobile}/> </div> {:else} - <div class="w-full"> + <div class="w-full pl-1"> <div class="developersProfile absolute snorre pl-4 font-mono pointer-events-none select-none"> <pre style="font-size: {!isMobile ? 1.5 : 1.5}rem;"> </pre> <span> diff --git a/static/stylesheets/global.css b/static/stylesheets/global.css index 0a49d3c..118b221 100644 --- a/static/stylesheets/global.css +++ b/static/stylesheets/global.css @@ -13,7 +13,12 @@ url("/fonts/NotoSans-VariableFont_wdth,wght.ttf") format("truetype"); } -.cozette *{ +.cozette * { + font-family: "CozetteVector"; +} + +/* fuck it */ +body * { font-family: "CozetteVector"; }