navgation.css 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  1. .navgation {
  2. width:1920px;
  3. margin: 0 auto;
  4. }
  5. .navgation_head {
  6. background-color: #0E79CB;
  7. margin: auto;
  8. height: 80px;
  9. }
  10. .navgation_headSpan {
  11. width: 31px;
  12. float: left;
  13. margin-top: 22px;
  14. margin-left: 14px;
  15. }
  16. .navgation_headSpan img {
  17. width:inherit;
  18. }
  19. .navgation_head_logo {
  20. width: 99px;
  21. margin-left: 61px;
  22. background-color: #000000;
  23. height: 59px;
  24. float: left;
  25. color: #FFF;
  26. font-size: 18px;
  27. text-align: center;
  28. line-height: 56px;
  29. font-weight: bolder;
  30. margin-top: 10px;
  31. }
  32. .navgation_head_left {
  33. width: 1070px;
  34. float: left;
  35. height: 80px;
  36. }
  37. .navgation_head_left > ul > li:hover {
  38. border-bottom: 4px solid #FFDB8F;
  39. color: #FFDB8F;
  40. padding-bottom: 22px;
  41. }
  42. .navgation_head_left ul {
  43. margin: 0;
  44. padding:0;
  45. }
  46. .navgation_head_left > ul > li {
  47. float: left;
  48. list-style-type: none;
  49. font-size: 22px;
  50. color: #FFF;
  51. padding: 25px;
  52. font-family: 微软雅黑;
  53. cursor: pointer;
  54. margin-left: 60px;
  55. }
  56. .navgation_head_search {
  57. width: 316px;
  58. float: left;
  59. margin-left: 10px;
  60. margin-top: 26px;
  61. }
  62. .navgation_head_search > img {
  63. width: 22px;
  64. height: 20px;
  65. margin-left: 3%;
  66. padding: 6px 8px 6px 6px;
  67. background-color: white;
  68. border-top-left-radius: 3px;
  69. border-bottom-left-radius: 3px;
  70. float: left;
  71. }
  72. .search {
  73. width: 252px;
  74. height: 32px;
  75. float: left;
  76. outline: medium;
  77. border-top-right-radius: 3px;
  78. border-bottom-right-radius: 3px;
  79. border: none;
  80. /*background-image:url("http://d.1473.cn/controls/pc/navgation/search_s.png") no-repeat;
  81. background-size:34px 34px;*/
  82. padding:1px 0;
  83. }
  84. .navgation_head_right {
  85. position: relative;
  86. float: right;
  87. margin-top: 24px;
  88. right: 50px;
  89. width: 126px;
  90. }
  91. .navgation_head_login {
  92. margin-top: 0.8px;
  93. float: left;
  94. font-size: 22px;
  95. padding-right: 10%;
  96. border-right: 1px solid #FFF;
  97. color: #FFF;
  98. cursor: pointer;
  99. font-family: 微软雅黑;
  100. }
  101. .navgation_head_register {
  102. margin-top: 0.8px;
  103. float: left;
  104. font-size: 22px;
  105. padding-left: 10%;
  106. color: #FFF;
  107. cursor: pointer;
  108. font-family: 微软雅黑;
  109. }
  110. .navgation_content {
  111. font-size: 36px;
  112. padding-top: 100px;
  113. padding-bottom: 100px;
  114. background-color: #FFF;
  115. text-align: center;
  116. }
  117. body {
  118. margin: 0px;
  119. }
  120. .navgation_headSpan {
  121. display:none
  122. }
  123. .navgation_headSearch {
  124. display:none
  125. }
  126. @media only screen and (max-width:545px) {
  127. .navgation {
  128. width:inherit;
  129. }
  130. .navgation_head_left {
  131. clear: both;
  132. background: #0E79CB;
  133. width: initial;
  134. height: initial;
  135. margin-top: 18px;
  136. display:none;
  137. }
  138. .navgation_head_left > ul > li {
  139. float: none;
  140. margin: 0;
  141. padding: 0;
  142. height: 46px;
  143. width: 140px;
  144. font-size: 15px;
  145. line-height: 40px;
  146. /*text-indent: 13px;*/
  147. }
  148. .navgation_head_left > ul > li a{
  149. padding-left: 16px;
  150. }
  151. .navgation_head_left > ul > li:hover a{
  152. border-left:3px solid #FFDB8F;
  153. padding-left:13px;
  154. }
  155. .navgation_head_search {
  156. display: none;
  157. }
  158. .navgation_head_right {
  159. display: none;
  160. }
  161. .navgation_head_left > ul > li:hover {
  162. border-bottom: none;
  163. color: #FFDB8F;
  164. padding-bottom: 0px;
  165. background: #0C68AE;
  166. }
  167. .navgation_head_logo{
  168. width: 93px;
  169. margin-left: -93px;
  170. background-color: #000000;
  171. height: 47px;
  172. float: left;
  173. color: #FFF;
  174. font-size: 18px;
  175. text-align: center;
  176. line-height: 50px;
  177. font-weight: bolder;
  178. margin-top: 15px;
  179. position: relative;
  180. left: 50%;
  181. }
  182. .navgation_headSpan {
  183. display:block
  184. }
  185. .navgation_headSearch {
  186. display:block
  187. }
  188. }
  189. .navgation_headSearch {width: 34px;position: absolute;top: 21px;right: 26px;}
  190. .navgation_headSearch img {
  191. width:inherit;
  192. }