styles.scss 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. html, body{
  2. position: relative;
  3. margin: 0; padding: 0;
  4. overflow: hidden;
  5. width:100%; height:100%;
  6. }
  7. #root{
  8. position: relative;
  9. width:100%; height:100%;
  10. }
  11. #header{
  12. position: absolute; z-index: 10;
  13. top:0; left:0;
  14. }
  15. #pictures{
  16. position: relative; z-index: 5;
  17. width:100%; height:100%;
  18. overflow: hidden;
  19. // border: 1px solid blue;
  20. .frame{
  21. position:absolute; top:0; left:0;
  22. width: 100%; height:100%;
  23. background-size: cover;
  24. background-position: center;
  25. background-repeat: no-repeat;
  26. // background-clip: border-box;
  27. // background-color: green;
  28. // border: 1px solid red;
  29. // background-image: url();
  30. opacity: 0;
  31. transition: opacity 100 ease-in-out;
  32. &.current{
  33. opacity: 1;
  34. }
  35. }
  36. }
  37. #timeline{
  38. position: absolute; z-index: 9;
  39. bottom:0; left:0; width:67%; margin:1% 0 1% 32%; height:3em;
  40. background-color: rgba(255, 255, 255, 0.6);
  41. border-radius: 5px;
  42. }
  43. #map{
  44. position: absolute; z-index: 9;
  45. bottom:0; left:0; width:30%; margin:1%; height:40%;
  46. background-color: rgba(255, 255, 255, 0.6);
  47. border-radius: 5px;
  48. }