Created
February 16, 2021 16:25
-
-
Save RolphH/f9028668ac5611d69337ffa03bd3364d to your computer and use it in GitHub Desktop.
HTML File to show mapgl map
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1" crossorigin="anonymous"> | |
<script src='https://api.mapbox.com/mapbox-gl-js/v2.0.1/mapbox-gl.js'></script> | |
<link href='https://api.mapbox.com/mapbox-gl-js/v2.0.1/mapbox-gl.css' rel='stylesheet' /> | |
<style> | |
@import url(https://fonts.googleapis.com/css?family=Inconsolata:400,500); | |
body { background-color: black } | |
#map { height: calc(100vh - 275px);; width: ; z-index: 1; } | |
.table { color: #fff; font-family: Inconsolata,sans-serif; font-size: 15px; border-color: #525252;} | |
.thead { font-weight: 700; color: #525252; } | |
@-webkit-keyframes flashrow { | |
from { background-color: #525252; } | |
to { background-color: var(--bs-table-bg); } | |
} | |
@-moz-keyframes flashrow { | |
from { background-color: #525252; } | |
to { background-color: var(--bs-table-bg); } | |
} | |
@-o-keyframes flashrow { | |
from { background-color: #525252; } | |
to { background-color: var(--bs-table-bg); } | |
} | |
@keyframes flashrow { | |
from { background-color: #525252; } | |
to { background-color: var(--bs-table-bg); } | |
} | |
.flashrow { | |
-webkit-animation: flashrow 1.5s; /* Safari 4+ */ | |
-moz-animation: flashrow 1.5s; /* Fx 5+ */ | |
-o-animation: flashrow 1.5s; /* Opera 12+ */ | |
animation: flashrow 1.5s; /* IE 10+ */ | |
} | |
</style> | |
</head> | |
<body> | |
<div class="container"> | |
<div class="row"> | |
<div class="col"> | |
<div id="map"></div> | |
</div> | |
</div> | |
<div class="row"> | |
<div class="col" id="ticker"> | |
<table id="tickettable" class="table table-black ticker"> | |
<thead class="text-uppercase thead"> | |
<tr> | |
<th class="col-lg-1 thead">Time</th> | |
<th class="col-lg-2 thead">Country</th> | |
<th class="col-lg-3 thead">AS Organisation</th> | |
<th class="col-lg-6 thead">TYPE</th> | |
</tr> | |
</thead> | |
<tbody> | |
</tbody> | |
</table> | |
</div> | |
</div> | |
</div> | |
<script src='map.js'></script> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment