style.css 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. }
  5. .w {
  6. width: 1200px;
  7. margin: auto;
  8. }
  9. li {
  10. list-style: none;
  11. }
  12. a {
  13. text-decoration: none;
  14. }
  15. .clearfix:before,
  16. .clearfix:after {
  17. content: "";
  18. display: table;
  19. }
  20. .clearfix:after {
  21. clear: both;
  22. }
  23. .clearfix {
  24. *zoom: 1;
  25. }
  26. .header {
  27. height: 42px;
  28. /*background-color: pink;*/
  29. margin: 30px auto;
  30. }
  31. .header img {
  32. float: left;
  33. margin-right: 10px;
  34. }
  35. body {
  36. background-color: #f3f5f7;
  37. }
  38. .nav ul li a {
  39. float: left;
  40. line-height: 42px;
  41. margin-left: 45px;
  42. font-size: 18px;
  43. color: #050505;
  44. }
  45. .nav ul li a:hover {
  46. border-bottom: 2px solid #00a4ff;
  47. }
  48. .search input {
  49. float: left;
  50. height: 38px;
  51. width: 360px;
  52. margin-left: 95px;
  53. border: 1px solid #00a4ff;
  54. border-right: 0px;
  55. }
  56. .search button {
  57. float: left;
  58. border: none;
  59. height: 40px;
  60. width: 50px;
  61. background: url(images/04.jpg);
  62. }
  63. .user {
  64. float: left;
  65. font-size: 14px;
  66. border-left: 30px;
  67. margin-left: 35px;
  68. color: #00a4ff;
  69. line-height: 40px;
  70. color: #00a4ff;
  71. }
  72. .banner {
  73. height:420px;
  74. background: #1c036c url(images/06.jpg) no-repeat top center;
  75. }
  76. .left {
  77. float: left;
  78. width: 150px;
  79. height: 420px;
  80. padding: 0 20px;
  81. background: rgba(0,0,0,.3);
  82. }
  83. .left ul li {
  84. height: 45px;
  85. line-height: 45px;
  86. }
  87. .left ul li a {
  88. color: #fff;
  89. font-size: 14px;
  90. }
  91. .left ul li span {
  92. float: right;
  93. }
  94. .left ul li a:hover {
  95. color: #00a4ff;
  96. }
  97. .right {
  98. float: right;
  99. width: 230px;
  100. height: 300px;
  101. margin-top: 50px;
  102. background: #fff;
  103. }
  104. .right .hd {
  105. height: 48px;
  106. background: #9bceea;
  107. line-height: 48px;
  108. text-align: center;
  109. font-size: 18px;
  110. font-weight: 700;
  111. color: #fff;
  112. }
  113. .bd ul li {
  114. padding: 15px 20px;
  115. border-bottom: 1px solid #a5a5a5;
  116. }
  117. .bd h4 {
  118. font-size: 14px;
  119. font-weight: 400;
  120. color: #000;
  121. }
  122. .bd p {
  123. font-size: 12px;
  124. color: #a5a5a5;
  125. }
  126. .bd a {
  127. display: block;
  128. font-size: 16px;
  129. font-weight: 700;
  130. color: #00a4ff;
  131. height: 38px;
  132. width: 198px;
  133. line-height: 38px;
  134. text-align: center;
  135. margin: 0px auto;
  136. margin-top: 6px;
  137. border: 2px solid #00a4ff;
  138. }
  139. .bd a:hover {
  140. background: #00a4ff;
  141. color: #fff;
  142. }
  143. .goods {
  144. margin-top: 10px;
  145. height: 60px;
  146. line-height: 60px;
  147. background: #fff;
  148. }
  149. .goods .J {
  150. color: #ccc;
  151. }
  152. .goods .jing a {
  153. float: left;
  154. font-weight: 700;
  155. font-size: 16px;
  156. padding: 0px 32px;
  157. color: #00a4ff;
  158. }
  159. .goods ul li {
  160. float: left;
  161. }
  162. .goods ul li a {
  163. padding: 0px 36px;
  164. font-size: 16px;
  165. color: #6d6d6d;
  166. }
  167. .goods ul li a:hover {
  168. color: #00a4ff;
  169. }
  170. .change a {
  171. float: right;
  172. color : #00a4ff;
  173. font-size: 14px;
  174. padding-right: 25px;
  175. }
  176. .box-hd {
  177. height: 20px;
  178. margin: 25px 0px;
  179. }
  180. .box .one {
  181. float: left;
  182. font-size: 20px;
  183. color: #6d6d6d;
  184. }
  185. .box .two {
  186. float: right;
  187. padding-top: 10px;
  188. font-size: 12px;
  189. color: #a5a5a5;
  190. }
  191. .box-bd {
  192. width: 1215px;
  193. }
  194. .box-bd li {
  195. float: left;
  196. width: 228px;
  197. height: 270px;
  198. margin-right: 15px;
  199. margin-bottom: 15px;
  200. background: #fff;
  201. }
  202. .box-bd h4 {
  203. font-size: 14px;
  204. margin: 20px;
  205. font-weight: 400;
  206. }
  207. .box-bd li p {
  208. font-size: 12px;
  209. margin-left: 20px;
  210. color: #ccc;
  211. }
  212. .box-bd p span {
  213. color: orange;
  214. }
  215. .footer {
  216. height: 415px;
  217. background-color: #fff;
  218. }
  219. .footer .left {
  220. width: 430px;
  221. background: #fff;
  222. }
  223. .footer .left img {
  224. margin: 25px 0px;
  225. }
  226. .footer .left p {
  227. font-size: 12px;
  228. color: #666;
  229. }
  230. .footer .left a {
  231. display: block;
  232. width: 118px;
  233. height: 34px;
  234. line-height: 34px;
  235. margin: 20px 0 0 0;
  236. text-align: center;
  237. color: #00a4ff;
  238. border: 2px solid #00a4ff;
  239. }
  240. .footer .left a:hover {
  241. color: #fff;
  242. background: #00a4ff;
  243. }
  244. .footer .right {
  245. float: right;
  246. width: 500px;
  247. }
  248. .footer .right dl {
  249. float: left;
  250. margin-left: 100px;
  251. }
  252. .footer .right dt {
  253. height: 35px;
  254. font-size: 16px;
  255. color: #333;
  256. }
  257. .right dd a{
  258. font-size: 12px;
  259. color: #333;
  260. }
  261. .right dd a:hover {
  262. color: #00a4ff;
  263. }