blob: 140d1cbbc16cb5edc9b9750a9f5c38b8a101095d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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>
|