styles.module.scss 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. $bg:"./../../assets/bindPrompt/bg.png";
  2. $btn:"./../../assets/bindPrompt/btn.png";
  3. .continer{
  4. display: flex;
  5. flex-direction: column;
  6. align-items: center;
  7. justify-content: center;
  8. width: 100%;
  9. height: 100%;
  10. padding: 1rem;
  11. pointer-events: none;
  12. position: relative;
  13. }
  14. .bind_con{
  15. display: flex;
  16. flex-direction: column;
  17. width: 100%;
  18. max-width: 25.875rem;
  19. background: url($bg);
  20. aspect-ratio: 773/497;
  21. background-size: 100% 100%;
  22. pointer-events: auto;
  23. align-items: center;
  24. justify-content: space-between;
  25. & .content{
  26. display: flex;
  27. flex-direction: column;
  28. width: 100%;
  29. align-items: center;
  30. padding: 1.8rem 1rem 0rem 4rem;
  31. transform: rotate(-6deg);
  32. gap: 0.75rem;
  33. & .title{
  34. color: #6a005e;
  35. font-weight: bold;
  36. font-size: 1.1rem;
  37. }
  38. & .reward{
  39. color: #3244c3;
  40. font-weight: bold;
  41. font-size: 2.3rem;
  42. }
  43. & .des{
  44. color: #6a005e;
  45. padding: 0rem 2.5rem;
  46. font-size: 0.8rem;
  47. line-height: 1rem;
  48. }
  49. & .btn_now{
  50. display: flex;
  51. flex-direction: row;
  52. align-items: center;
  53. justify-content: center;
  54. background: url($btn);
  55. width: 50%;
  56. aspect-ratio: 248/85;
  57. background-size: 100% 100%;
  58. transform: rotate(5.5deg);
  59. margin-top: -1rem;
  60. img{
  61. transform: rotate(-5.5deg);
  62. height: 30%;
  63. width: auto;
  64. }
  65. }
  66. }
  67. & .tips{
  68. display: flex;
  69. flex-direction: row;
  70. align-items: center;
  71. justify-content: center;
  72. padding: 0.4rem 1rem 1.8rem 4rem;
  73. color: #fff;
  74. transform: rotate(-6deg);
  75. line-height: 0.8rem;
  76. font-size: 0.5rem;
  77. }
  78. }