aboutsummaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'index.html')
-rw-r--r--index.html15
1 files changed, 12 insertions, 3 deletions
diff --git a/index.html b/index.html
index 72bb82c..aac4e9f 100644
--- a/index.html
+++ b/index.html
@@ -28,7 +28,7 @@
<script src="./typescript/mainloader.js"></script>
</head>
<body style="background:#000000;margin:0;height:100%;width:100%;zoom:1.2;">
- <div id="dummyloader" style="display:flex;align-items:center;justify-content:center;position:fixed;z-index:1;inset: 0;height: 100%;background:#f4f3f4;overflow:hidden;">
+ <div id="dummyloader" style="display:flex;align-items:center;justify-content:center;position:fixed;z-index:1;inset: 0;height: 100%;background:#064896;overflow:hidden;">
</div>
<div style="height: 64px;position: fixed;bottom: 10px;left: 0;background-image: url(./logo/newloader.svg);width: 100000000px;background-size: contain;animation-name: loading;animation-direction: reverse;animation-fill-mode: forwards;animation-timing-function: linear;animation-duration: 5000s;animation-iteration-count: infinite;opacity: .5;"></div>
<style>
@@ -140,11 +140,20 @@
</div>
<div id="bar-outer-outer" style="z-index:99;position:fixed;inset:0;display:flex;justify-content: center;align-items: center;margin-top:120px;opacity:0;transition:opacity 500ms;">
- <div id="bar-outer" style="background:#c2c2c2;width:256px;height:5px;border-radius:999px;">
- <div id="bar-inner" style="background:#a0a0a0;width:0;height:5px;border-radius:999px;"></div>
+ <div id="bar-outer" style="background:rgba(255, 255, 255, .25);width:256px;height:5px;border-radius:999px;">
+ <div id="bar-inner" style="background:rgba(255, 255, 255, .5);width:0;height:5px;border-radius:999px;"></div>
</div>
</div>
<script src="./views/script/core_crash.js"></script>
+ <script>
+
+ try { if (process === undefined) {
+ document.body.innerHTML = "<p style='color:white;'>This webpage is meant to be used by Kartik's engine, it doesn't work on a Web browser.</p>"
+ } } catch (e) {
+ document.body.innerHTML = "<p style='color:white;'>This webpage is meant to be used by Kartik's engine, it doesn't work on a Web browser.</p>"
+ }
+
+ </script>
</body>
</html>