change font to mojangles (#11)

* change font to mojangles

minecraftia is a fan-recreation, mojangles is the official font

* change Mojangles to mojangles
This commit is contained in:
AwesomestCode 2021-02-28 11:33:56 -05:00 committed by GitHub
parent bccac8bd2e
commit b6b65793d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 13 additions and 3 deletions

3
.gitignore vendored
View file

@ -1,4 +1,5 @@
node_modules/
package-lock.json
.vscode
public
public
.DS_Store

BIN
assets/Mojangles.ttf Normal file

Binary file not shown.

BIN
assets/mojangles.ttf Normal file

Binary file not shown.

View file

@ -7,6 +7,10 @@
font-family: minecraft;
src: url(minecraftia.woff);
}
@font-face {
font-family: mojangles;
src: url(mojangles.ttf);
}
html {
overflow: hidden;
}
@ -52,7 +56,7 @@
margin: 0px;
line-height: 100%;
text-shadow: 4px 4px 0px #3f3f3f;
font-family: minecraft, monospace;
font-family: mojangles, minecraft, monospace;
width: 100%;
max-height: calc(90px * 8)
}

View file

@ -22,6 +22,10 @@
"client"
],
"author": "Romain Beaumont",
"contributors" : [
{"name":"AwesomestCode"},
{"name":"circuit10"}
],
"license": "MIT",
"bin": {
"prismarine-web-client": "./server.js"

View file

@ -62,7 +62,8 @@ const config = {
{ from: path.join(__dirname, '/node_modules/prismarine-viewer/public/textures/'), to: './textures/' },
{ from: path.join(__dirname, '/node_modules/prismarine-viewer/public/worker.js'), to: './' },
{ from: path.join(__dirname, '/node_modules/prismarine-viewer/public/supportedVersions.json'), to: './' },
{ from: path.join(__dirname, 'assets/minecraftia.woff'), to: './' }
{ from: path.join(__dirname, 'assets/minecraftia.woff'), to: './' },
{ from: path.join(__dirname, 'assets/mojangles.ttf'), to: './' }
]
}),
new webpack.optimize.ModuleConcatenationPlugin(),