📄 index.css
字号:
}
/* ==bottom_all(底部)使用定义结束== */
/* ft */
#ft{ clear:both; }
#ft ul{color:#555;width: 980px;text-align:center;zoom:1;overflow:hidden;margin:0 auto;}
#ft ul li *{vertical-align: middle;}
#ft ul .ce{float: left;padding:0px 0 30px 10px;}
#ft ul .cl{float: right;padding:0px 10px 0px 0px;}
#ft ul .cl span{padding:0 15px;}
#ft a{color:#555;}
#ft a:hover{color:#cc0000;}
/* ==通用定义== */
.clearbox, .clearbox2
{
border-top: 1px solid transparent !important;
margin-top: -1px !important;
border-top: 0px;
margin-top: 0px;
height: 0px;
clear: both;
background: none;
font-size: 0px;
visibility: hidden;
}
.clearbox2
{
margin-right: 205px;
clear: left;
}
/* 定义ul、li项目预设标记 */
#Tab0 ul, #Tab1 ul, #Tab2 ul, #Tab3 ul, .c_main_box ul, .left_box ul, .user_box ul, .p_list_two, .c_content ul, .r_announce ul, .r_content ul, .class_content ul, .childclass_content ul, .information_new ul, .s_info_content_l ul, .special_photo_list ul, .special_class ul, .p_class_list ul, .p_shop_2 ul, .p_info_correlative ul, .s_info_correlative ul
{
margin: 0px;
padding: 0px;
list-style: none;
}
/* 提示信息 */
.c_prompt
{
padding: 0px;
margin: 0px auto;
}
/* ==网站首页内容显示定义开始== */
/* --网站公告-- */
/* 网站垂直公告 */
#announce_vertical, #announce_vertical ul, #announce_vertical li
{
padding: 0px;
margin: 0px;
list-style: none;
display: block;
}
#announce_vertical .announce_title, #announce_vertical .announce_title a
{
font: normal normal bold 13px/20px Arial, "宋体" ,Helvetica,sans-serif;
color: #c00;
text-align: center;
}
#announce_vertical .announce_title
{
background: #eee;
}
.announce_text, .announce_text a
{
font: normal normal normal 12px/150% Arial, "宋体" ,Helvetica,sans-serif;
text-align: left;
}
.announce_author, .announce_time
{
text-align: right;
color: #0a4180;
}
/* 网站横向公告 */
#announce_crosswise, #announce_crosswise ul, #announce_crosswise li
{
padding-right: 20px;
margin: 0px;
list-style: none;
display: inline;
float: left;
height: 20px;
cursor:pointer;
}
#announce_crosswise ul
{
padding-right: 20px;
}
#announce_crosswise .announce_title, #announce_crosswise .announce_title a
{
font: normal normal bold 12px/20px Arial, "宋体" ,Helvetica,sans-serif;
color: #c00;
}
marquee
{
clear: none;
width: 500px;
height: 20px;
position: absolute;
left: 273px;
top: 50px;
}
/* 二列式图文布局 */
.p_thumb_l
{
float: left;
text-align: center;
background: #f8f8f8;
padding: 5px;
margin-top: 5px;
margin-left: 10px;
display:inline;
}
.p_thumb_l, .p_thumb_l li
{
text-align: center;
}
.p_thumb_l, .p_thumb_l_pic img
{
width: 160px;
}
.p_thumb_l_title
{
margin-top: 5px;
}
.p_list_r
{
margin-left: 10px;
}
.p_list_r li, .p_list_r td
{
border-bottom: 1px dotted #ccc;
width: 97%;
float: left;
}
.p_thumb_l table
{
float: left;
}
/* 首页二列式图文布局 */
.p_thumb_l_index
{
float: left;
text-align: center;
padding: 5px;
margin-top: 5px;
margin-left: 10px;
display:inline;
height: 18px;
margin-bottom: 0px;
}
.p_thumb_l_index, .p_thumb_l_index li
{
text-align: center;
}
.p_thumb_l_index, .p_thumb_l img
{
width: 160px;
}
.p_thumb_l_title_index
{
margin-top: 5px;
}
.p_list_r_index
{
margin-left: 15px;
margin-top: 10px;
}
.p_list_r_index li, .p_list_r_index td
{
width: 49.5%;
float: left;
border-bottom: 1px dotted #f6f6f6;
padding-top: 5px;
*padding-top: 4px;
_padding-top: 6px;
vertical-align:middle;
display:inline;
margin-right:-3px;
}
.p_thumb_l_index table
{
float: left;
}
/* 二列式列表布局 */
.p_list_two, .p_list_two li
{
padding: 0px;
margin: 0px;
}
.p_list_two li
{
width: 49.5%;
float: left;
}
.p_list_two li, .p_list_two td
{
border-bottom: 1px dotted #ccc;
}
/* ==网站首页内容显示定义结束== */
/* --整站普通图片列表标签-- */
/* 定义缩略图外框大小,控制隐藏超出的图片内容 */
.pe_u_thumb, .p_thumb_l_pic
{
height: 120px;
overflow: hidden;
text-align: center;
border: 1px solid #ccc;
}
/* 定义缩略图宽度,按比例缩放 */
.pe_u_thumb, .pe_u_thumb img
{
width: 160px;
}
/* 定义缩略图标题样式 */
.pe_u_thumb_title
{
margin: 5px 5px 5px 0px;
height: 12px;
overflow: hidden;
font: normal normal normal 12px/120% Arial, "宋体" ,Helvetica,sans-serif;
text-align: center;
word-wrap: break-word;
word-break: keep-all;
}
.pe_u_thumb_title a
{
color: red;
}
.pe_u_thumb_list, .pe_u_thumb_list a
{
font: normal normal normal 12px/120% Arial, "宋体" ,Helvetica,sans-serif;
text-align: left;
word-wrap: break-word;
word-break: keep-all;
}
.pe_u_thumb_list
{
margin: 0px 0px 2px 5px;
padding: 2px;
border-bottom: 1px dotted #ccc;
}
.pe_u_thumb_list a
{
padding-left: 10px;
background: url(images/List.gif) no-repeat left -2px;
}
/* 一列式栏目列表信息列表标题样式 */
.p_childclass_list .pe_u_thumb_list li
{
width: 100%;
text-align: left;
}
/* ==书签面板文章定义开始== */
/* 二列式信息列表 */
.information_new
{
padding: 0px;
margin: 0px;
}
.information_new li
{
width: 49.5%;
float: left;
border-bottom: 1px dotted #ccc;
}
/* 左图右信息列表 */
.article_new
{
}
.article_new .p_list_r li
{
border-bottom: 1px dotted #ccc;
}
.article_new .p_thumb_l .pe_u_thumb_title
{
height: 18px;
margin-bottom: 0px;
}
/* 三图列表 */
.product_new ul
{
padding-left: 8px;
margin: 0;
}
.product_new li
{
width: 33%;
float: left;
text-align: center;
}
.product_new .pe_u_thumb
{
height: 120px;
overflow: hidden;
text-align: center;
border: 1px solid #ccc;
}
.product_new .pe_u_thumb, .product_new .pe_u_thumb img
{
width: 140px;
}
.product_new .pe_u_thumb_title
{
margin: 5px 5px 0px 0px;
}
/* 首页四图列表 */
.pic_new_index ul
{
padding-left: 5px;
}
.pic_new_index li
{
width: 25%;
padding-top: 10px;
float: left;
text-align:center;
}
.pic_new_index .pe_u_thumb_index
{
height: 120px;
overflow: hidden;
text-align: center;
border: 1px solid #ccc;
}
.pic_new_index .pe_u_thumb, .pic_new_index .pe_u_thumb img
{
width: 160px;
}
.pic_new_index .pe_u_thumb_title
{
margin: 5px 0px 0px 0px;
height: 12px;
}
/* 二列图片信息列表 */
.piclist_new
{
padding-top: 5px;
}
.piclist_new li
{
width: 49%;
float: left;
border-bottom: 1px dotted #ccc;
}
*html .piclist_new li img
{
margin-top: 5px;
}
/* 二列图片列表 */
.piclist2_new
{
padding-top: 5px;
}
.piclist2_new li
{
width: 49%;
float: left;
text-align: center;
}
.piclist2_new .pe_u_thumb
{
margin: auto;
}
/* ==书签面板文章定义结束== */
.new
{
float: left;
width: 10px;
height: 15px;
background: url(../../images/common1.gif) no-repeat;
}
/* 商品图片、商品名及价格定义 */
.p_list_pic, .p_list_name, .p_list_price, .p_list_botton
{
padding: 0px;
margin: 0px;
}
.p_list_pic
{
margin-left: 8px;
width: 160px;
height: 120px;
overflow: hidden;
border: 1px solid #ccc;
}
.p_list_pic img
{
width: 160px;
}
.p_list_name, .p_list_name a
{
padding: 5px;
text-align: center;
font: normal normal normal 12px/120% Arial,"宋体",Helvetica,sans-serif;
color: blue;
height: 28px;
overflow: hidden;
}
.p_list_price
{
text-align: left;
padding-left: 20px;
}
.p_list_botton, .p_list_botton img
{
text-align: center;
}
.p_list_botton img
{
margin: 2px;
}
/*==幻灯图片==*/
#bimg
{
FILTER: progid:DXImageTransform.Microsoft.Fade(duration=0.5,overlap=1.0);
width: 290px;
height: 160px;
}
#simg TD
{
background: url(images/si_b1.gif) no-repeat center 50%;
cursor: pointer;
text-align: center;
}
#simg TD.s
{
background: url(images/si_b2.gif) no-repeat center 50%;
color: #fff;
}
#info
{
}
#spanusername
{
word-spacing :1.4em;
}
/* 设置浏览器滚动条颜色 */
<style type="text/css">
<!--
html {
scrollbar-face-color:#e6e6e6;
scrollbar-highlight-color:#fff;
scrollbar-shadow-color:#eeeeee;
scrollbar-3dlight-color:#eeeeee;
scrollbar-arrow-color:#d71518;
scrollbar-track-color:#fff;
scrollbar-darkshadow-color:#fff;
}
-->
</style>
/* 顶部导航菜单Root = Horizontal, Secondary = Vertical */
ul#navmenu-h {
margin: 0;
border: 0 none;
padding: 0;
width: 982px; /*For KHTML*/
list-style: none;
height: 30px;
}
ul#navmenu-h li {
margin: 0;
border: 0 none;
padding: 0;
float: left; /*For Gecko*/
display: inline;
list-style: none;
position: relative;
height: 32px;
}
ul#navmenu-h ul {
margin: 0;
border: 0 none;
padding: 0;
width: 126px;
list-style: none;
display: none;
position: absolute;
top: 32px;
left: 0;
}
ul#navmenu-h ul:after /*From IE 7 lack of compliance*/{
clear: both;
display: block;
font: 1px/0px serif;
content: ".";
height: 0;
visibility: hidden;
}
ul#navmenu-h ul li {
width: 126px;
float: left; /*For IE 7 lack of compliance*/
display: block !important;
display: inline; /*For IE*/
}
/* Root Menu */
ul#navmenu-h a {
border: 1px solid #f37979;
border-right-color: #13131d;
border-bottom-color: #13131d;
padding: 0 36px;/*两个按钮之间的距离*/
float: none !important; /*For Opera*/
float: left; /*For IE*/
display: block;
background: url(images/memu_bg.gif) #8f0000;
color: #fff;
font: normal normal bold 12px/30px Verdana, Arial, Helvetica, sans-serif;
text-decoration: none;
height: auto !important;
height: 1%; /*For IE*/
}
/* Root Menu Hover Persistence */
ul#navmenu-h a:hover,
ul#navmenu-h li:hover a,
ul#navmenu-h li.iehover a {
background: url(images/memu_bgg.gif) #cd0b0e;
color: #000;
}
/* 2nd Menu */
ul#navmenu-h li:hover li a,
ul#navmenu-h li.iehover li a {
float: none;
background:#8f0000;
color: #fff;
text-align: center;
padding: 0 18px;/*两个按钮之间的距离*/
}
/* 2nd Menu Hover Persistence */
ul#navmenu-h li:hover li a:hover,
ul#navmenu-h li:hover li:hover a,
ul#navmenu-h li.iehover li a:hover,
ul#navmenu-h li.iehover li.iehover a {
background: #cd0b0e;
color: #000;
}
/* 3rd Menu */
ul#navmenu-h li:hover li:hover li a,
ul#navmenu-h li.iehover li.iehover li a {
background: #8f0000;
color: #fff;
}
/* 3rd Menu Hover Persistence */
ul#navmenu-h li:hover li:hover li a:hover,
ul#navmenu-h li:hover li:hover li:hover a,
ul#navmenu-h li.iehover li.iehover li a:hover,
ul#navmenu-h li.iehover li.iehover li.iehover a {
background: #cd0b0e;
color: #000;
}
/* 4th Menu */
ul#navmenu-h li:hover li:hover li:hover li a,
ul#navmenu-h li.iehover li.iehover li.iehover li a {
background: #EEE;
color: #fff;
}
/* 4th Menu Hover */
ul#navmenu-h li:hover li:hover li:hover li a:hover,
ul#navmenu-h li.iehover li.iehover li.iehover li a:hover {
background: #cd0b0e;
color: #FFF;
}
ul#navmenu-h ul ul,
ul#navmenu-h ul ul ul {
display: none;
position: absolute;
top: 0;
left: 126px;
}
/* Do Not Move - Must Come Before display:block for Gecko */
ul#navmenu-h li:hover ul ul,
ul#navmenu-h li:hover ul ul ul,
ul#navmenu-h li.iehover ul ul,
ul#navmenu-h li.iehover ul ul ul {
display: none;
}
ul#navmenu-h li:hover ul,
ul#navmenu-h ul li:hover ul,
ul#navmenu-h ul ul li:hover ul,
ul#navmenu-h li.iehover ul,
ul#navmenu-h ul li.iehover ul,
ul#navmenu-h ul ul li.iehover ul {
display: block;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -