summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'index.html')
-rw-r--r--index.html49
1 files changed, 49 insertions, 0 deletions
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..140d1cb
--- /dev/null
+++ b/index.html
@@ -0,0 +1,49 @@
+<html>
+ <head>
+ <style>
+ body {
+ color:#FFF;
+ background-color:#112;
+ margin-left:auto;
+ margin-right:auto;
+ max-width:80ch;
+ font-family:monospace;
+ font-size:1.5rem;
+ }
+ button {
+ background-color:#000;
+ color:#fff;
+ font-family:monospace;
+ font-size:1.5rem;
+ }
+ .currencydisplay {
+ height:32px;
+ display:inline-flex;
+ align-items:end;
+ }
+ .currencydisplay img {
+ display:inline;
+ margin:0;
+ padding:0;
+ }
+ .currencycount {
+ display:inline-block;
+ margin-left:10px;
+ }
+ .currencybar .currencycount {
+ margin-right:20px;
+ }
+
+ .currencybar {
+ display:flex;
+ border:2px solid white;
+ margin-bottom:5px;
+ background-color:#222;
+ }
+ </style>
+ </head>
+ <body>
+ <script src="https://unpkg.com/mithril/mithril.js"></script>
+ <script src="game.js"></script>
+ </body>
+</html>