styles.css 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. html, body {
  2. position: relative;
  3. margin: 0;
  4. padding: 0;
  5. overflow: hidden;
  6. width: 100%;
  7. height: 100%;
  8. background-color: black; }
  9. #root {
  10. position: relative;
  11. width: 100%;
  12. height: 100%; }
  13. #header {
  14. position: absolute;
  15. z-index: 10;
  16. top: 0;
  17. left: 0;
  18. display: none; }
  19. #timelaps {
  20. position: relative;
  21. z-index: 5;
  22. width: 100%;
  23. height: 100%;
  24. overflow: hidden; }
  25. #timelaps video#timelapsvid {
  26. position: absolute;
  27. top: 0;
  28. left: 0;
  29. width: 100%;
  30. height: 100%; }
  31. @media (min-aspect-ratio: 16 / 9) {
  32. #timelaps video#timelapsvid {
  33. height: 200%;
  34. top: -50%; } }
  35. @media (max-aspect-ratio: 16 / 9) {
  36. #timelaps video#timelapsvid {
  37. width: 200%;
  38. left: -50%; } }
  39. #mapout {
  40. position: absolute;
  41. z-index: 9;
  42. bottom: 0;
  43. left: 0;
  44. width: 23.5%;
  45. margin: 1% 0.5% 1% 1%;
  46. height: 10%;
  47. background-color: rgba(255, 255, 255, 0.6);
  48. border-radius: 2px; }
  49. #mapin {
  50. position: absolute;
  51. z-index: 9;
  52. bottom: 0;
  53. left: 25%;
  54. width: 23.5%;
  55. margin: 1% 0.5% 1% 0.5%;
  56. height: 10%;
  57. background-color: rgba(255, 255, 255, 0.6);
  58. border-radius: 2px; }
  59. #timeline {
  60. position: absolute;
  61. z-index: 9;
  62. bottom: 0;
  63. right: 0;
  64. width: 48%;
  65. margin: 1% 1% 1% 0.5%;
  66. padding: 0.5%;
  67. height: 8.3%;
  68. background-color: rgba(15, 15, 15, 0.8);
  69. border-radius: 2px; }
  70. #timeline .vis-timeline {
  71. border: none; }
  72. #timeline .vis-time-axis,
  73. #timeline .vis-background, #timeline .vis-background.vis-horizontal, #timeline .vis-background.vis-vertical,
  74. #timeline .vis-panel.vis-center, #timeline .vis-panel.vis-top, #timeline .vis-panel.vis-bottom {
  75. border: none; }
  76. #timeline .vis-text {
  77. color: #827f7f; }
  78. #timeline .vis-custom-time.videotime {
  79. background-color: #2781cc; }
  80. #teaser {
  81. display: none;
  82. position: absolute;
  83. z-index: 50;
  84. top: 0;
  85. left: 0;
  86. width: 100%;
  87. height: 100%;
  88. background-color: #000;
  89. background-image: url(../assets/lagare.png);
  90. background-size: cover;
  91. background-repeat: no-repeat; }
  92. #teaser .layer {
  93. position: absolute;
  94. width: 100%;
  95. height: 100%;
  96. top: 0;
  97. left: 0;
  98. background-color: rgba(0, 0, 0, 0.7); }
  99. #teaser .popup {
  100. position: absolute;
  101. background-color: rgba(0, 0, 0, 0.8);
  102. width: 20%;
  103. left: 50%;
  104. top: 45%;
  105. margin-left: -10%;
  106. border-radius: 4px; }
  107. #teaser .popup h1 {
  108. color: #fff;
  109. text-align: center;
  110. font-family: monospace; }
  111. body.teasing #teaser {
  112. display: block; }
  113. body.teasing #timelaps, body.teasing #timeline, body.teasing #mapin, body.teasing #mapout {
  114. display: none; }