📄 main.css
字号:
@charset "utf-8";
/* CSS Document */
/*全局样式*/
body{
margin: 0;
padding: 0;
font-family:Arial,"宋体";
font-size: 12px;
background-image: url(../images/body_bg.gif);
background-repeat: repeat-x;
}
div{padding: 0; margin-left: auto; margin-right: auto; margin-bottom: 0; margin-top: 0;}
ul,ol,li,dl,dt,dd{margin: 0; padding: 0; list-style-type: none;}
span,p,form,input,label,img,h1,h2,h3,h4,h5,h6,hr{ margin: 0px; padding: 0px;}
/*默认链接样式*/
a{color: #16387c; text-decoration:none;}
a:hover {color: #16387c; text-decoration:underline;}
/* 颜色属性 [定义规则,小写c加颜色名称] */
.cRed,a.cRed:link,a.cRed:visited{color:#bc2931;}
.red{color: #bc2931;}
.fRed{color: #ff0000;}
.red1{color: #bc2931; font-weight:bold; font-size: 14px;}
/*其它样式*/
.clear{clear: both; font-size:1px; width:1px; visibility: hidden;}
/******************/
#logo{width:750px; padding-left: 10px;}
/**********************/
#box{
width: 758px;
border-left:1px solid #c4c4c4;
border-right:1px solid #c4c4c4;
background-color: #FFFFFF;
clear: both;
}
#box_top{
background-image: url(../images/box_top.gif);
background-repeat: no-repeat;
height: 10px;
width: 760px;
font-size: 1px;
clear: both;
margin-top: 10px;
}
#box_down{
background-image: url(../images/box_down.gif);
background-repeat: no-repeat;
height: 10px;
width: 760px;
font-size: 1px;
clear: both;
}
#pageName{
height: 30px;
border-bottom:1px solid #ccc;
font-size: 14px;
padding: 10px 0px 0px 20px;
clear: both;
display: block;
text-align: center;
}
/********************/
.left{
float: left;
width:159px;
background-color: #F5f7f7;
border-right: 1px solid #ccc;
}
#wrap {
}
.menu {
}
.menu a {
border:none;
}
.menu li {
display:block;
}
.menu a {
display:block;
text-decoration:none;
background-color: #f5f7f7;
height: 17px;
padding: 4px 5px 0px 5px;
font-weight: bold;
color: #000000;
border-bottom: 1px solid #ccc;
border-top: 1px solid #ccc;
}
.menu a:hover,
.menu a:focus,
.menu a:active {
background-color: #ebebeb;
border-bottom: 1px solid #ccc;
border-top: 1px solid #ccc;
color: #000000;
text-decoration: none;
}
.menu ul li {
font-weight: normal;
background-image: url(../images/trough_all01.gif);
background-repeat: no-repeat;
}
.menu ul a {
background-color: #EFEFEF;
font-weight: normal;
background-image: url(../images/trough_all01.gif);
background-repeat: no-repeat;
background-position: 5px -14px;
padding-left: 12px;
border:none;
color: #001b8f;
}
.menu ul a:hover,
.menu ul a:focus,
.menu ul a:active{
border:none;
color: #bc2931;
}
.hidden {display:none;}
/******************************/
.right{
float: right;
width: 585px;
border-left: 1px solid #ccc;
border-bottom: 1px solid #ccc;
}
.right h3{
margin-bottom: 5px;
border-bottom: 1px solid #999;
padding-bottom: 5px;
margin-top: 10px;
font-size: 14px;
}
.right h3 span{
font-size: 12px;
font-weight: normal;
color: #bc2931;
}
.right p{
font-size: 14px;
height: 20px;
line-height: 20px;
text-indent: 2em;
margin-top: 10px;
margin-bottom: 10px;
padding: 0px 10px 10px 10px;
}
.right img{
border: 1px solid #999999;
height: 50px;
width: 50px;
}
.right li{
font-size: 14px;
background-image: url(../images/trough_all01.gif);
background-repeat: no-repeat;
background-position: -120px 8px;
padding-left: 8px;
margin-left: 10px;
line-height: 25px;
font-weight: normal;
}
.right li a{
color:#000;
}
.right li a:hover{color:#000}
.right li span{
font-size: 14px;
padding-left: 20px;
color:#666;
}
.right li span a{color: #bc2931;}
.right li span a:hover{color: #bc2931;}
/*翻页效果*/
.fanye{
text-align: center;
height: 25px;
clear: both;
margin-top: 5px;
margin-bottom: 5px;
}
.fanye #left{
font-weight: bold;
float: left;
width: 15%;
height: 20px;
padding-top: 5px;
}
.fanye #middle{
font-size: 14px;
padding-top: 5px;
width: 80%;
height: 20px;
float: left;
}
.fanye #middle a{text-decoration: underline;}
.fanye #middle span{font-weight: bold; color: #bc2931;}
#siteInfo{
clear: both;
font-size: 12px;
color: #666666;
padding: 10px;
border-bottom: 1px solid #ccc;
border-top: 1px solid #ccc;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -