index.css 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. list-style: none;
  5. text-decoration: none;
  6. box-sizing: border-box;
  7. }
  8. .header {
  9. width: 100%;
  10. }
  11. .header .headerMain {
  12. width: 1260px;
  13. height: 73px;
  14. margin: 0 auto;
  15. overflow: hidden;
  16. position: relative;
  17. }
  18. .header .headerMain .logoList {
  19. width: 153px;
  20. height: 100%;
  21. float: left;
  22. padding-top: 15px;
  23. }
  24. .header .headerMain .logoList .logo {
  25. width: 153px;
  26. height: 46px;
  27. background: url(../images/soso.png);
  28. background-position: 221px top;
  29. }
  30. .header .headerMain .list {
  31. width: 361px;
  32. height: 100%;
  33. float: left;
  34. margin-left: 72px;
  35. line-height: 73px;
  36. }
  37. .header .headerMain .list ul {
  38. overflow: hidden;
  39. }
  40. .header .headerMain .list ul li {
  41. float: left;
  42. margin-left: 30px;
  43. }
  44. .header .headerMain .list ul li:first-child {
  45. margin-left: 0;
  46. }
  47. .header .headerMain .list ul li a {
  48. color: #000;
  49. font-size: 16px;
  50. }
  51. .header .headerMain .list ul li a:hover {
  52. color: #31ccff;
  53. }
  54. .active {
  55. color: #31ccff !important;
  56. }
  57. .tips {
  58. width: 39px;
  59. height: 16px;
  60. color: #999999;
  61. font-size: 12px;
  62. background: #F5F7F9;
  63. line-height: 16px;
  64. text-align: center;
  65. border-radius: 8px;
  66. border:1px solid #dddddd;
  67. position: absolute;
  68. top: 11px;
  69. left: 531px;
  70. }
  71. .header .headerMain .btn {
  72. width: 674px;
  73. height: 100%;
  74. float: left;
  75. padding-top: 17px;
  76. }
  77. .header .headerMain .btn .login {
  78. width: 102px;
  79. height: 38px;
  80. background-color: #1EBCF0;
  81. color: #fff;
  82. font-size: 16px;
  83. text-align: center;
  84. line-height: 38px;
  85. border-radius: 4px;
  86. float: right;
  87. }
  88. .main {
  89. position: relative;
  90. }
  91. .main .banner {
  92. width: 100%;
  93. height: 482px;
  94. background: url("../images/banner.jpg");
  95. }
  96. .main .search {
  97. width: 692px;
  98. height: 58px;
  99. /* alpha 0~1 */
  100. /* rgba(0,0,0,alpha) */
  101. background: rgb(0,0,0,.2);
  102. /* opacity: 0.2; */
  103. position: absolute;
  104. top: 218px;
  105. left: 610px;
  106. border-radius: 4px;
  107. overflow: hidden;
  108. }
  109. .main .search input {
  110. width: 588px;
  111. height: 50px;
  112. background: #fff;
  113. opacity: 0.8;
  114. padding: 16px;
  115. float: left;
  116. margin-top: 4px;
  117. outline: none;
  118. margin-left: 6px;
  119. border: none;
  120. border-top-left-radius: 4px;
  121. border-bottom-left-radius:4px;
  122. border: 1px solid #ccc;
  123. }
  124. .main .search img {
  125. float: left;
  126. width: 94px;
  127. height: 50px;
  128. margin-top: 4px;
  129. }