_sharePage.scss 1.9KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. .share {
  2. opacity: 0;
  3. visibility: hidden;
  4. height: 100vh; /*給 Safari 以外的瀏覽器讀取*/
  5. height: calc(var(--vh, 1vh) * 100);
  6. background: url(https://d1xzlli46wohoc.cloudfront.net/images/sharePage/bg.png)no-repeat center top/cover;
  7. img {
  8. width: 100%;
  9. height: auto;
  10. image-rendering: pixelated;
  11. image-rendering: -webkit-optimize-contrast;
  12. }
  13. &__content {
  14. position: relative;
  15. top: 10%;
  16. width: 100%;
  17. display: flex;
  18. flex-direction: column;
  19. justify-content: flex-start;
  20. align-items: center;
  21. }
  22. &__title {
  23. width: 151px;
  24. height: auto;
  25. margin-bottom: 30px;
  26. }
  27. &__pic {
  28. width: 300px;
  29. height: 300px;
  30. border-radius: 20px;
  31. overflow: hidden;
  32. border: 2px solid $blue;
  33. }
  34. &__table {
  35. display: none;
  36. position: absolute;
  37. bottom: 0;
  38. left: 0;
  39. width: 100%;
  40. height: auto;
  41. }
  42. &__cta {
  43. position: absolute;
  44. bottom: 0;
  45. left: 0;
  46. width: 100%;
  47. display: flex;
  48. justify-content: flex-start;
  49. align-items: flex-end;
  50. }
  51. &__btn {
  52. width: 50%;
  53. text-align: center;
  54. font-size: 18px;
  55. line-height: 1;
  56. letter-spacing: 0.3px;
  57. padding: 15px;
  58. &-line {
  59. background-color: #fff;
  60. color: $blue;
  61. font-weight: 700;
  62. &:not([href]) {
  63. color: $blue;
  64. }
  65. &:not([href]):hover {
  66. color: $blue;
  67. }
  68. }
  69. &-fb {
  70. background-color: $blue;
  71. color: #FFEFBE;
  72. font-weight: 500;
  73. &:not([href]) {
  74. color: #FFEFBE;
  75. }
  76. &:not([href]):hover {
  77. color: #FFEFBE;
  78. }
  79. }
  80. }
  81. }