mirror of
https://github.com/PrismarineJS/prismarine-web-client.git
synced 2024-11-14 19:25:07 -05:00
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:
parent
bccac8bd2e
commit
b6b65793d3
6 changed files with 13 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -2,3 +2,4 @@ node_modules/
|
|||
package-lock.json
|
||||
.vscode
|
||||
public
|
||||
.DS_Store
|
||||
|
|
BIN
assets/Mojangles.ttf
Normal file
BIN
assets/Mojangles.ttf
Normal file
Binary file not shown.
BIN
assets/mojangles.ttf
Normal file
BIN
assets/mojangles.ttf
Normal file
Binary file not shown.
|
@ -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)
|
||||
}
|
||||
|
|
|
@ -22,6 +22,10 @@
|
|||
"client"
|
||||
],
|
||||
"author": "Romain Beaumont",
|
||||
"contributors" : [
|
||||
{"name":"AwesomestCode"},
|
||||
{"name":"circuit10"}
|
||||
],
|
||||
"license": "MIT",
|
||||
"bin": {
|
||||
"prismarine-web-client": "./server.js"
|
||||
|
|
|
@ -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(),
|
||||
|
|
Loading…
Reference in a new issue