dwzzb.css 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267
  1. body{
  2. color: #675303;
  3. background-color: #F1EEC2;
  4. }
  5. a{
  6. color: #675303;
  7. }
  8. a:hover{
  9. color: #FF1111;
  10. }
  11. /* 导航 */
  12. .header-nav{
  13. height: 50px;
  14. background: url(../images/bg/bg-header.jpg) repeat-x center bottom;
  15. }
  16. .header-nav ul{
  17. background-color: #c71e25;
  18. }
  19. .nav-secondLevel{
  20. top: 40px;
  21. }
  22. /* 中间部分 */
  23. .content{
  24. background-color: #f7f5dc;
  25. padding-top: 10px;
  26. }
  27. .content-row{
  28. overflow: hidden;
  29. padding-bottom: 20px;
  30. }
  31. .content-item{
  32. box-sizing: border-box;
  33. background: url(../images/bg/bg-top.png) no-repeat left top;
  34. width: 30.33%;
  35. float: left;
  36. margin: 10px 0 0 2.3%;
  37. }
  38. .content-wrap{
  39. background: url(../images/bg/bg-bottom.png) no-repeat right bottom;
  40. width: 100%;
  41. height: 364px;
  42. min-height: 364px;
  43. padding: 25px;
  44. }
  45. .content-wrap h2{
  46. font-size: 16px;
  47. margin: 2px 0 10px 10px;
  48. }
  49. .content-wrap h2 a{
  50. font-size: 14px;
  51. font-weight: normal;
  52. float: right;
  53. }
  54. .content-wrap li{
  55. height: 36px;
  56. line-height: 36px;
  57. border-bottom: 1px dashed #ccc;
  58. }
  59. .content-wrap li p{
  60. overflow: hidden;
  61. text-overflow:ellipsis;
  62. white-space: nowrap;
  63. width: calc(100% - 100px);
  64. float: left;
  65. }
  66. .content-wrap li:hover a{
  67. color: #FF1111;
  68. }
  69. .content-wrap .list-time{
  70. float: right;
  71. }
  72. /* 友情链接 */
  73. .footer-link{
  74. border-top: 1px solid #D3A005;
  75. background-color: #f7f5dc;
  76. padding: 12px 20px;
  77. }
  78. .footer-link ul{
  79. display: inline-block;
  80. }
  81. .footer-link ul li{
  82. display: inline-block;
  83. border-right: 1px solid #675303;
  84. padding-right: 8px;
  85. margin-right: 4px;
  86. }
  87. .footer-link ul li:last-child{
  88. border-right: none;
  89. }
  90. .footer-link ul li:hover a{
  91. color: #FF1111;
  92. }
  93. /* 底部 */
  94. .footer-mesg{
  95. background-color: #ae8f32;
  96. }
  97. /* 轮播 */
  98. .swiper-container {
  99. width: 315px;
  100. height: 315px;
  101. }
  102. .swiper-slide {
  103. width: 315px;
  104. height: 315px;
  105. }
  106. .swiper-slide a{
  107. display: block;
  108. width: 100%;
  109. height: 100%;
  110. background-position: center;
  111. background-size: cover;
  112. }
  113. .swiper-pagination-bullet{
  114. width: 10px;
  115. height: 10px;
  116. background-color: #fff;
  117. opacity: 1;
  118. }
  119. .swiper-pagination-bullet-active{
  120. background-color: #c71e25;
  121. }
  122. .swiper-button-next,
  123. .swiper-button-prev{
  124. background-color: rgba(0, 0, 0, .3);
  125. opacity: 0;
  126. }
  127. .swiper-title{
  128. box-sizing: border-box;
  129. width: 100%;
  130. padding: 0 10px;
  131. overflow: hidden;
  132. text-overflow: ellipsis;
  133. white-space: nowrap;
  134. background-color: #ae8f32;
  135. color: #fff;
  136. line-height: 26px;
  137. text-align: center;
  138. }
  139. /* 列表页 */
  140. .content-list-wrap{
  141. border: 1px solid #DBD162;
  142. }
  143. /* 面包屑 */
  144. .crumbs{
  145. background-color: #E9E39E;
  146. }
  147. /* 响应式 */
  148. .mobile-nav-icon{
  149. top: calc(50% - 5px);
  150. }
  151. @media screen and (max-width: 1200px) {
  152. .swiper-container,.swiper-slide{
  153. width: 100%;
  154. height: 100%;
  155. }
  156. }
  157. @media screen and (max-width: 980px) {
  158. .header-img{
  159. padding-bottom: 10px;
  160. background: url(../images/bg/bg-header.jpg) repeat-x center bottom;
  161. }
  162. /* 导航 */
  163. .header-nav{
  164. top: -10px;
  165. height: auto;
  166. }
  167. .header-nav ul{
  168. padding-bottom: 30px;
  169. background: #c71e25 url(../images/bg/bg-header.jpg) repeat-x center bottom;
  170. }
  171. /* 主体 */
  172. .content{
  173. padding-bottom: 20px;
  174. }
  175. .content:after{
  176. content:".";
  177. display:block;
  178. height:0;
  179. clear:both;
  180. visibility:hidden;
  181. }
  182. .content-item{
  183. width: 47%;
  184. }
  185. .content-row{
  186. overflow: inherit;
  187. }
  188. }
  189. @media screen and (max-width: 768px) {
  190. .wrap{
  191. width: 98%;
  192. }
  193. }
  194. @media screen and (max-width: 640px) {
  195. .header{
  196. width: 100%;
  197. }
  198. .header-img{
  199. height: 80px;
  200. }
  201. .mobile-nav-icon{
  202. right: 18px;
  203. }
  204. .content{
  205. margin-top: 80px;
  206. }
  207. .content-item{
  208. width: 94%;
  209. margin-left: 3%;
  210. margin-right: 3%;
  211. }
  212. .footer-link ul li{
  213. margin-top: 10px;
  214. }
  215. }