-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchess.html
42 lines (35 loc) · 1.03 KB
/
chess.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
<!DOCTYPE html>
<style>
:root {
--background: #100f0feb;
--foreground: #9f957e;
--highlight: #ffe7ab;
--highlight2: #ddbc6a;
--highlight-background: #ddbd6a50;
}
.chess {
padding-left: 0;
padding-right: 0;
margin: auto;
margin-top: 4%;
display: block;
width: 800px;
border: 16px solid transparent;
border-image-source: url(images/border.png);
border-image-width: 20px 40px;
border-image-repeat: round;
border-image-slice: 30 50 fill;
}
</style>
<html>
<head>
<title>Antarian</title>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script type="text/javascript" src="scripts/chesscreator.js"></script>
<!-- <script type="text/javascript" src="chesscreator_xiangqi.js"></script> -->
<!-- <script type="text/javascript" src="chesscreator.js"></script> -->
</head>
<body style="background-color: #100f0feb;">
<canvas id="chesscreator" class="chess" width="10000" height="10000">Canvas is not supported.</canvas>
</body>
</html>