tsg.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717
  1. body {
  2. color: #000;
  3. }
  4. a {
  5. color: #000;
  6. }
  7. a:hover {
  8. color: #ff1111;
  9. text-decoration: none;
  10. }
  11. .header-top {
  12. width: 100%;
  13. height: 30px;
  14. line-height: 30px;
  15. position: relative;
  16. background-color: #900000;
  17. padding: 0 15px;
  18. color: #fff;
  19. }
  20. .header-top .wrap {
  21. position: relative;
  22. }
  23. .header-img {
  24. position: relative;
  25. }
  26. .header-img img {
  27. width: auto;
  28. /* margin: 0 auto; */
  29. }
  30. .header-right {
  31. float: right;
  32. }
  33. .header-right a {
  34. color: #fff;
  35. padding-left: 26px;
  36. background: url(../images/icon/hot.gif) no-repeat left center;
  37. }
  38. .header-right a:hover{
  39. color: #ffff00;
  40. }
  41. /* 导航 */
  42. .header{
  43. background-color: #b70f00;
  44. }
  45. .header>.wrap{
  46. position: relative;
  47. border-top: 1px solid #d30208;
  48. }
  49. .header-nav {
  50. position: absolute;
  51. right: 0;
  52. top: 50%;
  53. transform: translateY(-50%);
  54. }
  55. .nav-secondLevel {
  56. top: 46px;
  57. }
  58. .header-nav li:hover>a {
  59. background-image: url(../images/bg/bg-nav-tsg2.jpg);
  60. }
  61. .header-nav .nav-secondLevel li {
  62. background-color: #C90303;
  63. }
  64. .header-nav li a {
  65. box-sizing: content-box;
  66. position: relative;
  67. line-height: 34px;
  68. height: 34px;
  69. min-width: 86px;
  70. background: url(../images/bg/bg-nav-tsg1.jpg) no-repeat center bottom;
  71. background-size: cover;
  72. padding-bottom: 13px;
  73. }
  74. .header-nav .nav-secondLevel li a{
  75. background-image: none;
  76. padding-bottom: 0;
  77. }
  78. /* 主体 */
  79. .content {
  80. /* margin-top: 30px; */
  81. }
  82. .content-right{
  83. width: 70%;
  84. }
  85. .banner{
  86. margin-bottom: 10px;
  87. }
  88. .banner,
  89. .banner img{
  90. width: 100%;
  91. }
  92. .content-row {
  93. display: flex;
  94. justify-content: space-between;
  95. flex-wrap: wrap;
  96. }
  97. .content-col {
  98. width: 31%;
  99. }
  100. .content-col-cneter {
  101. width: 40%;
  102. }
  103. .content-col-right {
  104. width: 27%;
  105. }
  106. .content-item {
  107. width: 100%;
  108. box-sizing: border-box;
  109. margin-bottom: 15px;
  110. border: 1px solid #dfdfdf;
  111. border-top: 0;
  112. border-radius: 3px;
  113. background-color: #f0f0f0;
  114. }
  115. .content-item h2 {
  116. /* height: 40px; */
  117. line-height: 40px;
  118. font-size: 16px;
  119. background: url(../images/bg/bg-content-tsg.png) repeat-x 0 0;
  120. font-size: 14px;
  121. overflow: hidden;
  122. padding: 0 12px;
  123. }
  124. .content-item h2 span{
  125. color: #ff0000;
  126. padding-left: 26px;
  127. background: url(../images/icon/knot2.png) no-repeat left center;
  128. }
  129. .content-item.content-item-swiper h2 a {
  130. color: #AE1C03;
  131. border: 0;
  132. background-color: transparent;
  133. padding: 0;
  134. }
  135. .content-item h2 a {
  136. float: right;
  137. padding: 0 20px;
  138. }
  139. .content-col-right .content-item h2 a {
  140. border-color: #DDD6BA;
  141. }
  142. .content-item h2 a:hover {
  143. color: #AE1C03;
  144. }
  145. .content-item-list {
  146. background-color: #fff;
  147. margin: 0 5px 5px;
  148. padding: 20px;
  149. }
  150. .content-wrap ul li {
  151. height: 36px;
  152. line-height: 36px;
  153. margin: 0 10px;
  154. border-bottom: 1px dotted #333;
  155. padding-left: 22px;
  156. background: url(../images/icon/arrow03.gif)no-repeat left center;
  157. }
  158. .content-wrap li p {
  159. width: calc(100% - 120px);
  160. overflow: hidden;
  161. text-overflow: ellipsis;
  162. white-space: nowrap;
  163. float: left;
  164. }
  165. .content-wrap .list-top p{
  166. font-weight: bold;
  167. color: #ff0000;
  168. }
  169. .content-wrap .list-time {
  170. float: right;
  171. color: #666;
  172. }
  173. .content-wrap a:hover .list-time {
  174. color: #ff1111;
  175. }
  176. .content-col-right .content-wrap .list-time {
  177. display: none;
  178. }
  179. .content-col-right .content-wrap li p {
  180. width: 100%;
  181. }
  182. /* 快速链接 */
  183. .content-item-link {
  184. border: 1px solid #ccc;
  185. }
  186. .content-item-link h2 {
  187. font-weight: normal;
  188. text-align: left;
  189. padding: 0;
  190. overflow: initial;
  191. height: 30px;
  192. line-height: 30px;
  193. background-size: contain;
  194. }
  195. .content-item-link h2 span {
  196. display: inline-block;
  197. background-color: #c41825;
  198. height: 100%;
  199. padding: 0 15px;
  200. position: relative;
  201. background-image: none;
  202. color: #fff;
  203. }
  204. .content-item-link h2 span i{
  205. width: 0;
  206. height: 0;
  207. border: 6px solid transparent;
  208. border-top-color: #c41825;
  209. position: absolute;
  210. bottom: -12px;
  211. left: 50%;
  212. transform: translateX(-50%);
  213. }
  214. .content-item-contact h2 span{
  215. background-color: transparent;
  216. color: #ff0000;
  217. padding: 0 12px;
  218. }
  219. .content-item-contact h2 span img{
  220. height: 90%;
  221. vertical-align: middle;
  222. margin-right: 5px;
  223. }
  224. .content-item-link .content-item-list {
  225. margin: 0;
  226. padding: 8px 0;
  227. }
  228. .content-item-link ul{
  229. display: flex;
  230. flex-wrap: wrap;
  231. }
  232. .content-item-link ul li {
  233. width: 42%;
  234. background-image: url(../images/icon/triangle-small.gif);
  235. border: 0;
  236. padding-left: 10px;
  237. }
  238. .content-item-link ul li p {
  239. width: 100% !important;
  240. }
  241. .content-item-contact{
  242. background-color: #fff;
  243. padding-bottom: 5px;
  244. }
  245. .content-item-contact .content-item-list{
  246. display: block;
  247. background: #fff url(../images/banner/banner-content-tsg.jpg) no-repeat right bottom;
  248. background-size: 100px;
  249. }
  250. .content-item-contact ul li{
  251. width: 96%;
  252. }
  253. /* 轮播 */
  254. .swiper-container {
  255. margin: 5px;
  256. }
  257. .swiper-pagination-bullet {
  258. width: 22px;
  259. height: 18px;
  260. line-height: 18px;
  261. border-radius: 2px;
  262. font-size: 12px;
  263. text-align: center;
  264. background-color: rgba(0, 0, 0, .6);
  265. color: #fff;
  266. }
  267. .swiper-pagination-bullet-active {
  268. color: #fff;
  269. background: rgba(174, 28, 3, 1);
  270. }
  271. .swiper-container-horizontal>.swiper-pagination-bullets {
  272. text-align: right;
  273. left: -3px;
  274. bottom: 34px;
  275. }
  276. .swiper-slide {
  277. position: relative;
  278. }
  279. .swiper-slide img {
  280. display: block;
  281. width: 100%;
  282. }
  283. .swiper-slide .swiper-title {
  284. height: 26px;
  285. line-height: 26px;
  286. padding: 0 10px;
  287. box-sizing: border-box;
  288. width: 100%;
  289. overflow: hidden;
  290. text-overflow: ellipsis;
  291. white-space: nowrap;
  292. text-align: center;
  293. background-color: #fff;
  294. margin-top: 6px;
  295. }
  296. /* 目录页 */
  297. .catalog{
  298. padding: 0;
  299. }
  300. .catalog .content-item-link h2 span{
  301. padding: 0 20px 0 30px;
  302. background-image: url(../images/icon/triangle-white.png);
  303. background-repeat: no-repeat;
  304. background-position: 6px center;
  305. background-size: 20px;
  306. }
  307. .catalog .content-item-link .content-item-list{
  308. margin: 0 6px 6px;
  309. padding: 12px 6px 6px;
  310. }
  311. .catalog .content-item-contact .content-item-list{
  312. margin: 0;
  313. padding: 8px 0;
  314. }
  315. .catalog .content-item-link ul{
  316. display: block;
  317. }
  318. .catalog .content-item-link ul li{
  319. border: 1px solid #ccc;
  320. background: url(../images/bg/bg-title-tsg.png) repeat-x center;
  321. background-size: cover;
  322. width: 100%;
  323. margin-left: 0;
  324. margin-bottom: 6px;
  325. text-align: center;
  326. border-radius: 2px;
  327. height: auto;
  328. }
  329. .catalog .content-item-contact ul li{
  330. margin-left: 10px;
  331. margin-bottom: 0;
  332. }
  333. .catalog .content-item-link li a{
  334. display: block;
  335. background: url(../images/icon/book.png) no-repeat 5px center;
  336. background-size: 20px;
  337. padding: 0 30px;
  338. }
  339. /* 联系我们 */
  340. .catalog .content-item-contact h2 span{
  341. padding: 0 12px;
  342. }
  343. .catalog .content-item-contact ul li{
  344. background: url(../images/icon/triangle-small.gif)no-repeat left center;
  345. border: 0;
  346. text-align: left;
  347. height: 36px;
  348. }
  349. .catalog .content-wrap li p{
  350. width: calc(100% - 135px);
  351. }
  352. /* 列表页 */
  353. .list .content-wrap li p{
  354. width: calc(100% - 280px);
  355. }
  356. .crumbs {
  357. line-height: 40px;
  358. padding: 0 20px;
  359. overflow: hidden;
  360. float: right;
  361. width: auto;
  362. font-weight: normal;
  363. color: #333;
  364. }
  365. .crumbs a {
  366. color: #333;
  367. float: none !important;
  368. padding: 0 !important;
  369. }
  370. .crumbs a:hover {
  371. color: #AE1C03;
  372. }
  373. .crumbs span{
  374. background: none !important;
  375. padding: 0 !important;
  376. color: #333 !important;
  377. }
  378. .list-wrap {
  379. margin-top: 0;
  380. }
  381. .list-wrap li {
  382. padding: 0 15px;
  383. }
  384. .list-wrap li a {
  385. padding: 0 12px;
  386. background: url(../images/icon/dot.gif) no-repeat left center;
  387. }
  388. .list-wrap .list-title {
  389. width: calc(100% - 250px);
  390. }
  391. .content-left {
  392. width: 300px;
  393. margin-right: 33px;
  394. background-color: transparent;
  395. }
  396. .content-right-item {
  397. background-color: #f6fcfc;
  398. border: 1px solid #d4d4d4;
  399. border-top: none;
  400. border-radius: 4px;
  401. margin-bottom: 10px;
  402. }
  403. .content-right-item h2 {
  404. background: url(../images/bg/bg-title-xww5.gif) repeat-x;
  405. width: 100%;
  406. height: 34px;
  407. color: #fff;
  408. font-size: 14px;
  409. }
  410. .content-right-item h2 p {
  411. background: url(../images/bg/bg-title-xww4.gif) no-repeat left bottom;
  412. height: 100%;
  413. width: 100%;
  414. line-height: 38px;
  415. padding-left: 26px;
  416. }
  417. .content-right-item ul {
  418. padding: 5px 0;
  419. }
  420. .content-right-item ul li {
  421. line-height: 30px;
  422. padding: 0 10px;
  423. }
  424. .content-right-item ul li a {
  425. padding-left: 12px;
  426. background: url(../images/icon/triangle-small.gif) no-repeat left center;
  427. }
  428. .content-right-item-relation a {
  429. color: #000;
  430. text-decoration: none;
  431. cursor: text;
  432. }
  433. .hasImg .list-title {
  434. padding-left: 16px;
  435. background: url(../images/icon/img-small.gif) no-repeat left center;
  436. background-size: 10px;
  437. }
  438. /* 正文页 */
  439. .content-item-list .article-wrap{
  440. padding: 0;
  441. margin-top: -20px;
  442. }
  443. .article-bottom {
  444. padding: 10px;
  445. }
  446. .article-bottom p {
  447. line-height: 32px;
  448. overflow: hidden;
  449. text-overflow: ellipsis;
  450. white-space: nowrap;
  451. }
  452. .article-bottom span {
  453. color: #AE1C03;
  454. }
  455. .catalog {
  456. border: none;
  457. }
  458. .catalog-item {
  459. margin-bottom: 15px;
  460. border: 1px solid #D8E0E8;
  461. border-top: none;
  462. border-radius: 4px;
  463. padding-bottom: 10px;
  464. }
  465. .catalog-item:last-child {
  466. margin-bottom: 0;
  467. }
  468. /* 底部 */
  469. .footer-mesg {
  470. background: url(../images/bg/bg-foot-tsg.jpg) repeat-x;
  471. background-size: cover;
  472. }
  473. .footer-link {
  474. background-color: #C1D6E3;
  475. line-height: 36px;
  476. }
  477. .footer-link ul {
  478. display: inline-block;
  479. }
  480. .footer-link ul li {
  481. display: inline-block;
  482. margin-right: 15px;
  483. }
  484. .mobile-nav-icon span {
  485. background-color: #fff;
  486. }
  487. /* 响应式 */
  488. @media screen and (max-width: 1200px) {
  489. .header-nav {
  490. position: relative;
  491. top: 0;
  492. transform: translateY(0);
  493. }
  494. }
  495. @media screen and (max-width: 1024px) {
  496. }
  497. @media screen and (max-width: 980px) {
  498. .header>.wrap{
  499. width: 100%;
  500. }
  501. .content-right{
  502. order: -1;
  503. }
  504. .header-img img {
  505. /* width: 100%; */
  506. }
  507. .header-nav {
  508. background-repeat: repeat;
  509. background-position: left top;
  510. }
  511. .header-nav ul {
  512. height: auto;
  513. }
  514. /* flex布局,item元素补全 */
  515. .header-nav ul::after {
  516. content: "";
  517. width: 50%;
  518. }
  519. .content-part {
  520. flex-wrap: wrap;
  521. }
  522. .content-part>div {
  523. width: 100% !important;
  524. margin: 0;
  525. }
  526. .content-item {
  527. width: 100% !important;
  528. }
  529. .content-col {
  530. width: 100% !important;
  531. }
  532. }
  533. @media screen and (max-width: 768px) {
  534. .content-item {
  535. width: 100%;
  536. }
  537. .content-tow-lines li {
  538. width: 100%;
  539. }
  540. .content-item-swiper ul {
  541. margin-left: 0;
  542. }
  543. }
  544. @media screen and (max-width: 640px) {
  545. .header-top {
  546. display: none;
  547. }
  548. .header-img {
  549. width: 100%;
  550. }
  551. .header-img img {
  552. width: auto;
  553. }
  554. .mobile-nav-icon {
  555. right: 18px;
  556. }
  557. .content-wrap li p {
  558. width: calc(100% - 100px);
  559. }
  560. .header-right {
  561. display: none;
  562. }
  563. /* 列表页 */
  564. .list .content-wrap li{
  565. height: auto;
  566. overflow: hidden;
  567. background-position: left 10px;
  568. }
  569. .list .content-wrap li p{
  570. width: 96%;
  571. float: none;
  572. }
  573. .list-wrap .list-title {
  574. width: 100%;
  575. }
  576. .list-wrap li {
  577. padding: 5px 15px;
  578. }
  579. .list-wrap li a {
  580. background-position: left 14px;
  581. line-height: 28px;
  582. }
  583. }