-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
57 lines (52 loc) · 1.21 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
<!DOCTYPE html>
<script type="module" >
import './src/thingy52-widget.js';
import './src/thermometer-ui.js';
</script>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
html, body {
background-color: #e0e0e0;
font: 20px monospace;
}
.flex-container {
display: flex;
height: 100%;
}
.content {
margin: auto;
position: relative;
width: 95%;
max-width: 700px;
}
.col {
display: flex;
flex-direction: column;
}
.description {
font-size: 80%;
font-style: italic;
}
#list {
display: grid;
grid-template-columns: 1fr 2fr;
}
#list > span {
font-variant-numeric: tabular-nums;
}
</style>
</head>
<body>
<thingy52-widget></thingy52-widget>
<div class="flex-container">
<div class="content">
<div class="col">
<h2>Web Thermometer</h2>
<thermometer-ui></thermometer-ui>
</div>
</div>
</div>
</body>
</html>