-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
120 lines (99 loc) · 2.55 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<title>Number Grid</title>
<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.4.1.min.js"
integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
<script src="/fireworks.js"></script>
<style>
body {
width: 100vw;
height: 100vh;
margin: 0;
padding: 0;
}
th,
td,
.answer {
text-align: center;
border: 1px solid #888 !important;
}
.answer {
width: 100%;
font-size: 14px;
}
.table {
font-size: 18px;
}
.right {
background-color: #97EB93;
}
.wrong {
background-color: #FF816D
}
.sum {
color: #fff;
font-size: 12px;
font-weight: 600;
}
.sum.hidden {
visibility: hidden;
}
.table td {
padding: .25em !important;
}
.right-count {
font-size: 32px;
font-weight: 600;
}
.timer {
width: 80px;
height: 80px;
}
.grid {
min-width: 768px;
}
@media (max-width: 992px) {
.grid {
width: 100%;
max-width: 100%;
}
}
@media print {
.buttons {
display: none;
}
.timer,
.answer {
visibility: hidden;
}
th,
td,
.answer {
text-align: center;
border: 1px solid #222 !important;
}
.sum {
color: #000;
}
.table-bordered td, .table-bordered th {
border: 2px solid #888 !important;
}
}
</style>
</head>
<body>
<div class="buttons container mt-3 mb-3 text-center">
<form>
<button id="start-button" type="button" class="btn btn-success">Start 🏁</button>
<br>
<br>
<div><span class="right-count"></span></div>
</form>
</div>
<div class="grid container"></div>
<script src="script.js"></script>
</body>
</html>