index.less 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. @charset "utf-8";
  2. #course-main {
  3. .block-1 {
  4. height: 400px;
  5. background: #fff;
  6. .body {
  7. width: 1200px;
  8. height: 480px;
  9. margin: 0 auto;
  10. transform: translateY(100px);
  11. text-align: center;
  12. background: #eee;
  13. position: relative;
  14. .main-title {
  15. font-size: 70px;
  16. font-weight: 600;
  17. margin-bottom: 80px;
  18. color: #fff;
  19. }
  20. .btn-list {
  21. position: absolute;
  22. top: 290px;
  23. left: 50%;
  24. transform: translateX(-50%);
  25. .button {
  26. margin: 0 20px;
  27. font-weight: 600;
  28. font-size: 16px;
  29. }
  30. }
  31. }
  32. }
  33. .block-2 {
  34. text-align: center;
  35. padding-top: 250px;
  36. background: #6865FDFF;
  37. overflow: hidden;
  38. .main-title {
  39. color: #fff;
  40. font-size: 56px;
  41. font-weight: 600;
  42. margin-bottom: 40px;
  43. }
  44. .video-list {
  45. margin-bottom: 80px;
  46. .video-div {
  47. display: inline-block;
  48. width: 580px;
  49. height: 360px;
  50. margin: 0 20px;
  51. position: relative;
  52. background: #eee;
  53. .play {
  54. position: absolute;
  55. top: 50%;
  56. left: 50%;
  57. transform: translate(-50%, -50%);
  58. }
  59. .name {
  60. position: absolute;
  61. bottom: 10px;
  62. right: 20px;
  63. color: #fff;
  64. font-size: 20px;
  65. font-weight: 600;
  66. line-height: 24px;
  67. cursor: pointer;
  68. border-bottom: 1px solid transparent;
  69. }
  70. .name:hover {
  71. border-bottom: 1px solid #fff;
  72. }
  73. }
  74. }
  75. .class-list {
  76. margin-bottom: 80px;
  77. .class-item {
  78. vertical-align: top;
  79. display: inline-block;
  80. width: 380px;
  81. margin: 0 15px;
  82. padding: 30px;
  83. background: #fff;
  84. position: relative;
  85. text-align: left;
  86. .new {
  87. position: absolute;
  88. right: 0;
  89. top: 0;
  90. }
  91. }
  92. }
  93. }
  94. .block-4 {
  95. background: #fff;
  96. text-align: center;
  97. padding-top: 100px;
  98. .main-title {
  99. font-size: 48px;
  100. font-weight: 600;
  101. color: #303139FF;
  102. margin-bottom: 40px;
  103. }
  104. .list {
  105. .item {
  106. width: 380px;
  107. background: rgba(255, 255, 255, 1);
  108. box-shadow: 0px 32px 44px 0px rgba(156, 183, 223, 0.14), 0px 15px 28px 0px rgba(0, 0, 0, 0.01);
  109. border-radius: 2px;
  110. padding: 30px;
  111. display: inline-block;
  112. margin: 0 15px;
  113. text-align: left;
  114. vertical-align: top;
  115. }
  116. }
  117. }
  118. .block-5 {}
  119. .block-6 {}
  120. .other-answer-carousel {
  121. padding-top: 40px;
  122. }
  123. }