/* CSS Reset */ body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6,pre, form, fieldset, input, textarea, p, blockquote, th, td {padding: 0;margin: 0;font-size:12px;} fieldset, img {border: 0;} a{ text-decoration:none;font-size:12px;} table {border-collapse: collapse;border-spacing: 0; } ol, ul {list-style: none; } address, caption, cite, code, dfn, em, strong, th, var { font-weight: normal; font-style: normal; } caption, th { text-align: left; } h1, h2, h3, h4, h5, h6 { font-weight: normal; font-size: 100%; } q:before, q:after { content: ''; } abbr, acronym { border: 0; } /* 清除浮动 */ .clearFloat,.box,.channelList,#mbConten,.main{zoom:1;} .clearFloat:after,.channelList:after,#mbConten:after,.main:after{content:".";display:block;height:0;clear:both;visibility:hidden;} /* 布局定义 */ #searchHeader,#header,#mbContent,#footer{width:980px;margin:0 auto;} .main{margin-top:9px;} .mainContent{float:left;width:734px; display:inline;} .mainS{margin:0 250px 0 360px;} .sideBarA{float:right;width:240px; display:inline;overflow:hidden; } .sideBarB{float:left;width:350px; display:inline;overflow:hidden; } /* 头部定义 */ #header{position:relative; height:160px; } #siteLogo{height:85px;position:absolute; left:0px;top:0px;background:url(images/logo.png) no-repeat; } #siteLogo h1,#siteLogo h1 a{height:85px;width:300px; } #siteLogo h1 a{display:block; line-height:2000em;overflow:hidden; } #nav{height:34px;background:#cfcfcf;position:absolute; top:85px;left:0px;width:100%; } #nav .current{} #nav li{float:left;height:34px;line-height:34px;padding:0 6px;background:url(images/nav_separation.png) no-repeat right center; } #nav li.lastOne{background:none; } #nav li a{color:#000;font-size:14px;padding:4px;} #topUserBox{position:absolute; right:0px; top:10px} #topUserBox a{color:#999; } #topSetting{position:absolute; right:0px; top:55px;} #topSetting a{color:#666; } #nav .current{background:url(images/bg_top.png) right 5px; padding:0;margin-left:12px;display:inline;} #nav .current a{padding:0 12px;display:block;color:#c00;background:url(images/bg_top.png) left -25px; } /* 顶部工具栏 */ #topBar{position:absolute; top:119px;width:100%; height:47px;line-height:47px;background:url(images/bg_topBar.png) repeat-x 0px 0px; } #topBar .inputText,#searchBox .inputText{border:1px solid #999;padding:2px; } #topUserLogin{float:left;height:47px;line-height:47px;padding-left:24px; color:#999;_padding:10px; } #topUserLogin a{color:#999; } #topUserLogin .inputText{width:120px; } #topUserLogin .bt{border:none;width:44px; height:22px;background:url(images/bg_top.png) no-repeat -50px -60px; } #topUserLogin .creatNewBlog{width:76px;height:20px;background:url(images/bg_top.png) no-repeat 0px -90px;position:absolute; left:490px;top:13px;overflow:hidden; line-height:20px;padding-left:18px;} #topSearch .inputText{width:150px; } #topSearch .bt,#searchBox .bt{width:39px;height:19px;background:url(images/bg_top.png) no-repeat 0px -60px;border:none; } #hotKeyword{margin:15px 10px 15px 400px;line-height:21px; } #hotKeyword a{margin-right:1em;color:#000; } #topSearch{float:right;display:inline;height:47px;line-height:47px; _height:21px;_line-height:21px;_padding:13px 0; } /* 列表样式 */ li.separator{margin-bottom:1em;} .paginator{height:2.2em;line-height:2.2em;text-align:center; margin:10px 0; } .paginator,.paginator a{color:#000; font-size:14px;} .paginator a,.paginator strong{margin:0 6px;} /* 底部定义 */ #footer{margin-top:20px;padding:20px 0px;border-top:1px solid #ccc; } #siteDom{text-align:center; height:35px;line-height:35px;color:#000; } #siteDom a{font-size:12px;color:#000; } .siteInfo{line-height:2em;text-align:center; }