-
Notifications
You must be signed in to change notification settings - Fork 0
/
rules.html
237 lines (194 loc) · 4.62 KB
/
rules.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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
<!--
TODO:
- the ability to rejoin the game room after you have closed a tab
- implement voting mechanic after the game (choice to start new game or go to summary screen)
==> ability to export games at summary screen?
- SFX
-->
<!doctype html>
<html>
<head>
<link rel="shortcut icon" href="./assets/0-chitback.png" />
<title>Comic Relief</title>
<style>
body {
background-color: #242422 !important;
/* background-image: url("./assets/background.png"); */
background-size: cover;
background-origin: content-box;
background-position: top 100px;
}
.color0 {
color: white !important;
}
.buttonColor0 {
color: #242422 !important;
background-color: white !important;
border: solid 2px white !important;
transition: 0.3s ease;
}
.buttonColor0:hover {
color: white !important;
background-color: #242422 !important;
border: solid 2px #242422 !important;
}
.color1 {
color: #69DDFF !important;
}
.color2 {
color: #9BC4BC !important;
}
.color3 {
color: #9F87AF !important;
}
.gameID:hover {
cursor: pointer;
}
#click-to-copy {
font-size: 12px;
}
.panel {
width: 10vw;
height: 10vw;
background-color: slategrey;
border-radius: 10px;
}
#game-section {
/* zoom: 0.9; */
}
.grid {
margin: 0 auto;
width: 65vw;
max-width: 65vh;
height: 95vw;
max-height: 95vh;
font-size: 1rem;
}
.box {
border-radius: 7px;
}
.row {
display: flex;
}
.handwriting {
font-family: 'Indie Flower', cursive;
font-size: 20px;
}
.box {
background: gray;
padding-top: 8.65%;
margin: 5px;
color: white;
font-weight: bold;
flex: 1 0 auto;
position: relative;
background-size: cover;
border: none;
}
.box:after {
content: "";
float: left;
display: block;
padding-top: 100%;
}
.box .inner {
position: absolute;
left: 0;
right: 0;
bottom: 0;
top: 0;
display: flex;
align-items: center;
justify-content: center;
}
#story {
overflow-y: scroll;
overflow-wrap: normal;
overflow: auto !important;
}
.player-card img {
border-radius: 7px;
margin: 2px;
/* border: 2px black solid; */
max-width: 100%;
max-height: 100%;
display: block;
}
.player-card img:hover {
cursor: pointer;
}
#logo {
width: 400px;
height: 300px;
pointer-events: none;
}
.custom-font {
font-family: 'Balsamiq Sans', cursive;
}
.custom-font-small {
font-family: 'Balsamiq Sans', cursive;
font-size: 12px !important;
}
textarea {
background-color: #242422 !important;
border: white 2px solid !important;
border-radius: 8px !important;
color: white !important;
}
input {
background-color: #242422 !important;
border: white 2px solid !important;
border-radius: 8px !important;
color: white !important;
}
::placeholder {
/* Chrome, Firefox, Opera, Safari 10.1+ */
color: #ededed;
opacity: 1;
/* Firefox */
}
:-ms-input-placeholder {
/* Internet Explorer 10-11 */
color: #ededed
}
::-ms-input-placeholder {
/* Microsoft Edge */
color: #ededed
}
/* width */
::-webkit-scrollbar {
width: 5px;
}
/* Track */
::-webkit-scrollbar-track {
background: #242422;
border-radius: 10px;
}
/* Handle */
::-webkit-scrollbar-thumb {
border-radius: 10px;
background: white;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: white;
}
li {
background-color: #242422 !important;
color: white !important;
border-color: #ededed !important;
}
</style>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link href="https://fonts.googleapis.com/css2?family=Indie+Flower&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Balsamiq+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap"
rel="stylesheet">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"
integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous" />
<script src="https://code.jquery.com/jquery-3.5.0.js"></script>
</head>
<body>
</body>
<script>
</script>
</html>