index.css 3.4 KB

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