Add internal font

This commit is contained in:
0d0 2025-02-05 13:23:42 +01:00
parent ebf8d8e67d
commit a712e9cb26
3 changed files with 23 additions and 21 deletions

View file

@ -6,11 +6,16 @@
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
%sveltekit.head% %sveltekit.head%
<style> <style>
@font-face {
font-family: 'Press Start 2P';
src: url('/fonts/PressStart2P-Regular.ttf');
}
* { * {
box-sizing: border-box; box-sizing: border-box;
padding: 0; padding: 0;
margin: 0; margin: 0;
} }
body { body {
background: black; /* Fallback */ background: black; /* Fallback */
background-image: radial-gradient(circle, #37ff1456 8%, transparent 8%), background-image: radial-gradient(circle, #37ff1456 8%, transparent 8%),
@ -21,7 +26,7 @@
background-position: background-position:
0 0, 0 0,
15px 15px; /* Offset the smaller pattern slightly */ 15px 15px; /* Offset the smaller pattern slightly */
font-family: "Press Start 2P", sans-serif; font-family: 'Press Start 2P', sans-serif;
color: #37ff1456; /* Retro green text */ color: #37ff1456; /* Retro green text */
margin: 0; margin: 0;
} }

View file

@ -120,8 +120,8 @@
</div> </div>
<!-- Submit Button --> <!-- Submit Button -->
<a <button
{href} type="submit"
class="w-full rounded-lg border-4 border-pink-700 bg-pink-500 px-4 py-3 text-black transition hover:bg-pink-600 active:border-yellow-500" class="w-full rounded-lg border-4 border-pink-700 bg-pink-500 px-4 py-3 text-black transition hover:bg-pink-600 active:border-yellow-500"
> >
Start Download! Start Download!
@ -151,11 +151,8 @@
{/if} {/if}
<style> <style>
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
* { * {
font-size: 12px; font-size: 12px;
font-family: 'Press Start 2P', sans-serif;
} }
.retro-radio { .retro-radio {
appearance: none; appearance: none;

Binary file not shown.