self-hosting font

This commit is contained in:
slweeb 2022-04-14 16:23:34 -04:00
parent 95d8c877d0
commit 00ea2c2d29
3 changed files with 10 additions and 5 deletions

Binary file not shown.

View File

@ -8,7 +8,6 @@
<meta name="keywords" content="falling sand, elements, pixel art, simulator, powder"> <meta name="keywords" content="falling sand, elements, pixel art, simulator, powder">
<meta name="author" content="R74n"> <meta name="author" content="R74n">
<meta name="copyright" content="R74n"> <meta name="copyright" content="R74n">
<link href="https://fonts.googleapis.com/css?family=Press+Start+2P" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="all"> <meta name="robots" content="all">
@ -2901,10 +2900,10 @@
"M2|M1|M2", "M2|M1|M2",
], ],
reactions: { reactions: {
"water": { "elem2": "ice_nine", "temp2":-100 }, "water": { "elem2": "ice_nine" },
"salt_water": { "elem2": "ice_nine", "temp2":-100 }, "salt_water": { "elem2": "ice_nine" },
"dirty_water": { "elem2": "ice_nine", "temp2":-100 }, "dirty_water": { "elem2": "ice_nine" },
"sugar_water": { "elem2": "ice_nine", "temp2":-100 }, "sugar_water": { "elem2": "ice_nine" },
}, },
temp:-100, temp:-100,
category: "special", category: "special",
@ -3369,6 +3368,7 @@
category: "solids", category: "solids",
density: 19300, density: 19300,
conduct: 0.65, conduct: 0.65,
hardness: 0.8,
}, },
"molten_tungsten": { "molten_tungsten": {
color: ['#ffff67', '#ffd367', '#ff9e00', '#d1ff5c', '#5cffb0', '#0073ff', '#ca57ff', '#ffba57', '#ff8c00', '#c46f28', '#c45928', '#c44300'] color: ['#ffff67', '#ffd367', '#ff9e00', '#d1ff5c', '#5cffb0', '#0073ff', '#ca57ff', '#ffba57', '#ff8c00', '#c46f28', '#c45928', '#c44300']

View File

@ -3,6 +3,11 @@
height: 100%; height: 100%;
margin: 0; margin: 0;
} }
/* Load the font PressStart2P-Regular.ttf */
@font-face {
font-family: 'Press Start 2P';
src: url('fonts/PressStart2P-Regular.ttf');
}
body { body {
font-family: 'Press Start 2P'; font-family: 'Press Start 2P';
background-color: #000000; background-color: #000000;