Improve styling
This commit is contained in:
parent
f5c7e60296
commit
b5650cdbf8
2 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
html,body,canvas{
|
||||||
|
height:100%;
|
||||||
|
width:100%;
|
||||||
|
}
|
||||||
|
|
||||||
body{
|
body{
|
||||||
background:black;
|
background:black;
|
||||||
font-family:Arial,sans-serif;
|
font-family:Arial,sans-serif;
|
||||||
|
|
|
@ -1,7 +1,11 @@
|
||||||
const globe = Globe();
|
const globe = Globe();
|
||||||
|
|
||||||
|
var container = null;
|
||||||
|
|
||||||
window.addEventListener('load',function(){
|
window.addEventListener('load',function(){
|
||||||
globe(document.getElementById('globe'));
|
container = document.getElementById('globe');
|
||||||
|
|
||||||
|
globe(container);
|
||||||
});
|
});
|
||||||
|
|
||||||
window.addEventListener('resize',function(event){
|
window.addEventListener('resize',function(event){
|
||||||
|
|
Loading…
Add table
Reference in a new issue