index.scss 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. .home {
  2. position: fixed;
  3. top: 0;
  4. left: 0;
  5. right: 0;
  6. bottom: 0;
  7. overflow: hidden;
  8. background: url("./images/map-min.jpg") no-repeat top left / 1920px 1080px;
  9. &__hover {
  10. position: absolute;
  11. top: 268px;
  12. left: 374px;
  13. width: 586px;
  14. height: 466px;
  15. cursor: pointer;
  16. opacity: 0;
  17. transition: opacity linear 0.2s;
  18. &:hover {
  19. opacity: 1;
  20. }
  21. }
  22. .notice {
  23. position: absolute;
  24. left: 0;
  25. bottom: 0;
  26. width: 100%;
  27. height: 40px;
  28. line-height: 40px;
  29. color: white;
  30. background: rgba(36, 52, 114, 0.9);
  31. z-index: 3;
  32. &__content {
  33. display: flex;
  34. align-items: center;
  35. gap: 10px;
  36. position: relative;
  37. width: 1300px;
  38. margin: 0 auto;
  39. > span {
  40. font-weight: bold;
  41. }
  42. div {
  43. flex: 1;
  44. width: 0;
  45. overflow: hidden;
  46. white-space: nowrap;
  47. p {
  48. width: fit-content;
  49. font-size: 14px;
  50. transition-timing-function: linear;
  51. }
  52. }
  53. i {
  54. cursor: pointer;
  55. }
  56. &__close {
  57. width: 18px;
  58. height: 18px;
  59. cursor: pointer;
  60. }
  61. }
  62. }
  63. }