Add internal font
This commit is contained in:
parent
ebf8d8e67d
commit
a712e9cb26
3 changed files with 23 additions and 21 deletions
37
src/app.html
37
src/app.html
|
@ -6,26 +6,31 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
%sveltekit.head%
|
||||
<style>
|
||||
@font-face {
|
||||
font-family: 'Press Start 2P';
|
||||
src: url('/fonts/PressStart2P-Regular.ttf');
|
||||
}
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
background: black; /* Fallback */
|
||||
background-image: radial-gradient(circle, #37ff1456 8%, transparent 8%),
|
||||
radial-gradient(circle, #37ff1456 8%, transparent 8%);
|
||||
background-size:
|
||||
60px 60px,
|
||||
30px 30px; /* Larger grid sizes for more spacing */
|
||||
background-position:
|
||||
0 0,
|
||||
15px 15px; /* Offset the smaller pattern slightly */
|
||||
font-family: "Press Start 2P", sans-serif;
|
||||
color: #37ff1456; /* Retro green text */
|
||||
margin: 0;
|
||||
background: black; /* Fallback */
|
||||
background-image: radial-gradient(circle, #37ff1456 8%, transparent 8%),
|
||||
radial-gradient(circle, #37ff1456 8%, transparent 8%);
|
||||
background-size:
|
||||
60px 60px,
|
||||
30px 30px; /* Larger grid sizes for more spacing */
|
||||
background-position:
|
||||
0 0,
|
||||
15px 15px; /* Offset the smaller pattern slightly */
|
||||
font-family: 'Press Start 2P', sans-serif;
|
||||
color: #37ff1456; /* Retro green text */
|
||||
margin: 0;
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
</head>
|
||||
<body data-sveltekit-preload-data="hover">
|
||||
<div style="display: contents">%sveltekit.body%</div>
|
||||
|
|
|
@ -120,8 +120,8 @@
|
|||
</div>
|
||||
|
||||
<!-- Submit Button -->
|
||||
<a
|
||||
{href}
|
||||
<button
|
||||
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"
|
||||
>
|
||||
Start Download!
|
||||
|
@ -151,11 +151,8 @@
|
|||
{/if}
|
||||
|
||||
<style>
|
||||
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
|
||||
|
||||
* {
|
||||
font-size: 12px;
|
||||
font-family: 'Press Start 2P', sans-serif;
|
||||
}
|
||||
.retro-radio {
|
||||
appearance: none;
|
||||
|
|
BIN
static/fonts/PressStart2P-Regular.ttf
Normal file
BIN
static/fonts/PressStart2P-Regular.ttf
Normal file
Binary file not shown.
Loading…
Add table
Reference in a new issue