-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
71 lines (71 loc) · 2.44 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
<!doctype html>
<html>
<head>
<title>Coding Dojo Silesia</title>
<script src="./d3.js"></script>
<script src="./tweakpane.min.js"></script>
<script src="./board.js"></script>
<script src="./js.js"></script>
<link rel="icon" href="./favicon.ico" type="image/x-icon" />
<style>
html, body { height: 100%; margin: 0; padding: 0; }
body { font-family: Sans-Serif, Monospace; color: #333; }
#main {
display: flex;
flex-direction: row;
align-items: center;
align-content: space-around;
justify-items: stretch;
text-align: center;
width: 100vw;
height: 100vh;
}
#left {
display: flex;
flex-direction: row;
align-items: flex-end;
background-color: black;
height: 100%;
}
#right {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
align-content: space-around;
text-align: center;
height: 100%;
}
#logo {
flex: 1;
background-image: url("./logo.png");
background-position: center;
background-repeat: no-repeat;
background-size: contain;
width: 100%;
margin-bottom: 10px;
}
#timer { font-size: 72pt; margin: 0; }
.value-time {display: inline-block; width: 150px; }
#text { font-size: 48pt; width: 100%; }
</style>
</head>
<body onload="init()">
<div id="main">
<div id="left">
<svg id="animation"></svg>
</div>
<div id="right">
<div id="logo"></div>
<h1 id="timer">
<span class='value-time' id='hour'>--</span>
<span class='delimeter-time'>:</span>
<span class='value-time' id='minute'>--</span>
<span class='delimeter-time'>:</span>
<span class='value-time' id='second'>--</span>
</h1>
<div id="text" oninput="onText" contenteditable="true"></div>
</div>
</div>
</body>
</html>