playlist.css 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344
  1. /*reset*/
  2. *{
  3. margin: 0;
  4. padding: 0;
  5. box-sizing: border-box;
  6. }
  7. *::after{
  8. box-sizing: border-box;
  9. }
  10. *::before{
  11. box-sizing: border-box;
  12. }
  13. body{
  14. font-family: Helvetica, sans-serif;
  15. color: #333;
  16. }
  17. ol,ul{
  18. list-style: none;
  19. }
  20. a{
  21. color: inherit;
  22. text-decoration: none;
  23. }
  24. h1,h2,h3,h4,h5,h6{
  25. font-weight: normal;
  26. }
  27. .icon {
  28. width: 1em; height: 1em;
  29. vertical-align: -0.15em;
  30. fill: currentColor;
  31. overflow: hidden;
  32. }
  33. .noCollapse::before{
  34. content: '';
  35. display: table;
  36. }
  37. .noCollapse::after{
  38. content: "";
  39. display: table;
  40. }
  41. .line-clamp1{
  42. display: -webkit-box;
  43. -webkit-box-orient: vertical;
  44. -webkit-line-clamp: 1;
  45. overflow: hidden;
  46. }
  47. .line-clamp2{
  48. display: -webkit-box;
  49. -webkit-box-orient: vertical;
  50. -webkit-line-clamp: 2;
  51. overflow: hidden;
  52. }
  53. .line-clamp3{
  54. display: -webkit-box;
  55. -webkit-box-orient: vertical;
  56. -webkit-line-clamp: 3;
  57. overflow: hidden;
  58. }
  59. footer,
  60. .playlist-head .info .author {
  61. font-size: 0;
  62. }
  63. .page-wrapper {
  64. background: #f8f8f8;
  65. }
  66. .playlist-head {
  67. position: relative;
  68. display: flex;
  69. padding: .8rem .266666rem .8rem .4rem;
  70. overflow: hidden;
  71. color: #fff;
  72. }
  73. .playlist-head .background-wrapper {
  74. position: absolute;
  75. top: 0;
  76. right: 0;
  77. left: 0;
  78. bottom: 0;
  79. background: url(//oxwijsbmc.bkt.clouddn.com/playlist/3.jpg);
  80. background-position: 50%;
  81. background-repeat: no-repeat;
  82. background-size: cover;
  83. filter: blur(.533333rem);
  84. transform: scale(1.5);
  85. }
  86. .playlist-head .background-wrapper::after {
  87. content: "";
  88. position: absolute;
  89. top: 0;
  90. right: 0;
  91. left: 0;
  92. bottom: 0;
  93. background: rgba(0, 0, 0, 0.27);
  94. }
  95. .playlist-head .cover {
  96. width: 3.36rem;
  97. height: 3.36rem;
  98. position: relative;
  99. }
  100. .playlist-head .cover img {
  101. width: 100%;
  102. }
  103. .playlist-head .cover .list-number {
  104. height: .48rem;
  105. position: absolute;
  106. top: 0;
  107. left: 0;
  108. width: 100%;
  109. padding-right: 0.053333rem;
  110. background: rgba(0, 0, 0, 0.1);
  111. display: flex;
  112. flex-direction: row-reverse;
  113. font-size: .32rem;
  114. }
  115. .playlist-head .cover .list-number .icon-erji {
  116. font-size: .426666rem;
  117. order: 1;
  118. margin-right: 0.053333rem;
  119. }
  120. .playlist-head .cover .cover-icon {
  121. position: absolute;
  122. top: .266666rem;
  123. left: 0;
  124. font-size: .32rem;
  125. background-color: rgba(217, 48, 48, .8);
  126. padding: 0 .213333rem;
  127. border-top-right-radius: .693333rem;
  128. border-bottom-right-radius: .693333rem;
  129. line-height: 1.41666;
  130. z-index: 1;
  131. }
  132. .playlist-head .info {
  133. flex: 1;
  134. z-index: 1;
  135. margin-left: .426666rem;
  136. width: 5.54666rem;
  137. }
  138. .playlist-head .info h2 {
  139. padding-top: 1px;
  140. font-size: .453333rem;
  141. line-height: 1.3;
  142. height: 1.2rem;
  143. -webkit-box-pack: center;
  144. }
  145. .playlist-head .info .author {
  146. display: flex;
  147. align-items: center;
  148. margin-top: .533333rem;
  149. }
  150. .playlist-head .info .author .avatar {
  151. position: relative;
  152. width: .8rem;
  153. height: .8rem;
  154. margin-right: .133333rem;
  155. }
  156. .playlist-head .info .author .avatar img {
  157. width: 100%;
  158. border-radius: 50%;
  159. }
  160. .playlist-head .info .author .avatar .avatar-icon {
  161. width: .32rem;
  162. height: .666666rem;
  163. position: absolute;
  164. bottom: -.346666rem;
  165. right: -.133333rem;
  166. background: url(../img/usericn_2x.png);
  167. background-size: cover;
  168. background-position: -1.066666rem 0;
  169. background-repeat: no-repeat;
  170. }
  171. .playlist-head .info .author p {
  172. color: #d0cfcf;
  173. font-size: .373333rem;
  174. line-height: .373333rem;
  175. padding-bottom: 0.053333rem;
  176. }
  177. .playlist-info {
  178. font-size: .373333rem;
  179. color: #666;
  180. }
  181. .playlist-info .tag-list {
  182. padding: .266666rem .266666rem 0 .4rem;
  183. display: flex;
  184. }
  185. .playlist-info .tag-list .tags>span {
  186. font-size: .32rem;
  187. position: relative;
  188. padding: 0 .213333rem;
  189. line-height: 1.84;
  190. display: inline-block;
  191. margin-right: .16rem;
  192. }
  193. .playlist-info .tag-list .tags>span::after {
  194. content: "";
  195. position: absolute;
  196. top: 0;
  197. left: 0;
  198. width: 200%;
  199. height: 200%;
  200. border: 1px solid rgba(0, 0, 0, .1);
  201. border-radius: 1.066666rem;
  202. transform: scale(.5);
  203. transform-origin: 0 0;
  204. }
  205. .playlist-info .intro {
  206. padding: .266666rem .266666rem 0 .4rem;
  207. line-height: .506666rem;
  208. }
  209. .playlist-info .intro.active {
  210. height: 1.733333rem;
  211. display: -webkit-box;
  212. -webkit-box-orient: vertical;
  213. -webkit-line-clamp: 3;
  214. overflow: hidden;
  215. }
  216. .playlist-info .arrow {
  217. font-size: .32rem;
  218. text-align: right;
  219. padding: 1px .293333rem .08rem 0;
  220. }
  221. .playlist-info .arrow .icon-arrow-up {
  222. display: none;
  223. }
  224. .playlist-content {
  225. margin-bottom: 1.44rem;
  226. }
  227. .playlist-content .list>h3 {
  228. font-size: .32rem;
  229. padding: 0.053333rem .266666rem .133333rem;
  230. background: #eeeff0;
  231. color: #666;
  232. }
  233. .playlist-content .list li a {
  234. display: flex;
  235. }
  236. .playlist-content .list li .list-content-wrapper {
  237. display: flex;
  238. flex: 1;
  239. padding-top: .17rem;
  240. padding-bottom: .1235rem;
  241. border-bottom: 1px solid #e5e5e5;
  242. }
  243. .playlist-content .list li .list-number {
  244. display: flex;
  245. justify-content: center;
  246. width: 1.066666rem;
  247. align-items: center;
  248. color: #999;
  249. font-size: .453333rem;
  250. padding-top: .01rem;
  251. }
  252. .playlist-content .list li .list-text {
  253. flex: 1;
  254. }
  255. .playlist-content .list li .list-text h3 {
  256. font-size: .453333rem;
  257. line-height: 1.5;
  258. }
  259. .playlist-content .list li .list-text p {
  260. font-size: .32rem;
  261. color: #888;
  262. line-height: 1.5;
  263. }
  264. .playlist-content .list li .icon-wrapper {
  265. padding: 0 .16rem;
  266. display: flex;
  267. align-items: center;
  268. }
  269. .playlist-content .list li .icon-play {
  270. width: .8rem;
  271. height: .8rem;
  272. fill: #aaa;
  273. }
  274. footer {
  275. position: fixed;
  276. bottom: 0;
  277. left: 0;
  278. width: 100%;
  279. padding: .186666rem .8rem;
  280. background: #fff;
  281. }
  282. footer>a {
  283. background: #d43b32;
  284. color: #fff;
  285. font-size: .426666rem;
  286. padding: .05rem 0 .25rem;
  287. display: inline-block;
  288. width: 100%;
  289. text-align: center;
  290. border-radius: .906666rem;
  291. }
  292. footer>a::before {
  293. content: "";
  294. display: inline-block;
  295. width: .58rem;
  296. height: .66rem;
  297. background: url(../img/logo.svg) no-repeat;
  298. background-size: contain;
  299. position: relative;
  300. top: .16rem;
  301. margin-right: .106666rem;
  302. }