add local fonts for offline/faster loading
This commit is contained in:
parent
1bdea68a00
commit
19366943e6
4 changed files with 8 additions and 4 deletions
|
|
@ -21,6 +21,8 @@
|
||||||
"slicer"
|
"slicer"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@fortawesome/fontawesome-free": "^5.15.4",
|
||||||
|
"@tweenjs/tween.js": "^16.6.0",
|
||||||
"base64-js": "^1.5.1",
|
"base64-js": "^1.5.1",
|
||||||
"buffer-crc32": "^0.2.13",
|
"buffer-crc32": "^0.2.13",
|
||||||
"compression": "^1.7.4",
|
"compression": "^1.7.4",
|
||||||
|
|
@ -32,7 +34,6 @@
|
||||||
"pixi.js": "^4.8.9",
|
"pixi.js": "^4.8.9",
|
||||||
"serve-static": "^1.14.1",
|
"serve-static": "^1.14.1",
|
||||||
"three": "^0.126.0",
|
"three": "^0.126.0",
|
||||||
"@tweenjs/tween.js": "^16.6.0",
|
|
||||||
"uglify-es": "3.3.9",
|
"uglify-es": "3.3.9",
|
||||||
"validator": ">=13.7.0",
|
"validator": ">=13.7.0",
|
||||||
"ws": "^7.5.5"
|
"ws": "^7.5.5"
|
||||||
|
|
|
||||||
BIN
web/kiri/ext/russo-one.ttf
Normal file
BIN
web/kiri/ext/russo-one.ttf
Normal file
Binary file not shown.
|
|
@ -7,6 +7,10 @@
|
||||||
--highlight: rgba(126,153,183,0.4);
|
--highlight: rgba(126,153,183,0.4);
|
||||||
--main-color: rgba(126,153,183,1);
|
--main-color: rgba(126,153,183,1);
|
||||||
}
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Russo One';
|
||||||
|
src: url('ext/russo-one.ttf');
|
||||||
|
}
|
||||||
a, a:hover, a:visited {
|
a, a:hover, a:visited {
|
||||||
border: none;
|
border: none;
|
||||||
color: inherit;
|
color: inherit;
|
||||||
|
|
|
||||||
|
|
@ -15,9 +15,8 @@
|
||||||
<link rel="icon" href="/kiri/favicon.ico">
|
<link rel="icon" href="/kiri/favicon.ico">
|
||||||
<link rel="apple-touch-icon" href="/kiri/favicon-mobile.png">
|
<link rel="apple-touch-icon" href="/kiri/favicon-mobile.png">
|
||||||
<link rel="stylesheet" type="text/css" href="/kiri/index.css?{{version}}">
|
<link rel="stylesheet" type="text/css" href="/kiri/index.css?{{version}}">
|
||||||
<link href="https://fonts.googleapis.com/css?family=Russo+One&display=swap" rel="stylesheet">
|
<link href="fa/css/all.min.css" rel="stylesheet">
|
||||||
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.min.css" rel="stylesheet">
|
<script src="fa/js/all.min.js" crossorigin="anonymous"></script>
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/js/all.min.js" crossorigin="anonymous"></script>
|
|
||||||
<script src="/code/kiri.js?{{version}}"></script>
|
<script src="/code/kiri.js?{{version}}"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue