summaryrefslogtreecommitdiffstats
path: root/cwd/assets/altcraft/ui
diff options
context:
space:
mode:
Diffstat (limited to 'cwd/assets/altcraft/ui')
-rw-r--r--cwd/assets/altcraft/ui/loading-styles.rcss9
-rw-r--r--cwd/assets/altcraft/ui/loading.rml11
2 files changed, 20 insertions, 0 deletions
diff --git a/cwd/assets/altcraft/ui/loading-styles.rcss b/cwd/assets/altcraft/ui/loading-styles.rcss
new file mode 100644
index 0000000..b376fe8
--- /dev/null
+++ b/cwd/assets/altcraft/ui/loading-styles.rcss
@@ -0,0 +1,9 @@
+#body-loading {
+ background-color: #160f08;
+ color: white;
+}
+
+#loading {
+ font-size: 20vh;
+ margin: 30% auto auto;
+}
diff --git a/cwd/assets/altcraft/ui/loading.rml b/cwd/assets/altcraft/ui/loading.rml
new file mode 100644
index 0000000..2d84c37
--- /dev/null
+++ b/cwd/assets/altcraft/ui/loading.rml
@@ -0,0 +1,11 @@
+<rml>
+ <head>
+ <link type="text/rcss" href="mc-styles" />
+ <link type="text/rcss" href="loading-styles" />
+ <title>Loading</title>
+ <script src="/altcraft/scripts/ui"></script>
+ </head>
+ <body id="body-loading">
+ <strong class="mc-title" id="loading">Loading</strong>
+ </body>
+</rml>