forked from ekjellman/srs-game
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsrs.html
122 lines (116 loc) · 1.94 KB
/
srs.html
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<html>
<head>
<meta charset="UTF-8">
<title>SRS Game</title>
</head>
<body>
<style>
body {
margin: 0;
padding: 0;
}
/* Top level. */
#leftColumn {
position: absolute;
top: 0;
bottom: 50px;
left: 0;
right: 55%;
}
#rightColumn {
position: absolute;
top: 0;
bottom: 50px;
left: 45%;
right: 0;
}
#statusBar {
position: absolute;
border-top: 1px solid gray;
width: 100%;
height: 47px;
bottom: 0;
}
/* Left column. */
#encounterPanel {
border: 1px solid gray;
width: 100%;
height: 90%;
margin: 0;
padding: 0;
}
#buttonPanel {
text-align: center;
border: 1px solid gray;
width: 100%;
height: 10%;
margin: 0;
padding: 0;
}
#buttonU {
position: relative;
margin: 10px 0 0 0;
width: 100px;
white-space: nowrap;
}
#buttonL {
margin: 2em 0 0 1em;
float: left;
width: 100px;
white-space: nowrap;
}
#buttonR {
margin: 2em 1em 0 0;
float: right;
width: 100px;
white-space: nowrap;
}
#buttonD {
margin: 1em 0 1.5em 0;
width: 100px;
white-space: nowrap;
}
/* Right column. */
#charPanel {
border: 1px solid gray;
width: 100%;
height: 70%;
margin: 0;
padding: 0;
}
#logPanel {
border: 1px solid gray;
width: 100%;
height: 30%;
margin: 0;
padding: 0;
overflow: scroll;
}
.monster {
background: black;
padding: 1em;
max-width: 100%;
height: 200px;
}
</style>
<div id="leftColumn">
<div id="encounterPanel"></div>
<div id="buttonPanel">
<button id="buttonL" type="button"></button>
<button id="buttonR" type="button"></button>
<button id="buttonU" type="button"></button>
<br>
<button id="buttonD" type="button"></button>
</div>
</div>
<div id="rightColumn">
<div id="charPanel"></div>
<div id="logPanel"></div>
</div>
<div id="statusBar"></div>
<script>
var transcrypt_mode = true;
</script>
<script src="__javascript__/srs.js"></script>
</body>
</html>