-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
89 lines (88 loc) · 2.67 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
<!DOCTYPE html>
<html>
<head>
<title id="tabTitle">Connect4</title>
<script type="text/javascript"src="game.js"></script>
<style>
html, body {
padding: 0;
margin: 0;
background: linear-gradient(
to top,
darkslategray,
black
);
color:
}
body * {
font-family: sans-serif;
}
#container {
text-align: center;
width: 100%;
padding: 20px;
box-sizing: border-box;
}
#canvas {
margin: 0 auto;
margin-bottom: 40px;
padding: 0;
display: block;
background-color: rgba(10, 10, 10, 0.3);
border: 9px solid darkslategray;
border-radius: 0;
overflow: hidden;
z-index: 20;
cursor: pointer;
box-shadow: 0 10px 130px 0 black;
}
span, #data {
font-family: sans-serif;
color: white;
font-size: 16px;
text-align: center;
}
input {
border: none;
text-align: center;
background-color: rgb(100, 170, 180);
color: white;
padding: 6px;
width: 170px;
font-size: 20px;
margin: 0 4px;
border-radius: 20px;
border-bottom: 5px solid teal;
}
input[type="submit"] {
background-color: crimson;
border-bottom: 5px solid maroon;
width: 50px;
}
input[type="submit"]:active {
background-color: black;
transform: translateY(5px);
border-bottom: 0px solid black;
}
input::-webkit-input-placeholder {color: teal;}
input:focus::-webkit-input-placeholder {color: rgb(100, 170, 180);}
input:focus {outline: none;}
h1 {
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
color: white;
letter-spacing: 3px;
}
</style>
</head>
<body onLoad="main();">
<div id="container">
<h1 id="pageTitle"></h1>
<canvas id = "canvas">
<span>Please install Google Chrome.</span>
</canvas>
</div>
</body>
</html>