This commit is contained in:
Simon Gardling
2022-05-14 03:31:00 -04:00
parent e2c2713633
commit 8915c7587f
6 changed files with 55 additions and 78 deletions

View File

@@ -57,50 +57,6 @@
left: 50%;
transform: translate(-50%, 0%);
}
.centered {
margin-right: auto;
margin-left: auto;
display: block;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: #f0f0f0;
font-size: 24px;
font-family: Ubuntu-Light, Helvetica, sans-serif;
text-align: center;
}
/* ---------------------------------------------- */
/* Loading animation from https://loading.io/css/ */
.lds-dual-ring {
display: inline-block;
width: 24px;
height: 24px;
}
.lds-dual-ring:after {
content: " ";
display: block;
width: 24px;
height: 24px;
margin: 0px;
border-radius: 50%;
border: 3px solid #fff;
border-color: #fff transparent #fff transparent;
animation: lds-dual-ring 1.2s linear infinite;
}
@keyframes lds-dual-ring {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
</style>
</head>
@@ -108,7 +64,6 @@
<noscript>Please enable Javascript, this page uses both WebAssembly and Javascript to run.</noscript>
<canvas id="canvas"></canvas>
<progress class="centered" id="loading" value="0" max="100"></progress>
<script type="module">
delete WebAssembly.instantiateStreaming;

View File

@@ -4,6 +4,7 @@ var filesToCache = [
'./index.html',
'./ytbn_graphing_software.js',
'./ytbn_graphing_software_bg.wasm',
"./favicon.ico"
];
/* Start the service worker and cache all of the app's content */