basic.css 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289
  1. /*************basic*************/
  2. *{
  3. margin:0;
  4. padding:0;
  5. }
  6. body{
  7. font-size:14px;
  8. font-family: Microsoft Yahei, "微软雅黑", Arial;
  9. color:#333;
  10. }
  11. a {
  12. text-decoration:none;
  13. }
  14. img {
  15. border:0;
  16. }
  17. .left {
  18. text-align:left;
  19. }
  20. .right {
  21. text-align:right;
  22. }
  23. .center {
  24. text-align:center;
  25. }
  26. .clear {
  27. clear:both;
  28. }
  29. h1 {
  30. font-size:16px;
  31. }
  32. h2 {
  33. font-size:14px;
  34. }
  35. ul{
  36. list-style-type:none;
  37. }
  38. input,select{
  39. vertical-align:middle;
  40. }
  41. /*************layout -- header*************/
  42. #header{
  43. background:url("../images/bg_header.jpg") repeat-x top;
  44. background-color:#fefefd;
  45. }
  46. #header .top{
  47. height:81px;
  48. margin:0 auto;
  49. position:relative;
  50. }
  51. #header .top .logo{
  52. position:absolute;
  53. top:18px;
  54. left:20px;
  55. font-size:30px;
  56. }
  57. #header .top .logo a{
  58. color:#333;
  59. }
  60. #header .top .logo img{
  61. height:40px;
  62. }
  63. #header .top .topinfo{
  64. height:29px;
  65. line-height:29px;
  66. position:absolute;
  67. top:52px;
  68. right:0;
  69. padding-right:5px;
  70. color:#6e6e6e;
  71. font-size:14px;
  72. }
  73. #header .top .topinfo a{
  74. color:#aa0000;
  75. }
  76. #header .top .topinfo a:hover{
  77. text-decoration:underline;
  78. }
  79. #header .top .topinfo2{
  80. height:29px;
  81. line-height:29px;
  82. position:absolute;
  83. top:12px;
  84. right:0;
  85. padding-right:5px;
  86. color:#6e6e6e;
  87. font-size:14px;
  88. }
  89. #header .top .topinfo2 a{
  90. color:#aa0000;
  91. }
  92. #header .top .topinfo2 a:hover{
  93. text-decoration:underline;
  94. }
  95. #header #topmenu{
  96. height:60px;
  97. margin:0 auto;
  98. position:relative;
  99. }
  100. #topmenu ul{
  101. padding-left:10px;
  102. height:40px;
  103. line-height:40px;
  104. position:absolute;
  105. top:18px;
  106. }
  107. #topmenu li{
  108. float:left;
  109. font-weight:bold;
  110. font-size:14px;
  111. }
  112. #topmenu li a{
  113. display:block;
  114. padding:0 25px;
  115. color:#f4f4f4;
  116. }
  117. #topmenu li a.last{
  118. padding:0 5px;
  119. }
  120. #topmenu li a.active{
  121. background-color:#fefefd;
  122. border-top:2px solid #9bccee;
  123. color:#052848;
  124. }
  125. /*************layout -- footer*************/
  126. #footer {
  127. position:fixed;
  128. _position:absolute;
  129. z-index:1000;
  130. top:100%;
  131. width:100%;
  132. margin-top:-36px;
  133. height:36px;
  134. background-color:#9bccee;
  135. color:#666;
  136. line-height:36px;
  137. text-align:center;
  138. }
  139. #footer a{
  140. color:#666;
  141. }
  142. #footer a:hover{
  143. text-decoration:underline;
  144. }
  145. #footer .copyright{
  146. float:left;
  147. width:300px;
  148. text-align:left;
  149. padding-left:20px;
  150. }
  151. #footer .info{
  152. float:right;
  153. width:300px;
  154. text-align:right;
  155. padding-right:20px;
  156. }
  157. /********layout -- 核心区域**********/
  158. #container {
  159. margin:20px auto;
  160. background-color:#fefefd;
  161. }
  162. #maincontent {/**带左侧菜单**/
  163. width:80%;
  164. float:left;
  165. margin-left:20px;
  166. padding-bottom:50px;
  167. }
  168. #allcontent {/**不带左侧菜单**/
  169. width:98%;
  170. margin:0 auto;
  171. padding-bottom:50px;
  172. }
  173. #container .infotitle{
  174. font-weight:bold;
  175. text-align:center;
  176. font-size:26px;
  177. margin:20px 0;
  178. }
  179. /********layout -- 左侧子菜单**********/
  180. #leftmenu{
  181. width:18%;
  182. float:left;
  183. background-color:#0c72b8;
  184. padding:4px 0 36px 0;
  185. color:#fff;
  186. margin-bottom:10px;
  187. }
  188. #leftmenu a{
  189. display:block;
  190. color:#fff;
  191. }
  192. #leftmenu .menu1{
  193. height:40px;
  194. line-height:40px;
  195. font-size:14px;
  196. font-weight:bold;
  197. }
  198. #leftmenu .menu1 a{
  199. padding-left:34px;
  200. background:url("../images/submenu/dot1.png") no-repeat 16px 15px;
  201. }
  202. #leftmenu .menu1 a.active{
  203. background-color:#fefefd;
  204. color:#16568b;
  205. }
  206. #leftmenu .menu2{
  207. height:40px;
  208. line-height:40px;
  209. font-size:14px;
  210. }
  211. #leftmenu .menu2 a{
  212. padding-left:34px;
  213. }
  214. #leftmenu .menu2 a.close{
  215. background:url("../images/submenu/dot21.jpg") no-repeat 16px 14px;
  216. }
  217. #leftmenu .menu2 a.open{
  218. background:url("../images/submenu/dot22.jpg") no-repeat 16px 14px;
  219. }
  220. #leftmenu .menu2 a.openactive{
  221. color:#16568b;
  222. background:#fefefd url("../images/submenu/dot23.jpg") no-repeat 16px 14px;
  223. }
  224. #leftmenu .menu2 a.active{
  225. color:#16568b;
  226. background:#ffffff;
  227. }
  228. #leftmenu .menu3{
  229. height:40px;
  230. line-height:40px;
  231. font-size:14px;
  232. }
  233. #leftmenu .menu3 a{
  234. padding-left:54px;
  235. background:url("../images/submenu/dot3.png") no-repeat 40px 15px;
  236. }
  237. #leftmenu .menu3 a.active{
  238. background-color:#fefefd;
  239. color:#16568b;
  240. }
  241. #leftmenu .menuline{
  242. height:2px;
  243. background:url("../images/submenu/line.jpg") repeat-x;
  244. }
  245. /**************Layout -- TAB****************/
  246. .zm_tab{
  247. height:28px;
  248. border-bottom:6px solid #b8dbf2;
  249. position:relative;
  250. }
  251. .zm_tab .ul-tab{
  252. float:left;
  253. }
  254. .zm_tab li{
  255. float:left;
  256. width:100px;
  257. height:27px;
  258. text-align:center;
  259. line-height:27px;
  260. background-color:#fff;
  261. border:1px solid #B8DBF2;
  262. margin-bottom:6px;
  263. margin-left:16px;
  264. }
  265. .zm_tab li.first{
  266. margin-right:0;
  267. }
  268. .zm_tab li a{
  269. font-weight:bold;
  270. display:block;
  271. color:#17568B;
  272. }
  273. .zm_tab li.active{
  274. background-color:#B8DBF2;
  275. }
  276. .zm_tab .handle{
  277. position:absolute;
  278. top: 0;
  279. right: 0;
  280. z-index:999;
  281. }