diff --git a/www/public_html/css/dist/styles.min.css b/www/public_html/css/dist/styles.min.css index 9305996..7e1b41e 100644 --- a/www/public_html/css/dist/styles.min.css +++ b/www/public_html/css/dist/styles.min.css @@ -1 +1 @@ -#pictures,body,html{position:relative;overflow:hidden}#pictures,#pictures video,#root,body,html{width:100%;height:100%}#map,#timeline{position:absolute;z-index:9;bottom:0;left:0;background-color:rgba(255,255,255,.6);border-radius:2px}body,html{margin:0;padding:0;background-color:#000}#root{position:relative}#header{position:absolute;z-index:10;top:0;left:0}#pictures{z-index:5}#pictures video source:not(.1080p){display:none}#timeline{width:67%;margin:1% 0 1% 32%;height:3em}#map{width:30%;margin:1%;height:40%} \ No newline at end of file +#timelaps,body,html{position:relative;overflow:hidden}#root,#timelaps,body,html{width:100%;height:100%}#map,#timeline{z-index:9;bottom:0}#header,#map,#timeline{position:absolute;left:0}body,html{margin:0;padding:0;background-color:#000}#root{position:relative}#header{z-index:10;top:0}#timelaps{z-index:5}#timelaps video#timelapsvid{position:absolute;top:0;left:0;width:100%;height:100%}@media (min-aspect-ratio:16 / 9){#timelaps video#timelapsvid{height:300%;top:-100%}}@media (max-aspect-ratio:16 / 9){#timelaps video#timelapsvid{width:300%;left:-100%}}#timeline{width:67%;margin:1% 0 1% 32%;padding:7px;background-color:rgba(0,0,0,.8);border-radius:2px}#timeline .vis-background,#timeline .vis-background.vis-horizontal,#timeline .vis-background.vis-vertical,#timeline .vis-panel.vis-bottom,#timeline .vis-panel.vis-center,#timeline .vis-panel.vis-top,#timeline .vis-time-axis,#timeline .vis-timeline{border:none}#timeline .vis-text{color:#fff}#timeline .vis-custom-time.videotime{background-color:red}#map{width:30%;margin:1%;height:40%;background-color:rgba(255,255,255,.6);border-radius:2px;display:none} \ No newline at end of file diff --git a/www/public_html/css/styles.css b/www/public_html/css/styles.css index 0cc3087..d55d349 100644 --- a/www/public_html/css/styles.css +++ b/www/public_html/css/styles.css @@ -18,17 +18,26 @@ html, body { top: 0; left: 0; } -#pictures { +#timelaps { position: relative; z-index: 5; width: 100%; height: 100%; overflow: hidden; } - #pictures video { + #timelaps video#timelapsvid { + position: absolute; + top: 0; + left: 0; width: 100%; height: 100%; } - #pictures video source:not(.1080p) { - display: none; } + @media (min-aspect-ratio: 16 / 9) { + #timelaps video#timelapsvid { + height: 300%; + top: -100%; } } + @media (max-aspect-ratio: 16 / 9) { + #timelaps video#timelapsvid { + width: 300%; + left: -100%; } } #timeline { position: absolute; @@ -37,9 +46,19 @@ html, body { left: 0; width: 67%; margin: 1% 0 1% 32%; - height: 3em; - background-color: rgba(255, 255, 255, 0.6); + padding: 7px; + background-color: rgba(0, 0, 0, 0.8); border-radius: 2px; } + #timeline .vis-timeline { + border: none; } + #timeline .vis-time-axis, + #timeline .vis-background, #timeline .vis-background.vis-horizontal, #timeline .vis-background.vis-vertical, + #timeline .vis-panel.vis-center, #timeline .vis-panel.vis-top, #timeline .vis-panel.vis-bottom { + border: none; } + #timeline .vis-text { + color: white; } + #timeline .vis-custom-time.videotime { + background-color: red; } #map { position: absolute; @@ -50,4 +69,5 @@ html, body { margin: 1%; height: 40%; background-color: rgba(255, 255, 255, 0.6); - border-radius: 2px; } + border-radius: 2px; + display: none; } diff --git a/www/public_html/index.php b/www/public_html/index.php index f5413fd..95c4d32 100644 --- a/www/public_html/index.php +++ b/www/public_html/index.php @@ -1,3 +1,8 @@ + @@ -13,13 +18,13 @@ -
-