index.css 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. list-style: none;
  5. text-decoration: none;
  6. box-sizing: border-box;
  7. }
  8. .box {
  9. width: 1000px;
  10. height: 892px;
  11. margin: 0 auto;
  12. border:1px solid #000;
  13. }
  14. .contain {
  15. width: 958px;
  16. height: 100%;
  17. margin: 0 auto;
  18. padding-top: 20px;
  19. }
  20. #header {
  21. width: 100%;
  22. height: 55px;
  23. border-bottom: 2px solid #f00;
  24. }
  25. #header-left {
  26. width: 125px;
  27. height: 45px;
  28. float: left;
  29. }
  30. #header-left img {
  31. width: 100%;
  32. height: 100%;
  33. }
  34. #header-right {
  35. width: 561px;
  36. height: 40px;
  37. float: right;
  38. }
  39. #header-right #picture1 {
  40. width: 430px;
  41. height: 40px;
  42. }
  43. #header-right #picture2 {
  44. width: 123px;
  45. height: 36px;
  46. margin-left: 2px;
  47. }
  48. #main {
  49. width: 100%;
  50. height: 700px;
  51. padding-top: 15px;
  52. /* background: pink; */
  53. }
  54. #part1 {
  55. width: 100%;
  56. height: 40px;
  57. background: #fff;
  58. }
  59. #part1 .list {
  60. width: 150px;
  61. height: 40px;
  62. float: left;
  63. border-right: 1px solid #ccc;
  64. }
  65. #part1 .list ul {
  66. overflow: hidden;
  67. height: 20px;
  68. /* 行间距 让文字在已知高度盒子内垂直居中 则行间距值为当前盒子高度 */
  69. line-height: 20px;
  70. }
  71. #part1 .list ul li {
  72. float: left;
  73. margin-left: 8px;
  74. }
  75. #part1 .list:first-child li:first-child {
  76. margin-left: 0;
  77. }
  78. #part1 .list ul li a{
  79. color: #000;
  80. font-size: 12px;
  81. }
  82. #part1 .list ul li a:hover {
  83. color: red;
  84. }
  85. #part1 .list1 {
  86. width: 127px;
  87. height: 40px;
  88. float: left;
  89. border-right: 1px solid #ccc;
  90. }
  91. #part1 .list1 ul {
  92. overflow: hidden;
  93. height: 20px;
  94. /* 行间距 让文字在已知高度盒子内垂直居中 则行间距值为当前盒子高度 */
  95. line-height: 20px;
  96. }
  97. #part1 .list1 ul li {
  98. float: left;
  99. margin-left: 8px;
  100. }
  101. #part1 .list1 ul li a{
  102. color: #000;
  103. font-size: 12px;
  104. }
  105. #part1 .list1 ul li a:hover {
  106. color: red;
  107. }
  108. #part2 {
  109. width: 100%;
  110. height: 97px;
  111. margin-top: 20px;
  112. background: url('./images/4.png') no-repeat center center;
  113. background-size: cover;
  114. }
  115. #part3 {
  116. overflow: hidden;
  117. margin-top: 22px;
  118. }
  119. #part3 .left {
  120. width: 632px;
  121. height: 464px;
  122. float: left;
  123. border-top: 1px solid #eee;
  124. overflow: hidden;
  125. }
  126. #part3 .left .music {
  127. width: 210px;
  128. height: 453px;
  129. float: left;
  130. }
  131. #part3 .left .music .tip1 {
  132. width: 100%;
  133. height: 40px;
  134. }
  135. #part3 .left .music .tip1 ul {
  136. overflow: hidden;
  137. height: 100%;
  138. line-height: 40px;
  139. }
  140. #part3 .left .music .tip1 ul li {
  141. width: 105px;
  142. height: 100%;
  143. float: left;
  144. }
  145. #part3 .left .music .tip1 ul li a {
  146. font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  147. }
  148. #part3 .left .music .tip1 ul li:first-child {
  149. border-top: 2px solid #f00;
  150. }
  151. #part3 .left .music .tip1 ul li:first-child a {
  152. font-size: 26px;
  153. font-weight: bold;
  154. }
  155. #part3 .left .music .tip1 ul li img{
  156. width: 24px;
  157. height: 24px;
  158. }
  159. #part3 .left .music .tip2 {
  160. width: 202px;
  161. height: 172px;
  162. margin-top: 28px;
  163. }
  164. #part3 .left .music .tip2 dt {
  165. width: 202px;
  166. height: 126px;
  167. }
  168. #part3 .left .music .tip2 dt img {
  169. width: 100%;
  170. height: 100%;
  171. }
  172. #part3 .left .music .tip2 dd {
  173. width: 187px;
  174. height: 37px;
  175. font-size: 14px;
  176. }
  177. #part3 .left .message {
  178. float: right;
  179. }
  180. #part3 .left .message #star {
  181. width: 398px;
  182. height: 20px;
  183. margin-top: 20px;
  184. color: #ccc;
  185. font-size: 13px;
  186. /* 文本水平位置 */
  187. text-align: right;
  188. line-height: 20px;
  189. }
  190. #part3 .left .message #together {
  191. width: 384px;
  192. height: 182px;
  193. margin-top: 30px;
  194. }
  195. #part3 .left .message #together ul li{
  196. overflow: hidden;
  197. line-height: 30px;
  198. }
  199. #part3 .left .message #together ul li:first-child a {
  200. font-weight: bold;
  201. }
  202. #part3 .left .message #together ul li span {
  203. display: block;
  204. width: 5px;
  205. height: 5px;
  206. background: #ccc;
  207. border-radius: 50%;
  208. float: left;
  209. margin-top: 15px;
  210. }
  211. #part3 .left .message #together ul li a {
  212. color: #000;
  213. font-size: 16px;
  214. float: left;
  215. margin-left: 5px;
  216. }
  217. #part3 .left .message #together ul li:hover a {
  218. color: red;
  219. }
  220. #part3 .left .message #together ul li:hover span {
  221. background: #f00;
  222. }
  223. #part3 .right {
  224. width: 302px;
  225. height: 478px;
  226. float: right;
  227. background: rgb(87, 215, 232);
  228. }
  229. #footer {
  230. width: 100%;
  231. height: 114px;
  232. background: plum;
  233. }