novel.css 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354
  1. /* 头部吸顶 */
  2. .header {
  3. padding: 0 16px;
  4. padding-top: 0;
  5. background-color: #000;
  6. z-index: 1;
  7. }
  8. .loginBox {
  9. position: fixed;
  10. right: 0;
  11. top: 0;
  12. width: 100%;
  13. height: 100%;
  14. z-index: 9;
  15. background-color: rgba(0, 0, 0, .7);
  16. display: none;
  17. }
  18. .loginCenterBox {
  19. position: fixed;
  20. top: 50%;
  21. left: 50%;
  22. transform: translate(-50%,-50%);
  23. background-color: #262626;
  24. border-radius: 12px;
  25. display: flex;
  26. flex-direction: column;
  27. /* justify-content: center; */
  28. align-items: center;
  29. width: 7rem;
  30. height: 4.5rem;
  31. }
  32. .accountRightText {
  33. background-color: #333333;
  34. border-radius: 15px;
  35. width: 6.46rem;
  36. height: 1.1rem;
  37. line-height: 1.1rem;
  38. font-size: .32rem;
  39. text-align: center;
  40. margin-top: .6rem;
  41. color: #fff;
  42. }
  43. #login {
  44. margin-top: .26rem;
  45. }
  46. .guanbi {
  47. width: .5rem;
  48. height: .5rem;
  49. margin-top: .62rem;
  50. }
  51. /* 账户信息 */
  52. .account {
  53. display: flex;
  54. justify-content: space-between;
  55. align-items: center;
  56. /* height: .88rem; */
  57. height: 44px;
  58. }
  59. .accountLeft {
  60. display: flex;
  61. justify-content: center;
  62. align-items: center;
  63. height: 100%;
  64. }
  65. .logo {
  66. width: 80px;
  67. height: 40px;
  68. }
  69. .accountRight {
  70. }
  71. .userImg {
  72. width: 20px;
  73. height: 22px;
  74. }
  75. /* 导航分类 */
  76. .nav {
  77. margin-top: 15px;
  78. display: flex;
  79. justify-content: space-between;
  80. align-items: center;
  81. }
  82. .nav li{
  83. display: flex;
  84. flex-direction: column;
  85. justify-content: center;
  86. align-items: center;
  87. }
  88. .nav li img {
  89. width: 20px;
  90. height: 20px;
  91. }
  92. .navText {
  93. margin-top: 10px;
  94. text-align: center;
  95. }
  96. /* 搜索 */
  97. .search {
  98. margin-top: 20px;
  99. display: flex;
  100. justify-content: space-between;
  101. align-items: center;
  102. height: 45px;
  103. border-radius: 22.5px;
  104. background-color: #2F2F2F;
  105. }
  106. .searchLeft {
  107. display: flex;
  108. justify-content: center;
  109. align-items: center;
  110. width: 80px;
  111. }
  112. .searchImg {
  113. width: 20px;
  114. height: 20px;
  115. }
  116. .searchInput {
  117. background-color: #2f2f2f;
  118. border: none;
  119. outline: none;
  120. resize: none;
  121. height: 100%;
  122. line-height: 100%;
  123. width: 100%;
  124. color: #fff;
  125. text-align: left;
  126. }
  127. .searchBtn {
  128. text-align: center;
  129. width: 130px;
  130. height: 50px;
  131. line-height: 50px;
  132. color: #EAEAEA;
  133. font-size: 16px;
  134. }
  135. /* 主要展示区 */
  136. .main {
  137. padding: 0 13px 1rem 13px;
  138. }
  139. /* 视频 */
  140. .videopage {
  141. }
  142. .video {
  143. padding-top: .3rem;
  144. }
  145. h2 {
  146. margin-top: 20px;
  147. height: 27px;
  148. line-height: 27px;
  149. }
  150. /* 单条视频 */
  151. .videoContent {
  152. background-color: #1C1A1B;
  153. height: 98px;
  154. margin-bottom: 10px;
  155. border-radius: 5px;
  156. }
  157. .videoTitle {
  158. text-align: left;
  159. font-size: .3rem;
  160. padding: .2rem .3rem 0 .3rem;
  161. white-space: nowrap;
  162. /* //文本超出隐藏 */
  163. overflow: hidden;
  164. /* //文本超出省略号替代 */
  165. text-overflow: ellipsis;
  166. }
  167. .contentText {
  168. margin: 3px .3rem;
  169. white-space: nowrap;
  170. /* //文本超出隐藏 */
  171. overflow: hidden;
  172. /* //文本超出省略号替代 */
  173. text-overflow: ellipsis;
  174. font-size: .28rem;
  175. }
  176. .videoData {
  177. display: flex;
  178. align-items: center;
  179. margin: .2rem .3rem 0 .3rem;
  180. }
  181. .videoDataLeft {
  182. display: flex;
  183. align-items: center;
  184. margin-right: .1rem;
  185. }
  186. .videoDataImgLook {
  187. width:.3rem;
  188. height: .2rem;
  189. }
  190. .videoDataImgZan {
  191. width:.28rem;
  192. height: .3rem;
  193. }
  194. .videoText {
  195. margin-left: .1rem;
  196. font-size: .24rem;
  197. }
  198. .videoDataRgiht {
  199. display: flex;
  200. align-items: center;
  201. margin-left: 30px;
  202. }
  203. /* 热门标签 */
  204. .labelpage{
  205. display: none;
  206. padding-top: .3rem;
  207. }
  208. .hotLabel {
  209. /* text-align: center; */
  210. /* display: grid; */
  211. /* // 设置网格布局 */
  212. /* grid-template-columns: 1fr 1fr 1fr 1fr 1fr; */
  213. /* // 列的比例分布,分成三例,每列占比总宽度的1/3 */
  214. /* grid-gap: .08rem; */
  215. /* // 各网格间距为10px */
  216. /* padding-bottom: .12rem; */
  217. display: flex;
  218. flex-wrap: wrap;
  219. }
  220. .label {
  221. margin-right: .12rem;
  222. margin-bottom: .12rem;
  223. /* width: 1.32rem; */
  224. padding: .2rem .2rem;
  225. border-radius: .2rem;
  226. /* height: 1rem; */
  227. background-color: #262626;
  228. font-size: .28rem;
  229. text-align: center;
  230. }
  231. .backToTop {
  232. position: fixed;
  233. bottom: 1.3rem;
  234. right: .3rem;
  235. width: .68rem;
  236. height: .68rem;
  237. display: none;
  238. }
  239. .backToTopImg {
  240. width: 100%;
  241. height: 100%;
  242. opacity: .5;
  243. }
  244. button {
  245. display: inline-block;
  246. padding: 6px 12px;
  247. font-weight: 400;
  248. line-height: 1.42857143;
  249. text-align: center;
  250. vertical-align: middle;
  251. cursor: pointer;
  252. border: 1px solid transparent;
  253. border-radius: 4px;
  254. border-color: #28a4c9;
  255. color: #fff;
  256. background-color: #5bc0de;
  257. margin: 20px 20px 0 0;
  258. }
  259. .box {
  260. width: 100%;
  261. padding-bottom: 20px;
  262. height: 80px;
  263. }
  264. .page {
  265. width: 100%;
  266. }
  267. .info {
  268. width: 200px;
  269. height: 34px;
  270. line-height: 34px;
  271. }
  272. .fl {
  273. float: left;
  274. }
  275. /* 底部标签栏 */
  276. .tabbar {
  277. position: fixed;
  278. bottom: 0;
  279. left: 0;
  280. height: .88rem;
  281. width: 100%;
  282. padding-top: .12rem;
  283. background-color: #000;
  284. z-index: 1;
  285. font-size: .24rem;
  286. }
  287. .currentTab {
  288. display: block;
  289. color: #CE5C2A;
  290. }
  291. .tabbar li {
  292. list-style: none;
  293. display: flex;
  294. flex-direction: column;
  295. justify-content: center;
  296. align-items: center;
  297. float: left;
  298. width: 33.33%;
  299. text-align: center;
  300. }
  301. .tabbar li img {
  302. width: .36rem;
  303. height: .36rem;
  304. margin-bottom: .12rem;
  305. }
  306. .tip {
  307. width: 6rem;
  308. height: 1rem;
  309. color: #fff;
  310. position: fixed;
  311. top: 50%;
  312. left: 50%;
  313. transform: translate(-50%,-50%);
  314. display: none;
  315. }
  316. .textwrap {
  317. display: flex;
  318. justify-content: center;
  319. align-items: center;
  320. }
  321. .tiptext {
  322. background-color: #000;
  323. border-radius: .1rem;
  324. text-align: center;
  325. padding: .1rem .2rem;
  326. }