232 lines
4.1 KiB
CSS
232 lines
4.1 KiB
CSS
|
|
/*==布局相关定义开始==*/
|
|
body{ background:url(images/ask_headbg.gif) top left repeat-x;}
|
|
|
|
#wrapper {
|
|
width: 1000px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
#header, #menu, .container, #footer { position:relative;
|
|
}
|
|
|
|
#header{ background:url(images/ask_headbg.jpg) right top no-repeat; height:90px; }
|
|
|
|
#footer { margin-top:10px; background:url(images/ask_footerbg.gif) left bottom repeat-x; }
|
|
#footer2{ margin-top:15px; clear:both; text-align:center; font-family:Verdana, Arial, Helvetica, sans-serif, "微软雅黑"}
|
|
#top{width:1000px;height:75px;}
|
|
.topright{text-align:right; height:22px; }
|
|
|
|
|
|
.mainContent {
|
|
float: left;
|
|
width: 765px;
|
|
overflow: hidden;
|
|
}
|
|
.sidebar {
|
|
float: right;
|
|
width: 220px;
|
|
overflow:hidden;
|
|
}
|
|
.mainSide {
|
|
float: left;
|
|
width: 220px;
|
|
}
|
|
.mainCenter {
|
|
float: right;
|
|
width:530px;
|
|
}
|
|
.mainLeft {
|
|
float: left;
|
|
}
|
|
.mainRight {
|
|
float: right;
|
|
}
|
|
|
|
/*==布局相关定义结束==*/
|
|
|
|
/*==copyright定义开始==*/
|
|
.copyright {
|
|
position:relative;
|
|
background:url(images/ask_footerlogo.jpg) 30px top no-repeat;
|
|
height:110px;
|
|
}
|
|
.copyright p {
|
|
margin:0 0 10px 0;
|
|
text-align:center;
|
|
line-height:25px;
|
|
border:1px solid #d9e4e7;
|
|
background:url(images/ask_footerbg2.gif) top left repeat-x;
|
|
height:25px;
|
|
color:#a2a2a2;
|
|
}
|
|
.copyright p a:link, .copyright p a:visited {
|
|
color:#666;
|
|
}
|
|
.copyright p a:hover {
|
|
color:#ff0000;
|
|
text-decoration:none;
|
|
}
|
|
.copyright ul {
|
|
position:absolute;
|
|
top:40px;
|
|
left:210px;
|
|
}
|
|
.copyright li {
|
|
line-height:18px;
|
|
color:#656565;
|
|
}
|
|
.copyright span {
|
|
position:absolute;
|
|
top:40px;
|
|
right:30px;
|
|
}
|
|
|
|
/*==导航定义开始==*/
|
|
.uplink {
|
|
float:right;
|
|
margin:5px 10px;
|
|
}
|
|
.uplink a:link, .uplink a:visited {
|
|
display:inline;
|
|
margin:0 2px;
|
|
}
|
|
#top .searchbox {
|
|
/*position:absolute;
|
|
top:40px;
|
|
left:400px;*/float:left;width:600px;padding-top:8px;
|
|
|
|
}
|
|
#top .logo{
|
|
/*position:absolute;
|
|
top:24px;
|
|
left:0px;*/float:left;
|
|
width:400px;
|
|
height:40px;
|
|
cursor:pointer;
|
|
}
|
|
|
|
/*==热词定义开始==*/
|
|
.hotword {
|
|
position:relative;
|
|
background:url(images/ask_hot_bgm.gif) top left repeat-x;
|
|
height:33px;
|
|
line-height:33px;
|
|
margin-top:5px;
|
|
}
|
|
.hotword_l {
|
|
position:absolute;
|
|
left:0;
|
|
top:0;
|
|
width:4px;
|
|
height:33px;
|
|
background:url(images/ask_hot_bgl.gif) left top no-repeat;
|
|
}
|
|
.hotword_r {
|
|
position:absolute;
|
|
right:0;
|
|
top:0;
|
|
width:4px;
|
|
height:33px;
|
|
background:url(images/ask_hot_bgr.gif) right top no-repeat;
|
|
}
|
|
.hotword strong {
|
|
display:block;
|
|
float:left;
|
|
background-position:8px -68px;
|
|
padding-left:30px;
|
|
|
|
font-weight:bold;
|
|
color:#d80000;
|
|
}
|
|
.hotword em a:link, .hotword em a:visited {
|
|
text-decoration:underline;
|
|
color:#d80000;
|
|
}
|
|
.hotword em a:hover {
|
|
}
|
|
|
|
/*== 位置导航 定义开始==*/
|
|
.postpath {
|
|
background-position:8px -708px;
|
|
padding-left:30px;
|
|
line-height:22px;
|
|
/* border-bottom:1px solid #AFD0FF #EFF8FD ;*/
|
|
color:#333;
|
|
}
|
|
.postpath a:link, .postpath a:visited {
|
|
color:#333;
|
|
}
|
|
.postpath a:hover {
|
|
color:#ff0000;
|
|
text-decoration:none;
|
|
}
|
|
.postpath em {
|
|
color:#ff0000;
|
|
}
|
|
/* ==bottom_all(底部)定义开始== */
|
|
/* --网页底部-- */
|
|
#foot
|
|
{
|
|
background: url(images/copy_bg.gif) #fff repeat-x top;
|
|
border: 1px solid #9bbde6;
|
|
clear: both;
|
|
}
|
|
/* 管理链接 */
|
|
#menu_link
|
|
{
|
|
margin: 20px 0px 5px 0px;
|
|
text-align: center;
|
|
}
|
|
#menu_link a
|
|
{
|
|
text-decoration: none;
|
|
color: #000;
|
|
}
|
|
#menu_link a:hover
|
|
{
|
|
color: #f00;
|
|
text-decoration: underline;
|
|
}
|
|
/* 版权信息 */
|
|
#copyright
|
|
{
|
|
font: normal normal normal 12px/20px Arial, "宋体" ,Helvetica,sans-serif;
|
|
margin: 5px 0px 20px 0px;
|
|
text-align: center;
|
|
}
|
|
/*20090519新增*/
|
|
#menu_list_-2{height:30px;}
|
|
/*导航栏开始*/
|
|
.nav {
|
|
|
|
border:1px solid #adb9c2;
|
|
background: #191513 url(/skin/B2C/images/pic4.gif) repeat-x left top;
|
|
overflow:hidden;
|
|
padding:0 5px;
|
|
width:988px;
|
|
margin-bottom:7px;
|
|
}
|
|
.nav a {
|
|
padding: 0 1px;
|
|
font-weight:bold;
|
|
float:left;
|
|
color:#fffefe;
|
|
font: normal normal bold 13px/32px Arial, "宋体", Helvetica, sans-serif;
|
|
width:84px;
|
|
height:28px;
|
|
line-height:28px;
|
|
text-align:center;
|
|
}
|
|
.nav a:visited, .nav a:link{
|
|
color:#fffefe;
|
|
|
|
}
|
|
/*--节点导航高亮背景--*/
|
|
.nav a:hover, .nav a.current{
|
|
color:#fffefe;
|
|
background: url(/skin/B2C/images/pic4hover.gif) no-repeat center;
|
|
text-decoration:none;
|
|
}
|
|
|