base.css 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320
  1. @charset "utf-8";
  2. /* CSS Document */
  3. * {
  4. margin: 0;
  5. padding: 0
  6. }
  7. img {
  8. border: 0;
  9. display: block
  10. }
  11. /*去除图片默认的1px边框;将图片标签变成块级元素,可清除默认的3px距离*/
  12. ul li {
  13. list-style: none;
  14. }
  15. /*去除ul li标签前面小点*/
  16. a {
  17. color: #222;
  18. text-decoration: none;
  19. }
  20. /* 所有a 标签的 颜色为#222; 去除默认的下划线*/
  21. a:hover {
  22. color: #e01109;
  23. }
  24. h1 {
  25. font-size: 28px
  26. }
  27. h2 {
  28. font-size: 18px
  29. }
  30. h3, h4, h5, h6 {
  31. font-size: 16px
  32. }
  33. body {
  34. font: 15px "Microsoft YaHei", Arial, Helvetica, sans-serif;
  35. color: #222;
  36. background: #f5f5f5
  37. }
  38. /*设置 文字大小、字体、颜色、背景*/
  39. header, main {
  40. width: 1200px;
  41. margin: auto
  42. }
  43. article {
  44. width: 860px;
  45. float: left;
  46. }
  47. aside {
  48. width: 320px;
  49. float: right;
  50. }
  51. footer {
  52. width: 100%;
  53. padding-bottom: 20px;
  54. text-align: center;
  55. clear: both
  56. }
  57. .nav {
  58. /*float: left;*/
  59. display: table;
  60. width: 100%;
  61. height: 105px;
  62. margin: 20px 0;
  63. box-shadow: rgba(0, 0, 0, .1) 3px 5px 5px;
  64. }
  65. .nav a img {
  66. width: 90px;
  67. height: 90px;
  68. float: left;
  69. /*background: #fff;*/
  70. /*display: block;*/
  71. /*margin-right: 20px;*/
  72. /*border-radius: 100%;*/
  73. }
  74. .nav-list1 {
  75. float: right;
  76. }
  77. .submenu {
  78. float: left;
  79. margin: 0px 20px 0px 0px;
  80. font-size: 20px;
  81. width: 86px;
  82. height: 37px;
  83. text-align: center;
  84. }
  85. .logo-name {
  86. margin-top: 20px;
  87. }
  88. .describe {
  89. margin-top: 10px;
  90. float: left;
  91. }
  92. .submenu:hover .nav-submenu {
  93. display: block;
  94. }
  95. .nav-submenu {
  96. width: 125px;
  97. display: none;
  98. border: 1px solid #c7c3c3;
  99. text-align: left;
  100. margin: 10px 0 0 0;
  101. background: #f2f2f4;
  102. font-size: 17px;
  103. position: relative;
  104. z-index: 10;
  105. box-shadow: rgba(0, 0, 0, 0.2) 3px 5px 5px;
  106. }
  107. .nav-submenu div {
  108. background: #f2f2f4;
  109. border-left: 1px solid #c7c3c3;
  110. border-top: 1px solid #c7c3c3;
  111. left: 38px;
  112. transform: rotate(45deg);
  113. top: -6px;
  114. width: 8px;
  115. height: 8px;
  116. position: absolute;
  117. }
  118. .nav-submenu li {
  119. margin: 7px 0px;
  120. padding-left: 15px;
  121. }
  122. .nav-submenu li:hover {
  123. background: #dedfe1;
  124. }
  125. .nav-submenu li a:hover {
  126. color: black;
  127. }
  128. /*blogs*/
  129. .blogs {
  130. }
  131. .blogs li {
  132. overflow: hidden;
  133. margin-bottom: 20px;
  134. background: #fff;
  135. padding: 20px;
  136. position: relative;
  137. }
  138. .top_blog .blogs li::after {
  139. position: absolute;
  140. content: "";
  141. right: 10px;
  142. top: 40px;
  143. border-style: solid;
  144. border-width: 0 13px 13px 13px;
  145. }
  146. .top_blog .blogs li::after {
  147. border-color: #e01109 #e01109 transparent #e01109;
  148. }
  149. .top_blog .blogs li::before {
  150. background: #e01109;
  151. position: absolute;
  152. content: "";
  153. right: 10px;
  154. top: 0;
  155. width: 26px;
  156. height: 30px;
  157. text-align: center;
  158. font-size: 16px;
  159. font-weight: bold;
  160. color: #fff;
  161. padding: 10px 0 0 0;
  162. }
  163. .top_blog .blogs li:nth-child(1)::before {
  164. content: "1"
  165. }
  166. .top_blog .blogs li:nth-child(2)::before {
  167. content: "2"
  168. }
  169. .top_blog .blogs li:nth-child(3)::before {
  170. content: "3"
  171. }
  172. .blogs li i {
  173. display: block;
  174. width: 160px;
  175. height: 110px;
  176. overflow: hidden;
  177. float: left;
  178. margin-right: 20px;
  179. }
  180. .blogs li i img {
  181. width: 100%;
  182. min-height: 100%;
  183. transition: .5s;
  184. }
  185. .blogs h2 {
  186. margin: 0 0 14px 0;
  187. overflow: hidden;
  188. text-overflow: ellipsis;
  189. white-space: nowrap;
  190. }
  191. .blog_smalltext {
  192. overflow: hidden;
  193. -webkit-box-orient: vertical;
  194. display: -webkit-box;
  195. -webkit-line-clamp: 2;
  196. font-size: 14px;
  197. color: #666;
  198. margin-bottom: 14px;
  199. }
  200. .blog_info {
  201. color: #888;
  202. font-size: 13px;
  203. }
  204. .blog_info span {
  205. margin-right: 15px;
  206. position: relative;
  207. padding-left: 20px;
  208. line-height: 20px;
  209. }
  210. .blog_info span a {
  211. color: #518f97
  212. }
  213. .blog_info span a:hover {
  214. color: #e01109;
  215. }
  216. .blog_info span:nth-child(n):before {
  217. position: absolute;
  218. content: "";
  219. width: 20px;
  220. height: 20px;
  221. left: 0;
  222. top: 0;
  223. }
  224. .blog_info span:nth-child(1) {
  225. background: url(../image/icon.png) no-repeat 0 0;
  226. background-size: 18px
  227. }
  228. .blog_info span:nth-child(2) {
  229. background: url(../image/icon.png) no-repeat 0 -18px;
  230. background-size: 18px
  231. }
  232. .blog_info span:nth-child(3) {
  233. background: url(../image/icon.png) no-repeat 0 -36px;
  234. background-size: 18px
  235. }
  236. .blog_info span:nth-child(4) {
  237. background: url(../image/icon.png) no-repeat 0 -54px;
  238. background-size: 18px
  239. }
  240. .blog_info span:nth-child(5) {
  241. background: url(../image/icon.png) no-repeat 0 -72px;
  242. background-size: 18px
  243. }
  244. .blogs li:hover {
  245. box-shadow: rgba(0, 0, 0, .1) 3px 5px 5px;
  246. }
  247. .blogs li:hover h2 {
  248. color: #F00
  249. }
  250. .blogs li:hover img {
  251. transform: scale(1.1)
  252. }
  253. /*aside*/
  254. aside div {
  255. background: #fff;
  256. margin-bottom: 20px
  257. }
  258. .search {
  259. background: #ed4040;
  260. position: relative;
  261. border: #ed4040 2px solid;
  262. border-radius: 5px;
  263. overflow: hidden;
  264. }
  265. .search input.input_submit {
  266. border: 0;
  267. color: #fff;
  268. outline: none;
  269. position: absolute;
  270. top: 0;
  271. right: 0;
  272. width: 25%;
  273. display: block;
  274. font-size: 15px;
  275. height: 36px;
  276. line-height: 36px;
  277. text-indent: 1em;
  278. cursor: pointer;
  279. background: url(../image/search.png) no-repeat left 10px center;
  280. background-size: 21px;
  281. }
  282. .search input.input_text {
  283. border: 0;
  284. line-height: 36px;
  285. height: 36px;
  286. font-size: 14px;
  287. width: 75%;
  288. outline: none;
  289. text-indent: 1em;
  290. }
  291. h2.aside_title {
  292. padding: 20px;
  293. }
  294. .paihang {
  295. }
  296. .paihang ol {
  297. padding: 0 20px 20px 40px;
  298. }
  299. .paihang ol li {
  300. margin-bottom: 20px;
  301. padding-left: 10px;
  302. }
  303. .coffee {
  304. padding: 0px 20px 20px 20px;
  305. width: 280px;
  306. }
  307. .recommend {
  308. padding: 0px 20px 20px 20px;
  309. height: 150px;
  310. width: 280px;
  311. }
  312. .links span {
  313. float: right;
  314. font-size: 16px;
  315. font-weight: normal
  316. }
  317. .links span a {
  318. color: #666;
  319. }
  320. .links span a:hover {
  321. color: #f00
  322. }
  323. .links ul {
  324. padding: 0 20px 20px 20px;
  325. overflow: hidden
  326. }
  327. .links li {
  328. width: 50%;
  329. float: left;
  330. display: inline-block;
  331. line-height: 30px;
  332. text-align: center
  333. }
  334. .links li a {
  335. margin: 5px;
  336. border: #666 1px solid;
  337. display: block;
  338. border-radius: 3px;
  339. color: #666
  340. }
  341. .links li a:hover {
  342. border: #222 1px solid;
  343. color: #000
  344. }
  345. /*footer*/
  346. footer img {
  347. display: inline-block;
  348. vertical-align: middle;
  349. margin-right: 5px;
  350. }
  351. footer p {
  352. line-height: 30px;
  353. font-size: 14px;
  354. color: #666
  355. }
  356. footer p span {
  357. margin: 0 10px
  358. }
  359. footer a {
  360. color: #666
  361. }
  362. /*weizhi*/
  363. .weizhi {
  364. margin: 0 0 20px 0;
  365. font-size: 14px;
  366. color: #949494;
  367. background: url(../image/weizhi.png) no-repeat left center;
  368. background-size: 20px;
  369. padding-left: 30px
  370. }
  371. .weizhi a {
  372. color: #949494;
  373. }
  374. .weizhi a:hover {
  375. color: #000
  376. }
  377. /*suiyan*/
  378. .suiyan_list {
  379. }
  380. .suiyan_list ul {
  381. overflow: hidden;
  382. }
  383. .suiyan_list ul li {
  384. width: 25%;
  385. float: left;
  386. }
  387. .suiyan_list ul li a {
  388. display: block;
  389. padding: 20px;
  390. margin: 30px auto;
  391. background: #fff;
  392. box-shadow: rgba(0, 0, 0, .1) 3px 5px 5px;
  393. width: 200px;
  394. height: 200px;
  395. transform: rotate(-10deg);
  396. position: relative;
  397. color: #333
  398. }
  399. .suiyan_list ul li:nth-child(even) a {
  400. -webkit-transform: rotate(10deg);
  401. top: 10px;
  402. background: rgb(255, 255, 205);;
  403. }
  404. .suiyan_list ul li:nth-child(3n) a {
  405. -webkit-transform: rotate(-5deg);
  406. top: -10px;
  407. background: rgb(254, 201, 227);
  408. }
  409. .suiyan_list ul li:nth-child(5n) a {
  410. -webkit-transform: rotate(8deg);
  411. top: -10px;
  412. background: rgb(210, 251, 253);
  413. }
  414. .suiyan_list ul li a:hover {
  415. transform: scale(1.1);
  416. transition: .2s;
  417. box-shadow: rgba(0, 0, 0, .5) 3px 5px 5px;
  418. }
  419. .suiyan_time {
  420. font-size: 14px;
  421. color: #999;
  422. margin-bottom: 10px;
  423. }
  424. .suiyan_text {
  425. line-height: 30px;
  426. }
  427. .suiyan_list span {
  428. position: absolute;
  429. width: 50px;
  430. height: 50px;
  431. bottom: 5px;
  432. right: 5px;
  433. }
  434. /*tuijian*/
  435. .tuijian {
  436. }
  437. .tuijian ul {
  438. padding: 0 20px 20px 20px;
  439. }
  440. .tuijian ul li {
  441. overflow: hidden;
  442. margin-bottom: 20px;
  443. }
  444. .tuijian ul li a {
  445. }
  446. .tuijian i {
  447. display: block;
  448. width: 90px;
  449. height: 60px;
  450. overflow: hidden;
  451. margin-right: 20px;
  452. float: left;
  453. }
  454. .tuijian p {
  455. display: -webkit-box;
  456. -webkit-box-orient: vertical;
  457. -webkit-line-clamp: 2;
  458. overflow: hidden;
  459. margin-top: 8px
  460. }
  461. .tuijian img {
  462. width: 100%;
  463. min-height: 100%;
  464. }
  465. /*love*/
  466. .love {
  467. }
  468. .love ul {
  469. padding: 0 20px 20px 20px;
  470. overflow: hidden
  471. }
  472. .love ul li {
  473. overflow: hidden;
  474. width: 50%;
  475. float: left;
  476. }
  477. .love ul li a {
  478. margin: 0 3px 10px;
  479. display: block;
  480. overflow: hidden;
  481. }
  482. .love i {
  483. display: block;
  484. width: 100%;
  485. height: 90px;
  486. overflow: hidden;
  487. }
  488. .love p {
  489. overflow: hidden;
  490. text-overflow: ellipsis;
  491. white-space: nowrap;
  492. font-size: 14px;
  493. }
  494. .love img {
  495. width: 100%;
  496. min-height: 100%;
  497. }
  498. /*tagsclous*/
  499. .tagsclous h2 {
  500. padding-bottom: 0 !important
  501. }
  502. .tagsclous ul {
  503. padding: 20px;
  504. overflow: hidden;
  505. position: relative;
  506. }
  507. .tagsclous ul:before {
  508. animation: linescroll 5s;
  509. animation-iteration-count: infinite;
  510. content: "";
  511. width: 20px;
  512. height: 20px;
  513. background: red;
  514. position: absolute;
  515. z-index: 9
  516. }
  517. .tagsclous a {
  518. display: inline-block;
  519. background: #ffffff;
  520. width: 33.3333%;
  521. font-size: 14px;
  522. float: left;
  523. line-height: 40px;
  524. text-align: center;
  525. position: relative;
  526. }
  527. .tagsclous a:nth-child(3n-1):before {
  528. width: 1px;
  529. height: 100%;
  530. content: "";
  531. position: absolute;
  532. background: #eae5e5;
  533. left: 0;
  534. top: 0;
  535. }
  536. .tagsclous a:nth-child(3n-1):after {
  537. width: 1px;
  538. height: 100%;
  539. content: "";
  540. position: absolute;
  541. background: #eae5e5;
  542. right: 0;
  543. top: 0;
  544. }
  545. .tagsclous a:nth-child(6n+1) {
  546. background: #f5f5f5;
  547. }
  548. .tagsclous a:nth-child(6n+2) {
  549. background: #f5f5f5;
  550. }
  551. .tagsclous a:nth-child(6n+3) {
  552. background: #f5f5f5;
  553. }
  554. .tagsclous a:hover {
  555. background: #e01109;
  556. color: #fff
  557. }
  558. @keyframes linescroll {
  559. 0% {
  560. left: 0px;
  561. top: 0px;
  562. }
  563. 25% {
  564. left: 300px;
  565. top: 0px;
  566. }
  567. 50% {
  568. left: 300px;
  569. top: 220px;
  570. }
  571. 75% {
  572. left: 0px;
  573. top: 220px;
  574. }
  575. 100% {
  576. left: 0px;
  577. top: 0px;
  578. }
  579. }
  580. /*xiangce*/
  581. .xiangce_list ul {
  582. width: 25%;
  583. float: left;
  584. overflow: hidden;
  585. }
  586. .xiangce_list li {
  587. margin: 10px
  588. }
  589. .xiangce_list li a {
  590. margin: 0 0 30px 0;
  591. padding: 12px;
  592. background: white;
  593. border-radius: 3px;
  594. box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
  595. display: block;
  596. }
  597. .xiangce_list li img {
  598. width: 100%;
  599. margin: 0 auto 10px
  600. }
  601. .xiangce_list li p {
  602. color: #666;
  603. text-align: center
  604. }
  605. .xiangce_list li a:hover {
  606. box-shadow: 0px 2px 3px 1px rgba(0, 0, 0, 0.1);
  607. transform: translateY(-5px);
  608. transition: all .2s;
  609. }
  610. .time_list {
  611. background: #fff;
  612. padding: 20px;
  613. }
  614. .time_list li {
  615. line-height: 36px;
  616. }
  617. .time_list li a {
  618. display: block;
  619. position: relative;
  620. }
  621. .time_list li span {
  622. margin: 0 40px 0 0;
  623. float: left;
  624. color: #999;
  625. }
  626. .time_list ul {
  627. position: relative;
  628. }
  629. .time_list ul:before {
  630. position: absolute;
  631. content: "";
  632. width: 2px;
  633. height: 100%;
  634. background: #ccc;
  635. left: 102px;
  636. top: 0;
  637. }
  638. .time_list li a:before {
  639. position: absolute;
  640. content: "";
  641. width: 12px;
  642. height: 12px;
  643. background: #fff;
  644. border: #ccc 2px solid;
  645. border-radius: 100%;
  646. left: 95px;
  647. top: 10px;
  648. }
  649. .time_list li a:hover:before {
  650. background: #f00;
  651. }
  652. .about {
  653. background: #fff;
  654. padding: 20px;
  655. font-size: 16px;
  656. line-height: 24px;
  657. }
  658. .about p {
  659. margin: 10px 0;
  660. }
  661. .about h2 {
  662. line-height: 40px;
  663. background: #f2f2f2;
  664. border-left: #000 4px solid;
  665. padding-left: 10px;
  666. margin: 10px 0;
  667. }
  668. .about img {
  669. width: 80% !important;
  670. height: auto !important;
  671. margin: auto;
  672. }
  673. .aside_right {
  674. padding: 20px;
  675. }
  676. .aside_right h2 {
  677. margin: 0 0 10px 0;
  678. }
  679. .aside_right ul {
  680. overflow: hidden;
  681. padding: 0 0 20px 0;
  682. }
  683. .aside_right ul li {
  684. line-height: 30px;
  685. background: #f2f2f2;
  686. margin-bottom: 10px;
  687. text-indent: 1em;
  688. border-radius: 10px;
  689. }
  690. .aside_right ol {
  691. line-height: 30px;
  692. margin-left: 30px;
  693. }
  694. .container {
  695. background: #fff;
  696. padding: 20px;
  697. }
  698. .container h1 {
  699. font-size: 24px;
  700. margin-bottom: 20px;
  701. }
  702. .content {
  703. margin-top: 15px;
  704. font-size: 16px;
  705. line-height: 24px;
  706. }
  707. .content p {
  708. margin: 20px 0;
  709. }
  710. .content img {
  711. margin: auto;
  712. max-width: 100% !important;
  713. height: auto !important;
  714. }
  715. .otherlink {
  716. margin: 20px 0;
  717. line-height: 26px;
  718. }
  719. .otherlink h2, .pinglun_box h2 {
  720. margin-bottom: 10px;
  721. position: relative;
  722. }
  723. .otherlink h2:before, .pinglun_box h2:before {
  724. position: absolute;
  725. content: "";
  726. width: 4px;
  727. height: 100%;
  728. background: #f00;
  729. left: -20px;
  730. }
  731. .relevant_article {
  732. width: 820px;
  733. height: 145px;
  734. }
  735. .relevant_article div {
  736. float: left;
  737. margin-right: 5px;
  738. width: 200px;
  739. height: 135px;
  740. }
  741. .otherlink img {
  742. width: 200px;
  743. height: 135px;
  744. }
  745. @media only screen and (max-width: 1200px) {
  746. header, main {
  747. width: 90%;
  748. }
  749. article {
  750. width: 68%;
  751. }
  752. aside {
  753. width: 30%;
  754. }
  755. }
  756. @media only screen and (max-width: 768px) {
  757. article {
  758. width: 100%;
  759. }
  760. .touxiang {
  761. width: 60%;
  762. }
  763. aside {
  764. display: none;
  765. }
  766. nav ul li a {
  767. padding: 0 15px;
  768. }
  769. img.weixin {
  770. z-index: 999;
  771. }
  772. .suiyan_list ul {
  773. padding: 30px;
  774. }
  775. .suiyan_list ul li {
  776. width: 33.33333%;
  777. }
  778. .suiyan_list ul li a {
  779. padding: 10px;
  780. width: 180px;
  781. }
  782. .suiyan_text {
  783. font-size: 14px;
  784. }
  785. .suiyan_list ul li a:hover {
  786. z-index: 9;
  787. }
  788. .xiangce_list li p {
  789. font-size: 14px;
  790. }
  791. .xiangce_list li a {
  792. padding: 5px;
  793. }
  794. .xiangce_list li {
  795. margin: 5px;
  796. }
  797. }
  798. @media only screen and (max-width: 480px) {
  799. header, main {
  800. width: 96%;
  801. }
  802. .touxiang {
  803. width: 100%;
  804. margin: 5px 0;
  805. }
  806. .touxiang i {
  807. width: 60px;
  808. height: 60px;
  809. margin-right: 10px;
  810. }
  811. .touxiang i img {
  812. width: 100%;
  813. }
  814. .touxiang h2 {
  815. margin: 5px 0;
  816. }
  817. .guanzhu {
  818. position: fixed;
  819. z-index: 9;
  820. bottom: 0;
  821. top: inherit;
  822. width: 100%;
  823. }
  824. .guanzhu:hover .weixin {
  825. bottom: 30px;
  826. left: 33%;
  827. box-shadow: #b8b1b1 2px 2px 10px;
  828. }
  829. footer {
  830. padding-bottom: 50px;
  831. margin-top: 20px
  832. }
  833. nav {
  834. overflow-x: scroll;
  835. height: 40px;
  836. line-height: 40px;
  837. }
  838. nav ul {
  839. width: max-content;
  840. overflow-x: scroll;
  841. }
  842. .blogs li {
  843. padding: 10px;
  844. }
  845. .blogs h2 {
  846. font-size: 16px;
  847. margin: 0 0 5px 0;
  848. }
  849. .blogs li i {
  850. width: 90px;
  851. height: 60px;
  852. margin-right: 10px;
  853. }
  854. .top_blog .blogs li::after {
  855. display: none;
  856. }
  857. .top_blog .blogs li::before {
  858. display: none;
  859. }
  860. .blog_info span:last-child {
  861. display: none;
  862. }
  863. .suiyan_list ul li {
  864. width: 50%;
  865. }
  866. .xiangce_list ul {
  867. width: 100%
  868. }
  869. .xiangce_list li a {
  870. padding: 12px;
  871. }
  872. .time_list li span {
  873. width: 100%;
  874. }
  875. .time_list ul:before {
  876. left: 0;
  877. }
  878. .time_list li a:before {
  879. left: -8px;
  880. }
  881. .time_list li a {
  882. padding-left: 20px;
  883. }
  884. .time_list li span {
  885. padding-left: 20px;
  886. }
  887. .about img {
  888. width: 100% !important;
  889. }
  890. .container h1 {
  891. font-size: 20px;
  892. }
  893. .info-pre-next p, .otherlink li {
  894. overflow: hidden;
  895. white-space: nowrap;
  896. text-overflow: ellipsis;
  897. }
  898. footer p span:last-child {
  899. display: block;
  900. }
  901. main {
  902. overflow: hidden;
  903. }
  904. }
  905. .swiper-container {
  906. width: 860px;
  907. height: 350px;
  908. margin-bottom: 20px;
  909. float: left;
  910. }
  911. .swiper-wrapper img {
  912. width: 860px;
  913. height: 350px;
  914. }
  915. .swiper-container {
  916. --swiper-theme-color: #e5e4e4; /* 设置Swiper风格 */
  917. --swiper-navigation-color: #8B8EAD; /* 单独设置按钮颜色 */
  918. --swiper-navigation-size: 30px; /* 设置按钮大小 */
  919. }
  920. /*留言*/
  921. .guest_tit {
  922. height: 70px;
  923. line-height: 50px;
  924. }
  925. .guest_tit input {
  926. border-radius: 5px;
  927. height: 40px;
  928. border: 1px solid #dddddd;
  929. font-size: 17px;
  930. font-family: 微软雅黑;
  931. width: 200px;
  932. float: left;
  933. padding: 0 10px;
  934. }
  935. .guest_tit label {
  936. width: 100px;
  937. line-height: 40px;
  938. display: block;
  939. float: left;
  940. font-size: 18px;
  941. }
  942. .guest_txt {
  943. height: 187px;
  944. }
  945. .guest_txt textarea {
  946. border-radius: 5px;
  947. width: 80%;
  948. font-size: 17px;
  949. font-family: 微软雅黑;
  950. height: 150px;
  951. padding: 5px 10px;
  952. border: 1px solid #dddddd;
  953. }
  954. .guest_s {
  955. line-height: 50px;
  956. width: 450px;
  957. }
  958. .btn {
  959. width: 20%;
  960. border-radius: 5px;
  961. background-color: #e01109;
  962. display: inline-block;
  963. color: #fff;
  964. border: none;
  965. line-height: 47px;
  966. font-size: 20px;
  967. cursor: pointer;
  968. padding: 0 10px;
  969. margin-right: 15px;
  970. }
  971. /* 分页样式 */
  972. .paging {
  973. margin: 15px;
  974. text-align: center;
  975. font-size: 15px;
  976. }
  977. .paging a, .paging span {
  978. margin: 0 1px;
  979. border: solid 1px #ccc;
  980. padding: 5px;
  981. }
  982. .GPageSpan {
  983. color: red;
  984. }
  985. /* 没有评论的样式 */
  986. .no_comment {
  987. height: 100px;
  988. color: #7d8293;
  989. padding-top: 6px;
  990. }
  991. /* 评论样式 */
  992. .comment {
  993. margin-top: 10px;
  994. border-bottom: 1px solid #dee2e6;
  995. }
  996. .comment_nickname {
  997. float: left;
  998. font-size: 15px;
  999. font-weight: 700;
  1000. line-height: 18px;
  1001. padding-bottom: 4px;
  1002. }
  1003. .comment_create_time {
  1004. color: #99a2aa;
  1005. line-height: 18px;
  1006. font-size: 13px;
  1007. }
  1008. .comment_content {
  1009. padding-left: 5px;
  1010. margin-top: 10px;
  1011. color: #666;
  1012. }
  1013. .comment_reply {
  1014. color: #99a2aa;
  1015. font-size: 14px;
  1016. margin: 7px 0px;
  1017. }
  1018. .comment_reply span {
  1019. padding: 5px;
  1020. border-radius: 4px;
  1021. display: inline-block;
  1022. }
  1023. .comment_reply span:hover {
  1024. color: #508af5;
  1025. background: #dcdee3;
  1026. border-radius: 4px;
  1027. cursor: pointer;
  1028. display: inline-block;
  1029. }
  1030. /* 友情链接 */
  1031. .link_content {
  1032. width: 860px;
  1033. float: left;
  1034. }
  1035. .link_content h2 {
  1036. margin: 0 auto;
  1037. width: 100px;
  1038. }
  1039. .link_content div {
  1040. margin: 30px auto;
  1041. width: 470px;
  1042. }
  1043. .link_content div input {
  1044. height: 35px;
  1045. width: 438px;
  1046. padding: 2px 15px;
  1047. font-size: 16px;
  1048. border-radius: 4px;
  1049. border: 1px solid #c8d0d0;
  1050. }
  1051. .link_content div textarea {
  1052. width: 438px;
  1053. padding: 10px 15px;
  1054. font-size: 16px;
  1055. font-family: 微软雅黑;
  1056. border-radius: 4px;
  1057. border: 1px solid #c8d0d0;
  1058. }
  1059. ::-webkit-input-placeholder {
  1060. color: #d1d3da;
  1061. }
  1062. .comment_button {
  1063. border: none;
  1064. background: #e01109;
  1065. color: #fff;
  1066. border-radius: 5px;
  1067. width: 100%;
  1068. cursor: pointer;
  1069. line-height: 50px;
  1070. font-size: 20px;
  1071. }
  1072. .reply_box {
  1073. margin-left: 25px;
  1074. }
  1075. .reply_id {
  1076. display: none;
  1077. }
  1078. .reply_item {
  1079. display: none;
  1080. }
  1081. .view_more {
  1082. color: #99a2aa;
  1083. font-size: 14px;
  1084. margin-left: 29px;
  1085. }
  1086. .view_more span {
  1087. padding: 5px;
  1088. border-radius: 4px;
  1089. display: inline-block;
  1090. }
  1091. .view_more span:hover {
  1092. color: #508af5;
  1093. background: #dcdee3;
  1094. border-radius: 4px;
  1095. cursor: pointer;
  1096. display: inline-block;
  1097. }