📄 index.css
字号:
* { margin: 0; /* 最好将 body 元素的边距和填充设置为 0 以覆盖不同的浏览器默认值 */
padding: 0;
}
body {
background: #698ec2;
text-align: center; /* 在 IE 5* 浏览器中,这会将容器居中。文本随后将在 #container 选择器中设置为默认左对齐 */
color: #000000;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
}
a:link {
font-size: 12px;
color: #000000;
text-decoration: none;
}
a:hover {
font-size: 12px;
color: #000000;
text-decoration: none;
}
a:visited {
font-size: 12px;
color: #000000;
text-decoration: none;
}
input {
width:80px;
height:14px;
}
ul,li{
list-style:none;
float:left;
}
.buttons {
background:#fefefe;
border:1px solid #53868b;
width:auto;
min-width:60px;
padding-top:2px;
padding-bottom:0;
height:20px;
text-align: center;
}
select {height:20px;}
/*主体外容器*/
.oneColElsCtrHdr #container {
width: 960px; /* 当文本保持浏览器的默认字体大小时,此宽度将创建一个适合 800px 浏览器窗口的容器 */
background: #FFFFFF;
margin: 0 auto;
text-align: left; /* 这将覆盖 body 元素上的“text-align: center”。 */
}
/*顶部白色扩展*/
.oneColElsCtrHdr #header_line {
background-color: #FFFFFF;
height: 10px;
}
/*顶部*/
.oneColElsCtrHdr #header {
background-image: url(index_top_bg.jpg);
background-repeat: no-repeat;
height: 128px;
padding-left: 20px;
}
/*LOGO*/
.oneColElsCtrHdr #header h1 {
margin: 20px auto; /* 将 #header div 中最后一个元素的边距设置为零将避免边距重叠(即 div 之间出现的无法解释的空白)。如果 div 周围有边框,则不必将边距设置为零,因为边框也会避免边距重叠 */
padding: 10px 0; /* 使用填充而不使用边距将可以使元素远离 div 的边缘 */
float:left;
}
/*顶部链接*/
#apDiv1 {
float:right;
top:18px;
width:200px;
height:19px;
z-index:1;
color:#FFFFFF;
}
#apDiv1 a {
color:#FFFFFF;
}
/*顶部导航*/
#info {
float:right;
margin-right:98px;
margin-top:18px;
height:62px;
width:630px;
}
#info li{
margin-left:15px;
height:62px;
}
#info a {
display:block;
text-align:center;
background:url(index_menu.jpg);
background-repeat: no-repeat;
width:53px;
height:62px;
overflow: hidden;
line-height:105px;
}
#f1 a:link,#f1 a:visited {background-position:0px -62px}
#f2 a:link,#f2 a:visited {background-position:-53px -62px}
#f3 a:link,#f3 a:visited {background-position:-106px -62px}
#f4 a:link,#f4 a:visited {background-position:-159px -62px}
#f5 a:link,#f5 a:visited {background-position:-212px -62px}
#f6 a:link,#f6 a:visited {background-position:-265px -62px}
#f7 a:link,#f7 a:visited {background-position:-318px -62px}
#f8 a:link,#f8 a:visited {background-position:-371px -62px}
#f9 a:link,#f9 a:visited {background-position:-424px -62px}
#info a:hover {background-position-y:0px}
/*中部*/
.oneColElsCtrHdr #mainContent {
border:1px solid #53868b;
margin: 10px;
background-image: url(index_main_bg.png);
height:466px;
overflow:hidden;
}
/*中左部*/
.oneColElsCtrHdr #container #mainContent .m_l {
float: left;
width: 180px;
padding: 8px 10px 10px 10px;
display: inline;
height: auto;
}
/*左部滑动*/
.CollapsiblePanel {
margin: 0px;
padding: 0px;
border: solid 1px #a3bec1;
background: #f4f4f4;
height: auto;
}
.CollapsiblePanelTab {
border-bottom: solid 1px #CCC;
margin: 0px;
padding: 2px;
cursor: pointer;
-moz-user-select: none;
-khtml-user-select: none;
line-height: 25px;
font-size: 14px;
font-weight: bold;
}
.CollapsiblePanelTab .t1 {
background-image: url(index_icon_user_2.gif);
background-repeat: no-repeat;
padding-left: 30px;
background-position: 3px -1px;
}
.CollapsiblePanelTab .t2 {
background-image: url(index_arrow_08.gif);
background-repeat: no-repeat;
background-position: 5px 3px;
padding-left: 30px;
}
.CollapsiblePanelContent {
margin: 0px;
padding: 0px;
height: auto;
background: #fff;
}
.CollapsiblePanelTab a {
color: black;
text-decoration: none;
}
.CollapsiblePanelOpen .CollapsiblePanelTab {
background-color: #EEE;
}
.CollapsiblePanelTabHover, .CollapsiblePanelOpen .CollapsiblePanelTabHover {
background-color: #a3d1ff;
}
.CollapsiblePanelFocused .CollapsiblePanelTab {
background-color: #a3d1ff;
}
/*左部内菜单*/
.CollapsiblePanelContent ul {
clear: both;
width: 100%;
}
.CollapsiblePanelContent li {
border-bottom-width: 1px;
border-bottom-style: dashed;
border-bottom-color: #CCCCCC;
line-height: 22px;
margin-top: 10px;
width: 96%;
text-indent: 20px;
clear: left;
background: url(index_bg_blue.gif);
background-repeat: no-repeat;
background-position: 5px;
}
/*中右部*/
.oneColElsCtrHdr #container #mainContent .m_r {
float: left;
background: #fff;
width: 722px;
height: 96%;
margin: 8px 8px 5px 0;
border: 1px solid #5f9298;
display: inline;
PADDING:3px;OVERFLOW-Y:auto;SCROLLBAR-FACE-COLOR:#ffffff;
SCROLLBAR-HIGHLIGHT-COLOR:#ffffff;OVERFLOW:auto;
SCROLLBAR-SHADOW-COLOR:#919192;
SCROLLBAR-3DLIGHT-COLOR:#ffffff;
LINE-HEIGHT:100%;
SCROLLBAR-ARROW-COLOR:#919192;SCROLLBAR-TRACK-COLOR:#ffffff;
SCROLLBAR-DARKSHADOW-COLOR:#ffffff;
LETTER-SPACING:1pt;TEXT-ALIGN:left
}
/*大菜单*/
.big_menu {
background-image: url(index_big_menu.png);
background-repeat: repeat;
height: 59px;
width: 200px;
padding:0;
}
.big_menu .ico1 {
background-image: url(index_big_menu_ico1.png);
}
.big_menu ul {
margin-top:10px;
background-repeat: no-repeat;
background-position: 15px 10px;
height:49px;
width:500px;
}
.big_menu li {
clear: left;
line-height:20px;
text-indent: 55px;
}
.big_menu .lab,.big_menu .lab a {
font-size: 14px;
font-weight: bold;
color: #2a58a5;
}
.big_menu ul .con {
background-image: url(index_big_menu_con.png);
background-repeat: no-repeat;
background-position: 55px;
text-indent: 65px;
}
.msg { margin-top:20px;width:400px;padding-top:250px;background-image: url(error.gif);text-align: left;text-indent: 20px;background-repeat: no-repeat; }
.msg h3,.msg1 h3 {
font-size: 12px;
line-height: 20px;
font-weight: normal;
color: #000000;
text-decoration: none;}
.msg1 { margin-top:20px;width:400px;padding-top:150px;background-image: url(error.gif);text-align: left;text-indent: 20px;background-repeat: no-repeat; }
/*页脚*/
#footer {
background-image: url(index_footer_bg.png);
background-repeat: no-repeat;
height: 61px;
overflow: hidden;
}
#footer li,#footer li a,#footer li a:visited {
clear: both;
line-height: 16px;
text-indent: 20px;
font-size: 11px;
text-decoration: none;
color:#000000;
}
/*通讯录类别*/
.m_r .tab {border:1px solid #93BCD2;}
.m_r .tab td {
height:25px;
line-height: 20px;
}
.m_r .art_tit {background: #93BCD2}
h5 {width:95%;text-align: center;line-height: 25px;}
.m_r .sma_tit {text-indent: 20px;width:700px; margin-bottom:5px;}
.m_r .tab_add td {height:30px;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -