mirror of
https://github.com/sigmasternchen/mobmash.click
synced 2025-03-15 08:09:02 +00:00
feat: Use minecraft font
This commit is contained in:
parent
90bd9ef5ca
commit
005dc8026b
8 changed files with 36 additions and 0 deletions
BIN
html/fonts/minecraft-font/MinecraftBold.otf
Normal file
BIN
html/fonts/minecraft-font/MinecraftBold.otf
Normal file
Binary file not shown.
BIN
html/fonts/minecraft-font/MinecraftBoldItalic.otf
Normal file
BIN
html/fonts/minecraft-font/MinecraftBoldItalic.otf
Normal file
Binary file not shown.
BIN
html/fonts/minecraft-font/MinecraftItalic.otf
Normal file
BIN
html/fonts/minecraft-font/MinecraftItalic.otf
Normal file
Binary file not shown.
BIN
html/fonts/minecraft-font/MinecraftRegular.otf
Normal file
BIN
html/fonts/minecraft-font/MinecraftRegular.otf
Normal file
Binary file not shown.
2
html/fonts/minecraft-font/info.txt
Normal file
2
html/fonts/minecraft-font/info.txt
Normal file
|
@ -0,0 +1,2 @@
|
|||
license: Public Domain
|
||||
link: https://www.fontspace.com/minecraft-font-f28180
|
28
html/styles/fonts.css
Normal file
28
html/styles/fonts.css
Normal file
|
@ -0,0 +1,28 @@
|
|||
@font-face {
|
||||
font-family: 'Minecraft';
|
||||
src: url('../fonts/minecraft-font/MinecraftRegular.otf') format('opentype');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Minecraft';
|
||||
src: url('../fonts/minecraft-font/MinecraftItalic.otf') format('opentype');
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Minecraft';
|
||||
src: url('../fonts/minecraft-font/MinecraftBold.otf') format('opentype');
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Minecraft';
|
||||
src: url('../fonts/minecraft-font/MinecraftBoldItalic.otf') format('opentype');
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
}
|
||||
|
|
@ -1,3 +1,7 @@
|
|||
* {
|
||||
font-family: 'Minecraft', sans-serif;
|
||||
}
|
||||
|
||||
body {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
|
@ -43,6 +47,7 @@ h1 {
|
|||
}
|
||||
|
||||
.middle .or, .middle .spinner {
|
||||
color: white;
|
||||
font-size: 5vw;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
<head>
|
||||
<title><?= $title ?? ""; ?></title>
|
||||
<link rel="stylesheet" type="text/css" href="/styles/main.css" />
|
||||
<link rel="stylesheet" type="text/css" href="/styles/fonts.css" />
|
||||
<script type="application/javascript" src="/js/bundle.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
|
Loading…
Reference in a new issue