-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
61 lines (59 loc) · 1.42 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
<link href="https://fonts.googleapis.com/css2?family=Skranji&display=swap" rel="stylesheet">
<style>
body {
font-family: 'Skranji', cursive;
background: #fff4e3;
text-align: center;
}
h1 {
margin-top: 1.5em;
margin-bottom: 10px;
}
.container {
width: 800px;
margin: 0 auto;
}
@media screen and (max-width: 900px) {
.container {
width: 90%;
}
}
canvas {
width: 100%;
display: block;
margin: 40px auto;
margin-bottom: 20px;
}
.button-container {
display: inline-flex;
}
.button {
padding: 0.5em 1em;
font-size: 1.5em;
background: #3F4045;
color: #FFF4E3;
border: 1px solid #3F4045;
border-radius: 5px;
display: block;
width: 4em;
margin: 0 1em;
cursor: pointer;
text-decoration: none;
}
.button:hover {
background: none;
border: 1px solid #3F4045;
color: #3F4045;
}
</style>
<h1> RunicJs </h1>
<subtitle>Generate rune tablets</subtitle>
<div class="container">
<canvas id="canva"></canvas>
<div class="button-container">
<a class="button" href="#" onclick="populate_rune_table()">Generate</a>
<a class="button" target="_blank" href="https://github.com/batman-nair/Runicjs">Github</a>
</div>
</div>
<script src="runic.js">
</script>