rsc.css 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410
  1. body{
  2. color: #000;
  3. background-color: #e9f0f5;
  4. }
  5. a{
  6. color: #000;
  7. }
  8. a:hover{
  9. color: #ff1111;
  10. }
  11. .header-img{
  12. padding: 10px 0;
  13. position: relative;
  14. }
  15. .header-img img{
  16. width: auto;
  17. }
  18. .header-right{
  19. position: absolute;
  20. top: 50%;
  21. right: 30px;
  22. transform: translateY(-50%);
  23. padding: 10px 15px 10px 40px;
  24. background: #e6e6e6 url(../images/icon/home.png) no-repeat 15px center;
  25. background-size: 18px;
  26. border-radius: 30px;
  27. color: #5C5C5C;
  28. }
  29. /* 导航 */
  30. .header-nav{
  31. background: url(../images/bg/bg-nav-rsc.jpg) repeat-x center;
  32. }
  33. .header-nav ul{
  34. height: 40px;
  35. line-height: 40px;
  36. background-color: transparent;
  37. }
  38. .nav-secondLevel{
  39. top: 40px;
  40. }
  41. .header-nav li {
  42. background: url(../images/bg/bg-nav-rsc-line.jpg) no-repeat center right;
  43. }
  44. .header-nav li:last-child{
  45. background: none;
  46. }
  47. .header-nav li:hover a {
  48. background-color: rgba(0,101,169,.6);
  49. color: #fff;
  50. }
  51. .header-nav .nav-secondLevel li a{
  52. border-color: #07ade7;
  53. }
  54. .header-nav li a{
  55. position: relative;
  56. }
  57. .header-nav a i{
  58. width: 0;
  59. height: 0;
  60. border: 6px solid transparent;
  61. border-bottom-color: #fff;
  62. position: absolute;
  63. bottom: 0;
  64. left: 50%;
  65. transform: translateX(-50%);
  66. opacity: 0;
  67. }
  68. .header-nav li:hover a i{
  69. opacity: 1;
  70. }
  71. /* 主体 */
  72. .content{
  73. margin-top: 15px;
  74. }
  75. .content-row{
  76. display: flex;
  77. justify-content: space-between;
  78. flex-wrap: wrap;
  79. }
  80. .content-item{
  81. width: 33%;
  82. box-sizing: border-box;
  83. margin-bottom: 15px;
  84. padding: 10px;
  85. background-color: #fff;
  86. border-radius: 6px;
  87. box-shadow: 0 0 2px #777;
  88. }
  89. .content-item:nth-child(odd){
  90. width: 66%;
  91. }
  92. .content-item h2{
  93. height: 30px;
  94. line-height: 30px;
  95. font-size: 16px;
  96. background: url(../images/bg/bg-content-rsc.jpg) repeat-x center;
  97. background-size: contain;
  98. color: #fff;
  99. font-size: 14px;
  100. border-radius: 4px;
  101. overflow: hidden;
  102. padding: 0 15px;
  103. }
  104. .content-item h2 i{
  105. font-style: normal;
  106. font-weight: normal;
  107. padding: 0 3px;
  108. }
  109. .content-item h2 span{
  110. font-weight: normal;
  111. }
  112. .content-item h2 a{
  113. font-weight: normal;
  114. float: right;
  115. color: #fff;
  116. }
  117. .content-item h2 a:hover{
  118. color: #FF0000;
  119. }
  120. .content-item h2 a:hover .triangle{
  121. border-left-color: #FF0000;
  122. }
  123. .content-item h2 .triangle{
  124. display: inline-block;
  125. width: 0;
  126. height: 0;
  127. border: 7px solid transparent;
  128. border-left-color: #fff;
  129. vertical-align: middle;
  130. margin: -2px 0 0 2px;
  131. }
  132. .content-wrap ul li{
  133. height: 36px;
  134. line-height: 36px;
  135. margin: 0 10px;
  136. border-bottom: 1px dashed #ccc;
  137. padding-left: 16px;
  138. background: url(../images/icon/img1.gif)no-repeat left center;
  139. }
  140. .content-wrap li p{
  141. width: calc(100% - 130px);
  142. overflow: hidden;
  143. text-overflow: ellipsis;
  144. white-space: nowrap;
  145. float: left;
  146. }
  147. .content-item:nth-child(even) li p {
  148. width: calc(100% - 30px);
  149. }
  150. .content-item:nth-child(even) .list-time {
  151. display: none;
  152. }
  153. .content-wrap .list-time {
  154. float: right;
  155. /* color: #999; */
  156. }
  157. .content-wrap a:hover .list-time {
  158. color: #ff1111;
  159. }
  160. .content-tow-lines {
  161. flex-grow: 2;
  162. }
  163. .content-tow-lines ul{
  164. display: flex;
  165. justify-content: space-between;
  166. flex-wrap: wrap;
  167. }
  168. .content-tow-lines li{
  169. width: 48%;
  170. overflow: hidden;
  171. }
  172. .content-item-swiper ul{
  173. margin-left: 36%;
  174. margin-top: 5px;
  175. }
  176. /* 轮播 */
  177. .content-item-swiper .swiper-container{
  178. width: 35%;
  179. float: left;
  180. margin-top: 5px;
  181. }
  182. .swiper-pagination-bullet{
  183. width: 22px;
  184. height: 18px;
  185. line-height: 18px;
  186. border-radius: 2px;
  187. font-size: 12px;
  188. text-align: center;
  189. background-color: rgba(0, 0, 0, .6);
  190. color: #fff;
  191. }
  192. .swiper-pagination-bullet-active {
  193. color:#fff;
  194. background: rgba(7, 173, 231, .8);
  195. }
  196. .swiper-container-horizontal>.swiper-pagination-bullets{
  197. text-align: right;
  198. left: -3px;
  199. bottom: 3px;
  200. }
  201. .swiper-slide{
  202. position: relative;
  203. }
  204. .swiper-slide img{
  205. display: block;
  206. width: 100%;
  207. }
  208. .swiper-slide .swiper-title{
  209. position: absolute;
  210. left: 0;
  211. top: 0;
  212. height: 26px;
  213. line-height: 26px;
  214. background-color: #07ade7;
  215. color: #fff;
  216. padding: 0 10px;
  217. box-sizing: border-box;
  218. width: 100%;
  219. overflow: hidden;
  220. text-overflow: ellipsis;
  221. white-space: nowrap;
  222. text-align: center;
  223. }
  224. /* 列表页 */
  225. .content-list-wrap{
  226. border: 1px solid #1D60AE;
  227. background-color: #fff;
  228. }
  229. .crumbs{
  230. background-color: #0085CA;
  231. color: #fff;
  232. }
  233. .crumbs a{
  234. color: #fff;
  235. }
  236. /* 底部 */
  237. .footer{
  238. background: url(../images/bg/bg-foot-rsc.jpg);
  239. }
  240. .footer-mesg{
  241. background-color: transparent;
  242. }
  243. .footer-link{
  244. background-color: #C1D6E3;
  245. line-height: 36px;
  246. }
  247. .footer-link ul{
  248. display: inline-block;
  249. }
  250. .footer-link ul li{
  251. display: inline-block;
  252. margin-right: 15px;
  253. }
  254. .mobile-nav-icon span{
  255. background-color: #07ade7;
  256. }
  257. .mobile-header-nav>ul{
  258. background-color: #07ade7;
  259. }
  260. .mobile-header-nav>ul>li {
  261. background-color: #07ade7;
  262. }
  263. .mobile-header-nav li a {
  264. border-color: #21b5e8;
  265. }
  266. .mobile-header-nav .nav-secondLevel{
  267. background-color: #2a8fb3;
  268. }
  269. .mobile-header-nav .nav-threeLevel {
  270. background-color: #6dbedc;
  271. }
  272. /* 响应式 */
  273. @media screen and (max-width: 1024px) {
  274. .content-tow-lines li{
  275. width: 47%;
  276. }
  277. }
  278. @media screen and (max-width: 980px) {
  279. .header-nav{
  280. background-repeat: repeat;
  281. background-position: left top;
  282. }
  283. .header-nav ul{
  284. height: auto;
  285. }
  286. /* flex布局,item元素补全 */
  287. .header-nav ul::after{
  288. content: "";
  289. width: 50%;
  290. }
  291. .content-item{
  292. width: 100% !important;
  293. }
  294. .header-right{
  295. right: 100px;
  296. }
  297. .header{
  298. background-color: #e9f0f5;
  299. }
  300. .header-img{
  301. padding: 0;
  302. }
  303. .header-img img{
  304. padding: 10px 0;
  305. }
  306. }
  307. @media screen and (max-width: 768px) {
  308. .content-item{
  309. width: 100%;
  310. }
  311. .content-tow-lines li{
  312. width: 100%;
  313. }
  314. /* 轮播 */
  315. .content-item-swiper .swiper-container{
  316. width: 100%;
  317. float: inherit;
  318. }
  319. .content-item-swiper ul{
  320. margin-left: 0;
  321. }
  322. }
  323. @media screen and (max-width: 640px) {
  324. .header-img{
  325. width: 100%;
  326. }
  327. .content-wrap li p{
  328. width: calc(100% - 100px);
  329. }
  330. .header-right{
  331. display: none;
  332. }
  333. }