xww.css 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562
  1. body {
  2. color: #000;
  3. }
  4. a {
  5. color: #000;
  6. }
  7. a:hover {
  8. color: #ff1111;
  9. text-decoration: underline;
  10. }
  11. .header-top {
  12. width: 100%;
  13. height: 30px;
  14. line-height: 30px;
  15. position: relative;
  16. background: url(../images/bg/bg_top-xww.jpg) repeat-x;
  17. padding-left: 15px;
  18. }
  19. .header-top .wrap {
  20. position: relative;
  21. }
  22. .header-img {
  23. position: relative;
  24. background: url(../images/header/header-topbg.gif) repeat-x;
  25. }
  26. .header-img img {
  27. width: auto;
  28. margin: 0 auto;
  29. }
  30. .header-right {
  31. position: absolute;
  32. top: 50%;
  33. right: 0px;
  34. transform: translateY(-50%);
  35. padding: 0 15px 0 40px;
  36. background-size: 18px;
  37. border-radius: 30px;
  38. color: #5C5C5C;
  39. }
  40. .header-search {
  41. display: inline-block;
  42. margin-right: 10px;
  43. }
  44. .header-search-icon {
  45. display: inline-block;
  46. width: 20px;
  47. height: 20px;
  48. background: url(../images/icon/search.png) no-repeat;
  49. background-size: 18px;
  50. vertical-align: middle;
  51. cursor: pointer;
  52. }
  53. .header-right a {
  54. color: #ff0000;
  55. font-weight: bold;
  56. }
  57. /* 导航 */
  58. .header-nav {
  59. background: url(../images/bg/bg-nav-xww.jpg) repeat-x center;
  60. }
  61. .header-nav ul {
  62. height: 34px;
  63. line-height: 34px;
  64. }
  65. .nav-secondLevel {
  66. top: 34px;
  67. }
  68. .header-nav li {
  69. background: url(../images/bg/bg-nav-xww-line.jpg) no-repeat center right;
  70. }
  71. .header-nav li:last-child {
  72. background: none;
  73. }
  74. .header-nav li:hover>a {
  75. color: #fff;
  76. text-decoration: underline;
  77. }
  78. .header-nav .nav-secondLevel li {
  79. background-color: #C90303;
  80. }
  81. .header-nav li a {
  82. position: relative;
  83. line-height: 34px;
  84. height: 34px;
  85. }
  86. .header-nav a i {
  87. width: 0;
  88. height: 0;
  89. border: 6px solid transparent;
  90. border-bottom-color: #fff;
  91. position: absolute;
  92. bottom: 0;
  93. left: 50%;
  94. transform: translateX(-50%);
  95. opacity: 0;
  96. }
  97. .header-nav li:hover a i {
  98. opacity: 1;
  99. }
  100. /* 主体 */
  101. .content {
  102. margin-top: 30px;
  103. }
  104. .content-row {
  105. display: flex;
  106. justify-content: space-between;
  107. flex-wrap: wrap;
  108. }
  109. .content-col {
  110. width: 31%;
  111. }
  112. .content-col-cneter {
  113. width: 40%;
  114. }
  115. .content-col-right {
  116. width: 27%;
  117. }
  118. .content-item {
  119. width: 100%;
  120. box-sizing: border-box;
  121. margin-bottom: 15px;
  122. border: 1px solid #E6D2B9;
  123. border-top: 0;
  124. border-radius: 3px;
  125. }
  126. .content-item h2 {
  127. height: 32px;
  128. line-height: 32px;
  129. font-size: 16px;
  130. background: url(../images/bg/bg-title-xww1.jpg) repeat-x 0 0;
  131. font-size: 14px;
  132. overflow: hidden;
  133. padding: 0 12px;
  134. }
  135. .content-col-right h2 {
  136. background-position: 0 -66px;
  137. }
  138. .content-col-right .content-item {
  139. border-color: #DDD6BA;
  140. }
  141. .content-item.content-item-swiper h2 a {
  142. color: #AE1C03;
  143. border: 0;
  144. background-color: transparent;
  145. padding: 0;
  146. }
  147. .content-item h2 a {
  148. display: inline-block;
  149. background-color: #fff;
  150. border: 1px solid #E6D2B9;
  151. padding: 0 20px;
  152. }
  153. .content-col-right .content-item h2 a {
  154. border-color: #DDD6BA;
  155. }
  156. .content-item h2 a:hover {
  157. color: #AE1C03;
  158. }
  159. .content-wrap ul li {
  160. height: 36px;
  161. line-height: 36px;
  162. margin: 0 10px;
  163. /* border-bottom: 1px dashed #ccc; */
  164. padding-left: 12px;
  165. background: url(../images/icon/dot.gif)no-repeat left center;
  166. }
  167. .content-wrap li p {
  168. width: calc(100% - 120px);
  169. overflow: hidden;
  170. text-overflow: ellipsis;
  171. white-space: nowrap;
  172. float: left;
  173. }
  174. .content-wrap .list-time {
  175. float: right;
  176. color: #666;
  177. }
  178. .content-wrap a:hover .list-time {
  179. color: #ff1111;
  180. }
  181. .content-col-right .content-wrap .list-time {
  182. display: none;
  183. }
  184. .content-col-right .content-wrap li p {
  185. width: 100%;
  186. }
  187. /* 快速链接 */
  188. .content-item-link {
  189. border: 1px solid #DDD6BA;
  190. }
  191. .content-item-link h2 {
  192. background: url(../images/bg/bg-title-xww2.jpg) repeat-x;
  193. border-bottom: 2px solid #c40d11;
  194. font-style: italic;
  195. font-size: 18px;
  196. font-weight: normal;
  197. }
  198. .content-item-link h2 img {
  199. vertical-align: middle;
  200. margin-top: -3px;
  201. }
  202. .content-item-link ul {
  203. display: flex;
  204. flex-wrap: wrap;
  205. }
  206. .content-item-link ul li {
  207. width: 42%;
  208. }
  209. .content-item-link ul li p {
  210. width: 100%;
  211. }
  212. /* 轮播 */
  213. .swiper-container {
  214. margin: 5px;
  215. }
  216. .swiper-pagination-bullet {
  217. width: 22px;
  218. height: 18px;
  219. line-height: 18px;
  220. border-radius: 2px;
  221. font-size: 12px;
  222. text-align: center;
  223. background-color: rgba(0, 0, 0, .6);
  224. color: #fff;
  225. }
  226. .swiper-pagination-bullet-active {
  227. color: #fff;
  228. background: rgba(174, 28, 3, 1);
  229. }
  230. .swiper-container-horizontal>.swiper-pagination-bullets {
  231. text-align: right;
  232. left: -3px;
  233. bottom: 34px;
  234. }
  235. .swiper-slide {
  236. position: relative;
  237. }
  238. .swiper-slide img {
  239. display: block;
  240. width: 100%;
  241. }
  242. .swiper-slide .swiper-title {
  243. height: 26px;
  244. line-height: 26px;
  245. padding: 0 10px;
  246. box-sizing: border-box;
  247. width: 100%;
  248. overflow: hidden;
  249. text-overflow: ellipsis;
  250. white-space: nowrap;
  251. text-align: center;
  252. background-color: #fff;
  253. margin-top: 6px;
  254. }
  255. /* 列表页 */
  256. .crumbs {
  257. background: url(../images/bg/bg-title-xww3.jpg) repeat-x;
  258. line-height: 32px;
  259. padding: 0 20px;
  260. overflow: hidden;
  261. }
  262. .crumbs p {
  263. background: url(../images/icon/arrow02.jpg) no-repeat left center;
  264. padding-left: 15px;
  265. float: left;
  266. font-weight: bold;
  267. }
  268. .crumbs-right {
  269. float: right;
  270. color: #333;
  271. }
  272. .crumbs-right a {
  273. color: #333;
  274. }
  275. .crumbs-right a:hover {
  276. color: #AE1C03;
  277. }
  278. .list-wrap {
  279. margin-top: 0;
  280. }
  281. .list-wrap li {
  282. padding: 0 15px;
  283. }
  284. .list-wrap li a {
  285. padding: 0 12px;
  286. background: url(../images/icon/dot.gif) no-repeat left center;
  287. }
  288. .list-wrap .list-title {
  289. width: calc(100% - 250px);
  290. }
  291. .content-left {
  292. width: calc(100% - 290px);
  293. background-color: transparent;
  294. border: 1px solid #D8E0E8;
  295. border-top: none;
  296. border-radius: 4px;
  297. }
  298. .content-right {
  299. width: 280px;
  300. }
  301. .content-right-item {
  302. background-color: #f6fcfc;
  303. border: 1px solid #d4d4d4;
  304. border-top: none;
  305. border-radius: 4px;
  306. margin-bottom: 10px;
  307. }
  308. .content-right-item h2 {
  309. background: url(../images/bg/bg-title-xww5.gif) repeat-x;
  310. width: 100%;
  311. height: 34px;
  312. color: #fff;
  313. font-size: 14px;
  314. }
  315. .content-right-item h2 p {
  316. background: url(../images/bg/bg-title-xww4.gif) no-repeat left bottom;
  317. height: 100%;
  318. width: 100%;
  319. line-height: 38px;
  320. padding-left: 26px;
  321. }
  322. .content-right-item ul {
  323. padding: 5px 0;
  324. }
  325. .content-right-item ul li {
  326. line-height: 30px;
  327. padding: 0 10px;
  328. }
  329. .content-right-item ul li a {
  330. padding-left: 12px;
  331. background: url(../images/icon/triangle-small.gif) no-repeat left center;
  332. }
  333. .content-right-item-relation a {
  334. color: #000;
  335. text-decoration: none;
  336. cursor: text;
  337. }
  338. .hasImg .list-title {
  339. padding-left: 16px;
  340. background: url(../images/icon/img-small.gif) no-repeat left center;
  341. background-size: 10px;
  342. }
  343. /* 正文页 */
  344. .article-bottom {
  345. padding: 20px;
  346. }
  347. .article-bottom p {
  348. line-height: 32px;
  349. overflow: hidden;
  350. text-overflow: ellipsis;
  351. white-space: nowrap;
  352. }
  353. .article-bottom span {
  354. color: #AE1C03;
  355. }
  356. .catalog {
  357. border: none;
  358. }
  359. .catalog-item {
  360. margin-bottom: 15px;
  361. border: 1px solid #D8E0E8;
  362. border-top: none;
  363. border-radius: 4px;
  364. padding-bottom: 10px;
  365. }
  366. .catalog-item:last-child {
  367. margin-bottom: 0;
  368. }
  369. /* 底部 */
  370. .footer {
  371. margin-top: 20px;
  372. }
  373. .footer-mesg {
  374. background: url(../images/bg/bg-nav-xww.jpg) repeat-x;
  375. background-size: contain;
  376. }
  377. .footer-link {
  378. background-color: #C1D6E3;
  379. line-height: 36px;
  380. }
  381. .footer-link ul {
  382. display: inline-block;
  383. }
  384. .footer-link ul li {
  385. display: inline-block;
  386. margin-right: 15px;
  387. }
  388. .mobile-nav-icon span {
  389. background-color: #C90303;
  390. }
  391. /* 响应式 */
  392. @media screen and (max-width: 1024px) {
  393. .header-img img {
  394. width: 100%;
  395. }
  396. }
  397. @media screen and (max-width: 980px) {
  398. .header-nav {
  399. background-repeat: repeat;
  400. background-position: left top;
  401. }
  402. .header-nav ul {
  403. height: auto;
  404. }
  405. /* flex布局,item元素补全 */
  406. .header-nav ul::after {
  407. content: "";
  408. width: 50%;
  409. }
  410. .content-item {
  411. width: 100% !important;
  412. }
  413. .content-col {
  414. width: 100% !important;
  415. }
  416. }
  417. @media screen and (max-width: 768px) {
  418. .content-item {
  419. width: 100%;
  420. }
  421. .content-tow-lines li {
  422. width: 100%;
  423. }
  424. .content-item-swiper ul {
  425. margin-left: 0;
  426. }
  427. .content-part>div {
  428. width: 100% !important;
  429. }
  430. }
  431. @media screen and (max-width: 640px) {
  432. .header-top {
  433. display: none;
  434. }
  435. .header-img {
  436. width: 100%;
  437. }
  438. .header-img img {
  439. width: auto;
  440. }
  441. .content-wrap li p {
  442. width: calc(100% - 100px);
  443. }
  444. .header-right {
  445. display: none;
  446. }
  447. .list-wrap .list-title {
  448. width: 100%;
  449. }
  450. .list-wrap li {
  451. padding: 5px 15px;
  452. }
  453. .list-wrap li a {
  454. background-position: left 14px;
  455. line-height: 28px;
  456. }
  457. }