25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

collections.page.scss 1.8 KiB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. .collections {
  2. height: calc(100vh - 56px);
  3. background-image: url('../../assets/collections/museum_background.png');
  4. background-position: center;
  5. background-size: 100% 100%;
  6. }
  7. .glass-box {
  8. width: 55vw;
  9. height: 40vh;
  10. position: fixed;
  11. left: calc(50vw - (55vw / 2));
  12. bottom: 36vh;
  13. }
  14. ion-slides {
  15. width: 100%;
  16. height: calc(100vh - 56px);
  17. ion-slide {
  18. height: 100%;
  19. display: block;
  20. position: relative;
  21. width: 100%;
  22. opacity: 0;
  23. &.swiper-slide-active {
  24. animation: fadeUp 0.5s forwards;
  25. animation-delay: 0.2s;
  26. }
  27. }
  28. @keyframes fadeUp {
  29. 0% {
  30. opacity: 0;
  31. transform: translateY(10px);
  32. }
  33. 100% {
  34. opacity: 1;
  35. transform: translateY(0vh);
  36. }
  37. }
  38. .box-heading {
  39. position: absolute;
  40. left: 25vw;
  41. width: 50vw;
  42. background-color: rgba(white, 0.1);
  43. border-radius: 7px;
  44. overflow: hidden;
  45. padding: 15px;
  46. top: 58vh;
  47. h5 {
  48. margin: 0;
  49. font-size: 1rem;
  50. font-weight: 500;
  51. color: rgb(63, 63, 63);
  52. }
  53. p {
  54. margin: 0;
  55. font-size: 0.8rem;
  56. line-height: 1.5;
  57. color: rgb(93, 93, 93);
  58. }
  59. }
  60. img {
  61. position: absolute;
  62. left: 40vw;
  63. bottom: 50vh;
  64. object-fit: contain;
  65. object-position: bottom;
  66. &.bat {
  67. width: 20.5vw;
  68. height: 20.5vh;
  69. &.inverted {
  70. left: 42vw;
  71. }
  72. }
  73. &.ball {
  74. width: 10vw;
  75. height: 10vh;
  76. left: 45vw;
  77. }
  78. }
  79. }