Improve styling

This commit is contained in:
Ben van Hartingsveldt 2025-01-03 23:37:53 +01:00
parent f5c7e60296
commit b5650cdbf8
No known key found for this signature in database
GPG key ID: 261AA214130CE7AB
2 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,8 @@
html,body,canvas{
height:100%;
width:100%;
}
body{
background:black;
font-family:Arial,sans-serif;

View file

@ -1,7 +1,11 @@
const globe = Globe();
var container = null;
window.addEventListener('load',function(){
globe(document.getElementById('globe'));
container = document.getElementById('globe');
globe(container);
});
window.addEventListener('resize',function(event){