index.css 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. html, body{
  2. margin: 0;
  3. background: rgba(1, 193, 181, 1);
  4. min-height: 100vh;
  5. background-image: url('./icons/header.png');
  6. background-size: contain;
  7. background-position: top center;
  8. background-repeat: no-repeat;
  9. font-family: PingFangSC-Regular, PingFang SC;
  10. overflow-x: hidden;
  11. }
  12. :root{
  13. --plyr-color-main: #01c1b5;
  14. --plyr-font-size-base: 30px;
  15. --plyr-control-icon-size: 36px;
  16. --plyr-range-thumb-height: 26px;
  17. --plyr-control-spacing: 20px;
  18. --plyr-font-size-small: 26px;
  19. --plyr-video-background: transparent;
  20. }
  21. body{
  22. padding-top: 160rem;
  23. box-sizing: border-box;
  24. padding-bottom: 10rem;
  25. }
  26. .content{
  27. box-sizing: border-box;
  28. width: 95%;
  29. background-color: #fff;
  30. border-radius: 10rem;
  31. padding: 22rem 24rem;
  32. margin: 0 2.5%;
  33. position: relative;
  34. /* overflow: hidden;
  35. border: none;
  36. box-shadow: none; */
  37. }
  38. .content .tag{
  39. position: absolute;
  40. top: -1rem;
  41. right: 23rem;
  42. width: 13rem;
  43. height: 22rem;
  44. background: url('./icons/tag.png') no-repeat center;
  45. background-size: contain;
  46. }
  47. .content .userinfo{
  48. display: flex;
  49. }
  50. .content .userinfo > img {
  51. display: block;
  52. width: 60rem;
  53. height: 60rem;
  54. margin-right: 15rem;
  55. border-radius: 50%;
  56. }
  57. .content .userinfo .cont {
  58. flex: 1;
  59. display: flex;
  60. flex-direction: column;
  61. justify-content: center;
  62. }
  63. .content .userinfo .cont > p {
  64. color: rgba(80, 80, 80, 1);
  65. font-size: 14rem;
  66. margin: 0;
  67. }
  68. .content .userinfo .cont > .name{
  69. font-size: 18rem;
  70. color: rgba(26, 26, 26, 1);
  71. }
  72. .content div.desc {
  73. color: rgba(128, 128, 128, 1);
  74. font-size: 14rem;
  75. line-height: 1.5;
  76. position: relative;
  77. margin: 0;
  78. margin-top: 20rem;
  79. margin-left: 20rem;
  80. }
  81. .content div.desc::before {
  82. content: "";
  83. background: url('./icons/dot.png') no-repeat center;
  84. background-size: contain;
  85. display: block;
  86. width: 6rem;
  87. height: 6rem;
  88. margin-right: 10rem;
  89. position: absolute;
  90. top: 6rem;
  91. left: -14rem;
  92. }
  93. .content .tit{
  94. font-size: 16rem;
  95. color: #000;
  96. }
  97. .content .info{
  98. font-size: 14rem;
  99. color: #808080;
  100. }
  101. .video-container{
  102. border-radius: 20rem;
  103. border: 4rem solid #F3F3F3;
  104. overflow: hidden;
  105. margin-top: 17rem;
  106. }
  107. .video{
  108. max-width: 100%;
  109. width: 289rem;
  110. margian: 0 auto;
  111. display: block;
  112. }
  113. .plyr__control--overlaid{
  114. background-color: rgba(0, 0, 0, .5)!important;
  115. }
  116. .plyr--stopped.plyr__poster-enabled .plyr__poster{
  117. background-color: #fff!important;
  118. background-size: 70%;
  119. }
  120. .line{
  121. margin-top: 21rem;
  122. width: 300rem;
  123. height: 2rem;
  124. border-top: 3rem dotted #01C1B5;
  125. position: relative;
  126. }
  127. .line::after,
  128. .line::before{
  129. content: "";
  130. display: block;
  131. position: absolute;
  132. width: 23rem;
  133. height: 23rem;
  134. border-radius: 100%;
  135. background-color: rgba(1, 193, 181, 1);
  136. z-index: 2;
  137. }
  138. .line::after{
  139. right: -46rem;
  140. top: -12rem;
  141. }
  142. .line::before{
  143. left: -38rem;
  144. top: -12rem;
  145. }
  146. .app{
  147. margin-top: 18rem;
  148. display: flex;
  149. justify-content: ;pace-between;
  150. }
  151. .app-info {
  152. padding: 10rem 0;
  153. display: flex;
  154. flex: 1;
  155. flex-direction: column;
  156. justify-content: space-around;
  157. }
  158. .app-title{
  159. color: rgba(80, 80, 80, 1);
  160. font-size: 18rem;
  161. font-weight: bold;
  162. }
  163. .app-desc{
  164. font-size: 16rem;
  165. color: rgba(80, 80, 80, 1);
  166. }
  167. .app-desc > span{
  168. color: rgba(1, 193, 181, 1);
  169. font-weight: bold;
  170. }
  171. .app-subtitle{
  172. font-size: 12rem;
  173. color: #fff;
  174. background: rgba(1, 193, 181, 1);
  175. height: 20rem;
  176. line-height: 20rem;
  177. border-radius: 10rem;
  178. padding-left: 5rem;
  179. display: inline-block;
  180. width: 170rem;
  181. font-weight: bold;
  182. }
  183. .app > img{
  184. width: 96rem;
  185. height: 96rem;
  186. }
  187. .video,
  188. .plyr__video-wrapper,
  189. .plyr,
  190. .plyr__poster,
  191. .plyr__video-wrapper{
  192. border-radius: 20rem;
  193. overflow: hidden;
  194. }
  195. .fraction{
  196. display: flex;
  197. margin: 10rem 0;
  198. margin-left: 20rem;
  199. }
  200. .fraction .item{
  201. display: flex;
  202. color: #01C1B5;
  203. font-size: 10rem;
  204. font-weight: bold;
  205. }
  206. .fraction .item .view{
  207. flex: 1;
  208. height: 16rem;
  209. width: 137rem;
  210. background: #F5F4F2;
  211. border-radius: 4rem;
  212. margin: 0 6rem;
  213. position: relative;
  214. }
  215. .fraction .item .view>span{
  216. display: block;
  217. flex: 1;
  218. height: 16rem;
  219. width: 0%;
  220. border-radius: 4rem;
  221. background: linear-gradient(90deg, #02E2DB 0%, #01C1B5 100%);
  222. position: absolute;
  223. top: 0;
  224. left: 0;
  225. }