This commit is contained in:
Daniel Ledda
2020-11-18 23:00:35 +01:00
parent 3477e35969
commit abc6c55147
4 changed files with 16 additions and 7 deletions

View File

@@ -3,12 +3,15 @@
<head>
<meta charset="UTF-8">
<title>Ledda's Room Climate</title>
<link href="{{.}}/static/styles.css" rel="stylesheet" />
<link href="styles.css" rel="stylesheet" />
<script src="{{.}}/static/main.js"></script>
</head>
<body id="root">
<div class="chart-container center">
<canvas id="myChart"></canvas>
<div>
<h1>Ledda's Room Climate</h1>
<canvas id="myChart"></canvas>
</div>
</div>
</body>
</html>

2
webapp/dist/main.js vendored

File diff suppressed because one or more lines are too long

View File

@@ -35,6 +35,10 @@ html, body {
padding: 10vw;
width: calc(100% - 20vw);
height: calc(100% - 20vw);
text-align: center;
}
.chart-container > * {
display: block;
}
#myChart {
@@ -42,4 +46,10 @@ html, body {
padding: 2vw;
border-radius: 1vw;
border: 3px #c7ab82 solid;
}
h1 {
font-family: "Georgia", serif;
font-weight: normal;
color: #7b5b2f;
}