style.css 24 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327
  1. @charset "UTF-8";
  2. /*全局*/
  3. * {
  4. margin: 0;
  5. padding: 0;
  6. box-sizing: border-box;
  7. }
  8. a:hover,
  9. a:focus {
  10. color: #1e9fff;
  11. }
  12. html,
  13. body {
  14. height: 100%;
  15. }
  16. body {
  17. background: #f5f5f5;
  18. display: flex;
  19. flex-direction: column;
  20. }
  21. .body {
  22. padding-top: 80px;
  23. }
  24. .layui-container {
  25. max-width: 1200px;
  26. }
  27. .layui-input:focus,
  28. .layui-textarea:focus {
  29. border-color: #1e9fff !important;
  30. }
  31. .layui-card-footer {
  32. position: relative;
  33. padding: 10px 15px;
  34. border-top: 1px solid #f8f8f8;
  35. color: #333;
  36. border-radius: 0 0 2px 2px;
  37. font-size: 14px;
  38. }
  39. .no-data {
  40. margin-top: 20px;
  41. margin-bottom: 20px;
  42. position: relative;
  43. display: flex;
  44. align-items: center;
  45. justify-content: center;
  46. text-align: center;
  47. font-size: 16px;
  48. line-height: 30px;
  49. color: #666;
  50. }
  51. .no-data::before,
  52. .no-data::after {
  53. content: "";
  54. display: inline-block;
  55. width: 10px;
  56. height: 1px;
  57. background-color: #ccc;
  58. margin: 0 10px;
  59. }
  60. .load-more {
  61. margin-bottom: 10px;
  62. }
  63. .load-more .layui-btn {
  64. min-width: 90px;
  65. }
  66. /*公用*/
  67. .text-center {
  68. text-align: center !important;
  69. }
  70. .d-flex {
  71. display: flex !important;
  72. }
  73. .flex-wrap {
  74. flex-wrap: wrap !important;
  75. }
  76. .justify-content-between {
  77. justify-content: space-between !important;
  78. }
  79. .justify-content-center {
  80. justify-content: center !important;
  81. }
  82. .align-items-center {
  83. align-items: center !important;
  84. }
  85. .justify-content-center {
  86. justify-content: center !important;
  87. }
  88. .justify-content-end {
  89. justify-content: flex-end !important;
  90. }
  91. .flex-column {
  92. flex-direction: column !important;
  93. }
  94. .clearfix:before,
  95. .clearfix:after {
  96. content: " ";
  97. display: table;
  98. }
  99. .clearfix:after {
  100. clear: both;
  101. }
  102. .text-ellipsis-1,
  103. .text-ellipsis-2 {
  104. display: -webkit-box;
  105. -webkit-box-orient: vertical;
  106. -webkit-line-clamp: 1;
  107. overflow: hidden;
  108. white-space: normal;
  109. }
  110. .text-ellipsis-2 {
  111. -webkit-line-clamp: 2;
  112. }
  113. .meta-dot {
  114. display: inline-block;
  115. width: 3px;
  116. height: 3px;
  117. background-color: #999;
  118. border-radius: 50%;
  119. margin: 0 8px;
  120. }
  121. .mh270 {
  122. min-height: 270px;
  123. }
  124. /*头部*/
  125. .fly-header .layui-nav-left {
  126. margin-left: 20px;
  127. float: left !important;
  128. }
  129. .fly-header .layui-input {
  130. border-radius: 2px 0 0 2px;
  131. border: 1px solid #e0e0e0;
  132. }
  133. .fly-header .layui-input-wrap {
  134. max-width: 180px;
  135. }
  136. /*主体*/
  137. .fly-main {
  138. flex-grow: 1;
  139. padding-bottom: 20px;
  140. }
  141. /*卡片*/
  142. .layui-card-header h3 {
  143. font-weight: 500;
  144. font-size: 16px;
  145. }
  146. .layui-card-header .nav a {
  147. color: #666;
  148. margin-left: 10px;
  149. font-size: 14px
  150. }
  151. .layui-card-header .nav a.active {
  152. color: #1e9fff;
  153. }
  154. .layui-card-header a.more {
  155. color: #666;
  156. font-size: 14px
  157. }
  158. /*首页banner*/
  159. #home-banner {
  160. margin-bottom: 15px;
  161. }
  162. #home-banner div[carousel-item]>* {
  163. text-align: center;
  164. line-height: 280px;
  165. color: #fff;
  166. }
  167. #home-banner div[carousel-item]>*:nth-child(2n) {
  168. background-color: #16b777;
  169. }
  170. #home-banner div[carousel-item]>*:nth-child(2n+1) {
  171. background-color: #16baaa;
  172. }
  173. /*内页banner*/
  174. .page-banner {
  175. background:#ababab;
  176. height: 180px;
  177. width: 100%;
  178. margin-bottom: 15px;
  179. border-radius: 5px;
  180. position: relative;
  181. overflow: hidden;
  182. }
  183. .page-banner h2 {
  184. color: #fff;
  185. font-size: 24px;
  186. font-weight: normal;
  187. margin-bottom: 6px;
  188. }
  189. .page-banner p {
  190. color: #fff;
  191. font-size: 16px;
  192. }
  193. /*下载列表*/
  194. .download-list {}
  195. .download-list li {}
  196. .download-list .download-box {
  197. padding-top: 30px;
  198. border: 1px solid #f1f1f1;
  199. border-radius: 5px;
  200. }
  201. .download-list .download-thumb {
  202. margin: 0 auto;
  203. width: 110px;
  204. height: 100px;
  205. background-color: #f0f2f5;
  206. border-radius: 4px;
  207. flex-shrink: 0;
  208. color: #999;
  209. font-size: 14px;
  210. }
  211. .download-list .download-info h3 {
  212. font-weight: 500;
  213. margin-top: 8px;
  214. }
  215. .download-list .download-title a {
  216. font-size: 16px;
  217. line-height: 2;
  218. color: #999;
  219. }
  220. .download-list .download-item .layui-btn {
  221. margin-top: 5px;
  222. min-width: 60px;
  223. }
  224. /*文章列表*/
  225. .article-list {}
  226. .article-list .article-item-card {
  227. margin-bottom: 15px;
  228. padding-bottom: 15px;
  229. border-bottom: 1px solid #f5f5f5;
  230. }
  231. .article-list .article-item-list {
  232. line-height: 30px;
  233. margin-bottom: 5px;
  234. }
  235. .article-list .article-item-list a {
  236. width: calc(100% - 100px);
  237. overflow: hidden;
  238. text-overflow: ellipsis;
  239. white-space: nowrap;
  240. }
  241. .article-list .article-item-list a i {
  242. color: #9ca0ad;
  243. }
  244. .article-list .article-item-list span {
  245. color: #9ca0ad;
  246. font-size: 12px;
  247. }
  248. .article-list .article-thumb {
  249. width: 110px;
  250. height: 100px;
  251. background-color: #f0f2f5;
  252. border-radius: 4px;
  253. margin-right: 15px;
  254. flex-shrink: 0;
  255. color: #999;
  256. font-size: 14px;
  257. }
  258. .article-list .article-thumb img {
  259. width: 100% !important;
  260. height: 100% !important;
  261. }
  262. .article-list .article-info {
  263. flex: 1;
  264. }
  265. .article-list .article-title {
  266. font-weight: 500;
  267. font-size: 16px;
  268. margin-bottom: 5px;
  269. overflow: hidden;
  270. text-overflow: ellipsis;
  271. -webkit-box-orient: vertical;
  272. display: -webkit-box;
  273. -webkit-line-clamp: 1;
  274. }
  275. .article-list .article-title a {
  276. text-decoration: none;
  277. color: #333;
  278. }
  279. .article-list .article-title a:hover {
  280. color: #1a73e8;
  281. }
  282. .article-list .article-meta {
  283. font-size: 12px;
  284. color: #999;
  285. }
  286. .article-list .article-abstract {
  287. font-size: 14px;
  288. color: #666;
  289. margin-top: 5px;
  290. line-height: 1.4;
  291. }
  292. /*产品列表*/
  293. .product-list {}
  294. .product-list .product-item {
  295. border: 1px solid #f1f1f1;
  296. border-radius: 6px;
  297. }
  298. .product-list .product-img {
  299. font-size: 18px;
  300. height: 150px;
  301. background: #f0f2f5;
  302. border-radius: 4px;
  303. margin-bottom: 10px;
  304. color: #999;
  305. }
  306. .product-list .product-info {
  307. padding: 10px;
  308. }
  309. .product-list .product-name {
  310. font-size: 15px;
  311. line-height: 1.5;
  312. margin-bottom: 8px;
  313. }
  314. .product-list .product-abstract {
  315. margin-bottom: 8px;
  316. font-size: 12px;
  317. color: #666;
  318. line-height: 1.4;
  319. }
  320. .product-list .product-meta {
  321. font-size: 12px;
  322. color: #999;
  323. }
  324. /*右侧推荐资讯样式*/
  325. .recommend-list {
  326. list-style: none;
  327. }
  328. .recommend-list .recommend-item {
  329. margin-bottom: 10px;
  330. padding-bottom: 10px;
  331. border-bottom: 1px solid #f5f5f5;
  332. }
  333. .recommend-list .recommend-item:last-child {
  334. border-bottom: none;
  335. margin-bottom: 0;
  336. padding-bottom: 0;
  337. }
  338. .recommend-list .recommend-number {
  339. width: 24px;
  340. height: 24px;
  341. background-color: #ff6b35;
  342. color: white;
  343. border-radius: 50%;
  344. border-top-right-radius: 0 !important;
  345. font-size: 12px;
  346. font-weight: bold;
  347. margin-right: 12px;
  348. flex-shrink: 0;
  349. }
  350. .recommend-list .recommend-item:nth-child(n+4) .recommend-number {
  351. background-color: #999999;
  352. }
  353. .recommend-list .recommend-content {
  354. flex: 1;
  355. }
  356. .recommend-list .recommend-title {
  357. font-weight: 500;
  358. font-size: 14px;
  359. line-height: 1.4;
  360. overflow: hidden;
  361. text-overflow: ellipsis;
  362. -webkit-box-orient: vertical;
  363. display: -webkit-box;
  364. -webkit-line-clamp: 1;
  365. }
  366. /*右侧下载列表*/
  367. .down-ul {}
  368. .down-ul .down-info {
  369. flex: 1;
  370. }
  371. .down-ul .down-title {
  372. font-weight: 500;
  373. font-size: 16px;
  374. margin-bottom: 5px;
  375. overflow: hidden;
  376. text-overflow: ellipsis;
  377. -webkit-box-orient: vertical;
  378. display: -webkit-box;
  379. -webkit-line-clamp: 1;
  380. }
  381. .down-ul .down-item {
  382. position: relative;
  383. margin-bottom: 10px;
  384. padding-bottom: 10px;
  385. border-bottom: 1px solid #f5f5f5;
  386. }
  387. .down-ul .down-item .layui-btn {
  388. position: absolute;
  389. right: 0;
  390. top: 10px;
  391. }
  392. .down-ul .down-title a {
  393. text-decoration: none;
  394. color: #333;
  395. }
  396. .down-ul .down-meta {
  397. font-size: 12px;
  398. color: #999;
  399. }
  400. /*tags*/
  401. .tag-cloud {
  402. gap: 8px;
  403. }
  404. .tag-cloud-list {
  405. gap: 10px;
  406. }
  407. .tag-cloud-list .tag {
  408. position: relative;
  409. font-size: 14px;
  410. padding: 52px 40px 12px 15px;
  411. width: calc(100% / 5 - 24px);
  412. display: inline-block;
  413. vertical-align: top;
  414. margin: 10px 10px;
  415. overflow: hidden;
  416. }
  417. .tag-cloud-list .tag h2 {
  418. font-size: 14px;
  419. font-weight: 500;
  420. overflow: hidden;
  421. text-overflow: ellipsis;
  422. white-space: nowrap;
  423. -webkit-transition: all 0.3s ease-in-out;
  424. -moz-transition: all 0.3s ease-in-out;
  425. transition: all 0.3s ease-in-out;
  426. }
  427. .tag-cloud-list .tag .count {
  428. font-size: 38px;
  429. opacity: .5;
  430. position: absolute;
  431. bottom: 10px;
  432. right: 15px;
  433. line-height: 1;
  434. font-style: italic;
  435. color: #d5d4d4;
  436. -webkit-transition: all 0.3s ease-in-out;
  437. -moz-transition: all 0.3s ease-in-out;
  438. transition: all 0.3s ease-in-out;
  439. }
  440. .tag-cloud-list .tag:hover .count {
  441. right: 20px;
  442. bottom: -20%;
  443. opacity: .3;
  444. }
  445. .tag-cloud-list .tag:before {
  446. content: "";
  447. }
  448. .tag-cloud-list .tag i {
  449. background-color: red;
  450. width: 26px;
  451. height: 26px;
  452. line-height: 26px;
  453. text-align: center;
  454. border-radius: 3px;
  455. position: absolute;
  456. top: 15px;
  457. left: 15px;
  458. opacity: .35;
  459. color: #fff;
  460. -webkit-transition: all 0.3s ease-in-out;
  461. -moz-transition: all 0.3s ease-in-out;
  462. transition: all 0.3s ease-in-out;
  463. }
  464. .tag-cloud-list .tag:nth-child(30n+1) i,
  465. .tag-cloud-list .tag:nth-child(30n+1):hover {
  466. background-color: #1F6CC0;
  467. }
  468. .tag-cloud-list .tag:nth-child(30n+2) i,
  469. .tag-cloud-list .tag:nth-child(30n+2):hover {
  470. background-color: #DD578D;
  471. }
  472. .tag-cloud-list .tag:nth-child(30n+3) i,
  473. .tag-cloud-list .tag:nth-child(30n+3):hover {
  474. background-color: #EAA156;
  475. }
  476. .tag-cloud-list .tag:nth-child(30n+4) i,
  477. .tag-cloud-list .tag:nth-child(30n+4):hover {
  478. background-color: #8D94C1;
  479. }
  480. .tag-cloud-list .tag:nth-child(30n+5) i,
  481. .tag-cloud-list .tag:nth-child(30n+5):hover {
  482. background-color: #7A7E8C;
  483. }
  484. .tag-cloud-list .tag:nth-child(30n+6) i,
  485. .tag-cloud-list .tag:nth-child(30n+6):hover {
  486. background-color: #AF49AB;
  487. }
  488. .tag-cloud-list .tag:nth-child(30n+7) i,
  489. .tag-cloud-list .tag:nth-child(30n+7):hover {
  490. background-color: #DF3F46;
  491. }
  492. .tag-cloud-list .tag:nth-child(30n+8) i,
  493. .tag-cloud-list .tag:nth-child(30n+8):hover {
  494. background-color: #AF49AB;
  495. }
  496. .tag-cloud-list .tag:nth-child(30n+9) i,
  497. .tag-cloud-list .tag:nth-child(30n+9):hover {
  498. background-color: #8474A1;
  499. }
  500. .tag-cloud-list .tag:nth-child(30n+10) i,
  501. .tag-cloud-list .tag:nth-child(30n+10):hover {
  502. background-color: #08979D;
  503. }
  504. .tag-cloud-list .tag:nth-child(30n+11) i,
  505. .tag-cloud-list .tag:nth-child(30n+11):hover {
  506. background-color: #EB6763;
  507. }
  508. .tag-cloud-list .tag:nth-child(30n+12) i,
  509. .tag-cloud-list .tag:nth-child(30n+12):hover {
  510. background-color: #FC6B05;
  511. }
  512. .tag-cloud-list .tag:nth-child(30n+13) i,
  513. .tag-cloud-list .tag:nth-child(30n+13):hover {
  514. background-color: #23AA8F;
  515. }
  516. .tag-cloud-list .tag:nth-child(30n+14) i,
  517. .tag-cloud-list .tag:nth-child(30n+14):hover {
  518. background-color: #658FC0;
  519. }
  520. .tag-cloud-list .tag:nth-child(30n+15) i,
  521. .tag-cloud-list .tag:nth-child(30n+15):hover {
  522. background-color: #7FACD6;
  523. }
  524. .tag-cloud-list .tag:nth-child(30n+16) i,
  525. .tag-cloud-list .tag:nth-child(30n+16):hover {
  526. background-color: #85CBCC;
  527. }
  528. .tag-cloud-list .tag:nth-child(30n+17) i,
  529. .tag-cloud-list .tag:nth-child(30n+17):hover {
  530. background-color: #888d67;
  531. }
  532. .tag-cloud-list .tag:nth-child(30n+18) i,
  533. .tag-cloud-list .tag:nth-child(30n+18):hover {
  534. background-color: #7f746e;
  535. }
  536. .tag-cloud-list .tag:nth-child(30n+19) i,
  537. .tag-cloud-list .tag:nth-child(30n+19):hover {
  538. background-color: #9b604d;
  539. }
  540. .tag-cloud-list .tag:nth-child(30n+20) i,
  541. .tag-cloud-list .tag:nth-child(30n+20):hover {
  542. background-color: #9b4d74;
  543. }
  544. .tag-cloud-list .tag:nth-child(30n+21) i,
  545. .tag-cloud-list .tag:nth-child(30n+21):hover {
  546. background-color: #8d7be0;
  547. }
  548. .tag-cloud-list .tag:nth-child(30n+22) i,
  549. .tag-cloud-list .tag:nth-child(30n+22):hover {
  550. background-color: #939395;
  551. }
  552. .tag-cloud-list .tag:nth-child(30n+23) i,
  553. .tag-cloud-list .tag:nth-child(30n+23):hover {
  554. background-color: #18BBD9;
  555. }
  556. .tag-cloud-list .tag:nth-child(30n+24) i,
  557. .tag-cloud-list .tag:nth-child(30n+24):hover {
  558. background-color: #8DAFFC;
  559. }
  560. .tag-cloud-list .tag:nth-child(30n+25) i,
  561. .tag-cloud-list .tag:nth-child(30n+25):hover {
  562. background-color: #f768b8;
  563. }
  564. .tag-cloud-list .tag:nth-child(30n+26) i,
  565. .tag-cloud-list .tag:nth-child(30n+26):hover {
  566. background-color: #5AA7A7;
  567. }
  568. .tag-cloud-list .tag:nth-child(30n+27) i,
  569. .tag-cloud-list .tag:nth-child(30n+27):hover {
  570. background-color: #8AC9A4;
  571. }
  572. .tag-cloud-list .tag:nth-child(30n+28) i,
  573. .tag-cloud-list .tag:nth-child(30n+28):hover {
  574. background-color: #0181BB;
  575. }
  576. .tag-cloud-list .tag:nth-child(30n+29) i,
  577. .tag-cloud-list .tag:nth-child(30n+29):hover {
  578. background-color: #F96191;
  579. }
  580. .tag-cloud-list .tag:nth-child(30n+30) i,
  581. .tag-cloud-list .tag:nth-child(30n+30):hover {
  582. background-color: #81cedf;
  583. }
  584. .tag {
  585. background: #f0f2f5;
  586. padding: 3px 7px;
  587. border-radius: 3px;
  588. font-size: 12px;
  589. color: #666;
  590. text-decoration: none;
  591. display: inline-block;
  592. transition: background-color 0.3s, color 0.3s;
  593. }
  594. .tag:hover {
  595. background-color: #1a73e8;
  596. color: white;
  597. }
  598. .tag:before {
  599. content: "# ";
  600. }
  601. /*右侧广告位*/
  602. .ad-container {
  603. background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  604. border-radius: 8px;
  605. padding: 20px;
  606. margin-bottom: 15px;
  607. text-align: center;
  608. color: white;
  609. position: relative;
  610. overflow: hidden;
  611. }
  612. .ad-container .ad-badge {
  613. position: absolute;
  614. top: 10px;
  615. right: 10px;
  616. background: rgba(255, 255, 255, 0.2);
  617. color: white;
  618. padding: 2px 5px;
  619. border-radius: 4px;
  620. font-size: 12px;
  621. }
  622. .ad-container .ad-title {
  623. font-size: 16px;
  624. font-weight: bold;
  625. margin-bottom: 10px;
  626. }
  627. .ad-container .ad-content {
  628. font-size: 14px;
  629. margin-bottom: 15px;
  630. opacity: 0.9;
  631. }
  632. .ad-container .ad-button {
  633. background: white;
  634. color: #667eea;
  635. font-weight: bold;
  636. transition: all 0.3s;
  637. }
  638. .ad-container .ad-button:hover {
  639. border-color: #f8f9fa;
  640. background: #f8f9fa;
  641. transform: translateY(-2px);
  642. }
  643. /*内页轮播*/
  644. .carousel-main {
  645. gap: 20px;
  646. margin-bottom: 30px;
  647. }
  648. .carousel-main .carousel-box {
  649. position: relative;
  650. }
  651. .carousel-main .carousel-name {
  652. position: absolute;
  653. top: 15px;
  654. left: 15px;
  655. background: rgba(0, 0, 0, 0.3);
  656. color: white;
  657. padding: 5px 12px;
  658. border-radius: 4px;
  659. font-size: 14px;
  660. }
  661. .carousel-main .carousel-title {
  662. padding: 10px 15px;
  663. position: absolute;
  664. left: 0;
  665. right: 0;
  666. bottom: 0;
  667. color: #fff;
  668. background: rgba(0, 0, 0, 0.3);
  669. }
  670. .carousel-main .carousel-title h3 {
  671. font-size: 16px;
  672. margin-bottom: 5px;
  673. }
  674. .carousel-main .carousel-title p {
  675. font-size: 14px;
  676. line-height: 1.5;
  677. }
  678. .carousel-main .carousel-title h3 {
  679. font-weight: 500;
  680. }
  681. .carousel-main .carousel-container {
  682. flex: 1.5;
  683. height: 350px;
  684. position: relative;
  685. border-radius: 4px;
  686. overflow: hidden;
  687. }
  688. .carousel-main .carousel-thumb {
  689. width: 100%;
  690. line-height: 350px;
  691. background-color: #d3d6d9;
  692. color: #999;
  693. font-size: 32px;
  694. }
  695. .carousel-main .carousel-thumb img {
  696. width: 100% !important;
  697. height: 100% !important;
  698. }
  699. .side-grid {
  700. flex: 1;
  701. display: grid;
  702. grid-template-columns: repeat(2, 1fr);
  703. grid-template-rows: repeat(2, 1fr);
  704. gap: 10px;
  705. }
  706. .side-item {
  707. height: 100%;
  708. position: relative;
  709. border-radius: 4px;
  710. overflow: hidden;
  711. box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1);
  712. }
  713. .side-thumb {
  714. font-size: 16px;
  715. width: 100%;
  716. height: 100%;
  717. background-color: #d3d6d9;
  718. color: #999;
  719. }
  720. .side-item img {
  721. width: 100%;
  722. height: 100%;
  723. object-fit: cover;
  724. display: block;
  725. }
  726. .side-caption {
  727. padding: 0 10px;
  728. position: absolute;
  729. bottom: 0;
  730. left: 0;
  731. right: 0;
  732. background: rgba(0, 0, 0, 0.3);
  733. color: white;
  734. line-height: 40px;
  735. }
  736. .side-caption h3 {
  737. font-size: 14px;
  738. font-weight: 500;
  739. overflow: hidden;
  740. white-space: nowrap;
  741. text-overflow: ellipsis;
  742. }
  743. /*详情页*/
  744. .article-content h1 {
  745. font-size: 28px;
  746. font-weight: 500;
  747. line-height: 1.5;
  748. }
  749. .article-content .entry-meta {
  750. font-size: 13px;
  751. margin-top: 10px;
  752. color: #a0a0a0;
  753. }
  754. .entry-copyright {
  755. position: relative;
  756. border-radius: 5px;
  757. line-height: 22px;
  758. display: inline-block;
  759. padding: 15px 20px;
  760. font-size: 12px;
  761. color: #999;
  762. background: #f8f8f9;
  763. width: 100%;
  764. margin: 25px 0 0;
  765. }
  766. .entry-copyright:after {
  767. content: "";
  768. display: block;
  769. width: 31px;
  770. height: 27px;
  771. position: absolute;
  772. background: url(../images/blockquote.png) 0 0 no-repeat;
  773. right: 10px;
  774. bottom: 6px;
  775. background-size: 100%;
  776. transform: rotateZ(180deg);
  777. }
  778. .article-content .entry-meta>li {
  779. display: inline-block;
  780. padding-right: 5px;
  781. padding-left: 5px;
  782. }
  783. .article-content .post-icons {
  784. margin-right: 2px;
  785. }
  786. .article-content .entry-content {
  787. margin-top: 15px;
  788. margin-bottom: 15px;
  789. font-size: 14px;
  790. line-height: 1.8;
  791. }
  792. .article-tag {
  793. border-radius: 5px;
  794. margin-bottom: 15px;
  795. padding: 12px 15px;
  796. background-color: #fff;
  797. }
  798. .article-tag span {
  799. display: block;
  800. font-size: 13px;
  801. color: #666;
  802. margin-bottom: 8px;
  803. }
  804. .allow_visitor {
  805. font-size: 15px;
  806. padding: 15px 10px;
  807. text-align: center;
  808. border-radius: 5px;
  809. background: #f9f9f9;
  810. }
  811. .allow_visitor p {
  812. color: #666;
  813. font-size: 14px;
  814. line-height: 30px;
  815. margin-bottom: 8px;
  816. }
  817. .entry-info {
  818. border-radius: 6px;
  819. background: #fbfbfb;
  820. margin: 20px 0 20px;
  821. padding: 12px 25px;
  822. }
  823. .entry-info>li {
  824. padding: 3px 0;
  825. }
  826. .entry-info .info-item {
  827. flex: 1;
  828. }
  829. .entry-info .info-label {
  830. width: 80px;
  831. color: #333;
  832. font-weight: normal;
  833. }
  834. .entry-info .info-value {
  835. flex: 1;
  836. color: #666;
  837. }
  838. .entry-info .layui-rate {
  839. padding: 0;
  840. }
  841. .entry-info .layui-rate li i.layui-icon {
  842. font-size: 16px;
  843. }
  844. /*搜索页*/
  845. .search-manin {
  846. margin-top: 60px;
  847. }
  848. .search-manin .d-flex {
  849. gap: 10px;
  850. }
  851. .search-title {
  852. font-weight: 500;
  853. font-size: 28px;
  854. line-height: 2;
  855. margin-bottom: 15px;
  856. }
  857. .hot-keywords {
  858. text-align: center;
  859. margin-top: 15px;
  860. color: #666;
  861. }
  862. .hot-keywords a {
  863. margin: 0 5px;
  864. color: #1E9FFF;
  865. }
  866. /*筛选*/
  867. .filter-container {
  868. padding-top: 10px;
  869. }
  870. .filter-row {
  871. margin-bottom: 15px;
  872. }
  873. .filter-category {
  874. flex-wrap: wrap;
  875. align-items: center;
  876. }
  877. .filter-category .filter-category-title {
  878. min-width: 40px;
  879. font-size: 15px;
  880. margin-right: 10px;
  881. color: #333;
  882. white-space: nowrap;
  883. }
  884. .filter-category .filter-options {
  885. display: flex;
  886. flex-wrap: wrap;
  887. align-items: center;
  888. gap: 8px;
  889. }
  890. .filter-category .filter-option a {
  891. color: #6c757d;
  892. text-decoration: none;
  893. padding: 4px 8px;
  894. border-radius: 4px;
  895. white-space: nowrap;
  896. transition: all 0.2s ease;
  897. }
  898. .filter-category .filter-option a:hover,
  899. .filter-category .filter-option a.active {
  900. color: #fff;
  901. background-color: #1e9fff;
  902. }
  903. /*上一篇下一篇*/
  904. .article-nav .box-body {
  905. width: calc(50% - 7px);
  906. margin: 0;
  907. display: inline-block;
  908. background-color: #fff;
  909. padding: 15px;
  910. border-radius: 5px;
  911. }
  912. .article-nav .box-body+.box-body {
  913. margin-right: 0;
  914. float: right;
  915. text-align: right;
  916. }
  917. .article-nav .box-body p {
  918. color: #999;
  919. margin-bottom: 8px;
  920. }
  921. .article-nav .post-icons {
  922. margin-right: 2px;
  923. }
  924. .article-nav .post-icons svg {
  925. width: 14px;
  926. height: 14px;
  927. vertical-align: -2px;
  928. }
  929. /*面包屑*/
  930. .breadcrumb {
  931. padding: 8px 15px;
  932. list-style: none;
  933. border-radius: 4px;
  934. }
  935. .breadcrumb>li {
  936. display: inline-block;
  937. }
  938. .breadcrumb>.active {
  939. color: #777;
  940. }
  941. .breadcrumb>li+li:before {
  942. padding: 0 5px;
  943. color: #ccc;
  944. content: "/\00a0";
  945. }
  946. /*分页*/
  947. .pagination {
  948. display: inline-block;
  949. padding-left: 0;
  950. margin: 20px 0;
  951. border-radius: 4px;
  952. }
  953. .pagination>li {
  954. display: inline;
  955. }
  956. .pagination>li>a,
  957. .pagination>li>span {
  958. position: relative;
  959. float: left;
  960. padding: 6px 12px;
  961. margin-left: -1px;
  962. line-height: 1.42857143;
  963. color: #1e9fff;
  964. text-decoration: none;
  965. background-color: #fff;
  966. border: 1px solid #ddd;
  967. }
  968. .pagination>li:first-child>a,
  969. .pagination>li:first-child>span {
  970. margin-left: 0;
  971. border-top-left-radius: 4px;
  972. border-bottom-left-radius: 4px;
  973. }
  974. .pagination>.active>a,
  975. .pagination>.active>a:focus,
  976. .pagination>.active>a:hover,
  977. .pagination>.active>span,
  978. .pagination>.active>span:focus,
  979. .pagination>.active>span:hover {
  980. z-index: 3;
  981. color: #fff;
  982. cursor: default;
  983. background-color: #1e9fff;
  984. border-color: #1e9fff;
  985. }
  986. .pagination>.disabled>a,
  987. .pagination>.disabled>a:focus,
  988. .pagination>.disabled>a:hover,
  989. .pagination>.disabled>span,
  990. .pagination>.disabled>span:focus,
  991. .pagination>.disabled>span:hover {
  992. color: #777;
  993. cursor: not-allowed;
  994. background-color: #fff;
  995. border-color: #ddd;
  996. }
  997. /*分享*/
  998. .social-share .social-share-icon {
  999. font-size: 14px;
  1000. width: 18px;
  1001. height: 18px;
  1002. line-height: 18px;
  1003. color: #999;
  1004. border: none;
  1005. }
  1006. .social-share .social-share-icon:hover {
  1007. background: none;
  1008. }
  1009. .social-share .icon-weibo:hover {
  1010. color: #ff763b
  1011. }
  1012. .social-share .icon-qq:hover {
  1013. color: #56b6e7
  1014. }
  1015. .social-share .icon-qzone:hover {
  1016. color: #FDBE3D
  1017. }
  1018. .social-share .icon-wechat:hover {
  1019. color: #7bc549;
  1020. }
  1021. /*底部*/
  1022. footer {
  1023. flex-grow: 0;
  1024. flex-shrink: 0;
  1025. }
  1026. footer .copyright {
  1027. background: #393939;
  1028. line-height: 50px;
  1029. text-align: center;
  1030. color: #aaa;
  1031. }
  1032. footer .copyright a {
  1033. padding: 0 6px;
  1034. font-weight: 300;
  1035. color: #aaa;
  1036. }
  1037. footer .copyright a:hover {
  1038. color: #fff;
  1039. }
  1040. @media screen and (max-width: 768px) {
  1041. .fly-header .layui-nav-left {
  1042. margin-left: 0px !important;
  1043. float: none !important;
  1044. width: 100%;
  1045. }
  1046. .fly-header .layui-search .layui-inline {
  1047. display: block;
  1048. margin-bottom: 10px;
  1049. }
  1050. .fly-header .layui-input-wrap {
  1051. max-width: 100%;
  1052. }
  1053. .fly-header .layui-nav-right {
  1054. margin-top: -10px;
  1055. }
  1056. .carousel-main {
  1057. display: block !important;
  1058. margin-bottom: 10px;
  1059. }
  1060. .side-grid {
  1061. margin-top: 10px;
  1062. min-height: 200px;
  1063. }
  1064. .entry-info {
  1065. margin: 10px 0 10px;
  1066. padding: 8px 15px;
  1067. }
  1068. .entry-info>li {
  1069. padding: 0;
  1070. }
  1071. .entry-info>.d-flex {
  1072. display: block !important;
  1073. }
  1074. .entry-info .info-item {
  1075. margin-bottom: 3px;
  1076. justify-content: space-between !important;
  1077. }
  1078. .entry-info .info-value {
  1079. flex: none;
  1080. }
  1081. /*筛选*/
  1082. .filter-category {
  1083. flex-direction: column;
  1084. align-items: flex-start;
  1085. }
  1086. .filter-category .filter-category-title {
  1087. margin-bottom: 8px;
  1088. }
  1089. .filter-category .filter-options {
  1090. margin-left: 0;
  1091. gap: 6px;
  1092. }
  1093. .filter-category .filter-option a {
  1094. padding: 3px 6px;
  1095. font-size: 0.9rem;
  1096. }
  1097. .tag-cloud-list .tag {
  1098. width: calc(100% / 2 - 24px);
  1099. }
  1100. }