header.css 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. /* header */
  2. .header {
  3. color:#333;
  4. height: 64px;
  5. line-height: 64px;
  6. background-color: #f9f9f9;
  7. }
  8. .header div>div{
  9. margin-left: 30px;
  10. float:right;
  11. }
  12. .header ul li {
  13. float: left;
  14. margin: 0 10px;
  15. }
  16. .header a{
  17. color:#333;
  18. }
  19. .header .colorRed{
  20. color: #ff570c;
  21. }
  22. /* 导航 */
  23. .navHeader {
  24. background: #ffffff;
  25. line-height: 90px;
  26. height: 90px;
  27. }
  28. .navHeader .nav ul li img {
  29. width: 30px;
  30. height: 30px;
  31. position: absolute;
  32. right: 0px;
  33. top: 9px;
  34. }
  35. .navHeader .logo {
  36. float: left;
  37. padding-left: 20px;
  38. }
  39. .navHeader .logo_right {
  40. margin-top: 8px;
  41. float: left;
  42. padding-left: 20px;
  43. width: 120px;
  44. height: 75px;
  45. background: url("../../../img/index_xuan.png") no-repeat center center;
  46. margin-left: 10px;
  47. }
  48. .navHeader .nav {
  49. float: left;
  50. padding-left: 70px;
  51. }
  52. .navHeader .nav>ul>li {
  53. float: left;
  54. width: 120px;
  55. text-align: center;
  56. line-height: 90px;
  57. position: relative;
  58. }
  59. .navHeader .nav>ul>li>a {
  60. color: #074d88;
  61. width: 120px;
  62. line-height: 90px;
  63. display: inline-block;
  64. font-size: 20px;
  65. }
  66. .navHeader .nav>ul>li:hover a {
  67. color: #074F88;
  68. }
  69. .active a {
  70. color: #074F88!important;
  71. }
  72. /*2级导航*/
  73. .navHeader .nav ul li .subnavigation {
  74. width: 120px;
  75. position: absolute;
  76. top: 76px;
  77. z-index: 9999;
  78. background: #ffffff;
  79. display: none;
  80. padding-top: 18px;
  81. padding-bottom: 15px;
  82. box-shadow: 0 0 10px #ccc;
  83. }
  84. .subnavigation li>a {
  85. width: 120px;
  86. height: 30px;
  87. line-height: 30px;
  88. display: inline-block;
  89. color: #333333;
  90. }
  91. .subnavigation li:hover a {
  92. background: rgba(100, 100, 100, .7);
  93. color: #ffffff;
  94. }
  95. .subnavigation li {
  96. height: 30px;
  97. line-height: 30px;
  98. }
  99. /*hot*/
  100. .nav ul li:hover img {
  101. animation: hot 1s infinite linear;
  102. transition: all 1s;
  103. }
  104. @keyframes hot {
  105. 0% {
  106. width: 30px;
  107. height: 30px;
  108. }
  109. 25% {
  110. width: 25px;
  111. height: 25px;
  112. top: 9px;
  113. }
  114. 50% {
  115. width: 30px;
  116. height: 30px;
  117. }
  118. 100% {
  119. width: 25px;
  120. height: 25px;
  121. top: 9px;
  122. }
  123. }
  124. .navHeader .nav_right{
  125. float: right;
  126. color:#ff570c;
  127. }
  128. .navHeader .nav_right img{
  129. width: 82px;
  130. height: 62px;
  131. margin-right: 14px;
  132. }