-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
117 lines (106 loc) · 3.13 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
<!DOCTYPE html>
<html lang="EN">
<head>
<meta charset="utf-8" />
<meta content="width=device-width, initial-scale=1" name="viewport">
<title>Morpion</title>
<meta name="description" content="Online morpion game. (lostsh) ᓚᘏᗢ">
<style>
body {
font-family: monospace;
font-size: x-large;
}
h1,
p {
margin: 0 0 15px 0;
}
.main {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.vicMsg {
clear: both;
position: fixed;
background: grey;
margin: 0;
padding: 0;
top: 0;
left: 0;
height: 100vh;
width: 100vw;
overflow: hidden;
line-height: 100vh;
text-align: center;
}
.vicMsg a {
text-decoration: none;
border: 3px solid black;
padding: 3px 4px 3px 4px;
}
table td {
border: 10px solid black;
width: min(25vw, 25vh);
height: min(25vw, 25vh);
text-align: center;
}
table .cell {
display: block;
width: 100%;
height: 100%;
}
table .one{background-color: black; clip-path: polygon(5% 0%, 50% 45%, 95% 0%, 100% 5%, 55% 50%, 100% 95%, 95% 100%, 50% 55%, 5% 100%, 0% 95%, 45% 50%, 0% 5%);}
table .two{ border: 10% solid black; border-radius: 100%; }
.showScore {
position: absolute;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-color: rgb(159, 159, 159);
opacity: 0.9;
display: flex;
justify-content: center;
align-items: center;
}
.showScore div{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.showScore div span{
cursor: pointer;
border: 4px black solid;
padding: 5px;
}
</style>
</head>
<body>
<h1 hidden>Morpion</h1>
<div class="main">
<!--
<table>
<tbody>
<tr>
<td class="zero"><span class="cell"></span></td>
<td class="one"><span class="cell"></span></td>
<td class="two"><span class="cell"></span></td>
</tr>
<tr>
<td class="zero"><span class="cell"></span></td>
<td class="zero"><span class="cell"></span></td>
<td class="zero"><span class="cell"></span></td>
</tr>
<tr>
<td class="zero"><span class="cell"></span></td>
<td class="zero"><span class="cell"></span></td>
<td class="zero"><span class="cell"></span></td>
</tr>
</tbody>
</table>-->
</div>
<script src="main.js"></script>
</body>
</html>