📄 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:18px;
}
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”。 */
overflow:hidden;
}
/*顶部白色扩展*/
.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:left;
margin-left:36px !important;
margin-left:20px;
margin-top:18px;
height:62px;
width:630px;
display:inline;
}
#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}
/*中左部*/
#sidebar {
float: left;
width: 220px;
line-height: 18px;
margin:10px;
display:inline;
}
/*左部滑动*/
.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;
}
/*中右部*/
#mainContent {
border-left:1px dashed #eee;
background: #fff;
margin:10px 0 10px;
width: 702px;
min-height:450px;
display: inline;
float:left;
TEXT-ALIGN:left
}
/*大菜单*/
.big_menu {
background-image: url(index_big_menu.png);
background-repeat: repeat;
height: 59px;
width: 200px;
padding:0;
overflow:hidden;
}
.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(success.gif);text-align: left;text-indent: 20px;background-repeat: no-repeat; }
/*页脚*/
#footer {
clear:left;
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;
}
/*通讯录类别*/
#mainContent .tab {border:1px solid #93BCD2;}
#mainContent .tab td {
height:25px;
line-height: 20px;
}
#mainContent .art_tit {background: #93BCD2}
h5 {width:95%;text-align: center;line-height: 25px;}
#mainContent .sma_tit {text-indent: 20px;width:700px; margin-bottom:5px;}
#mainContent .tab_add td {height:30px;}
/**报名登陆**/
#enrollment_login{display: inline;}
#enrollment_login li{clear:left;width:210px;}
#enrollment_login li.s1{background: url('side_1.gif');height:17px;overflow:hidden;}
#enrollment_login li.s2{background: url('side_2.gif');}
#enrollment_login li.s3{background: url('side_3.gif');height:17px;overflow:hidden;}
#enrollment_login li.s2 li.tit{
text-indent: 35px;
background: url('index_bg_blue.gif') no-repeat;
background-position: 20px 8px;
color:#547298;
font-weight: bold;
font-size: 14px;
line-height: 25px;
padding-bottom:10px;
}
#enrollment_login li li.info{
text-indent: 35px;
height:30px;
}
#enrollment_login li INPUT{
border:1px solid #93BCD2;
width:80px;
}
#enrollment_login li li.sinfo{
line-height: 25px;
text-indent: 25px;
}
#enrollment_login li li.sinfo .Login1_1{
background: url('index_big_menu_con.png') no-repeat;
background-position: 5px 5px;
width:60px;
height:18px;
border:1px solid #93BCD2;
}
#enrollment_login li li.sinfo .Login1{
background:#fff;
background: url('index_big_menu_con.png') no-repeat;
background-position: 5px 4px;
width:60px;
height:18px;
border:1px solid #93BCD2;
}
#enrollment_login li li.line{
border-top:1px dashed #93BCD2;
width:180px;
margin-top:10px;
margin-left:15px !important;
margin-left:8px;
height:3px;
overflow:hidden;
}
#enrollment_login li li.info2{
margin-top:10px;
font-weight: bold;
text-indent: 25px;
color:#547298;
font-size: 14px;
}
#enrollment_login li li.info3{
margin-top:3px;
text-align: right;
text-indent: 25px;
}
.enrollment_main {
background: url('main.jpg') no-repeat;
background-position: 0px 0px;
width:600px;
height:350px;
}
#mainContent ul.enroll_main2 {
margin:10px 0 0 50px;
}
#mainContent ul.enroll_main2 li {
clear:left;
}
#mainContent ul.enroll_main2 li.con div {
margin:0 0 0 20px;border:1px dashed #93BCD2;width:450px;padding:10px;
}
#mainContent ul.enroll_main3 {
border:1px solid #ccc;
margin:10px 0 0 50px;
width:450px;
padding:10px;
}
#mainContent ul.enroll_main3 li {
clear:left;
text-indent: 25px;
}
#mainContent ul.enroll_main3 li.tit {
color:#547298;
font-weight: bold;
text-indent: 0px;
}
#mainContent ul.enroll_main3 li input {
width:120px;
}
#mainContent ul.enroll_main3 li.sinfo input {
width:80px;
height:20px;
margin-left:40px;
}
#mainContent ul.enroll_main3 li div.err{
color:#E95;
background-color:#F8FCEA;
border:1px solid #E95;
display: block;
margin-left:25px;
}
/**选课**/
#cou_type {width:600px;margin-left:50px;}
#cou_type ul {background-color:#F9F9F9;width:600px;padding:10px 10px 0 10px;margin-bottom:10px;}
#cou_type ul li {margin-bottom:10px;}
#cou_type ul li.tit {height:22px;overflow:hidden;}
#cou_type ul li.tit table {width:600px;margin:0;}
#cou_type ul li.tit table th{border-right:1px solid #E95;text-indent: 5px;line-height: 20px;}
#cou_type ul li.tit table.tabinfo th{border-right:0;text-indent: 5px;}
#cou_type ul li.tit .l1 {width:240px;}
#cou_type ul li.tit .l1 input {width:16px;height:16px;}
#cou_type ul li.tit .l3 {width:40px;}
#cou_type ul li.tit .l4 {width:40px;}
#cou_type ul li.tit .l5 {width:90px;}
#cou_type ul li.tit .l6 {width:60px;}
#cou_type ul li.tit .l7 {width:80px;border-right: 0;}
#cou_type ul li.con,#cou_type ul li.con1,#cou_type ul li.opens {clear:left;width:90%;}
#cou_type ul ul {clear:left;width:360px;border:1px solid #ccc;margin-top:10px;}
#cou_type ul li div {margin:0 20px;border:1px solid #ccc; width:320px;padding:5px;}
#cou_type ul li.weekinfo {float:right;width:200px;background-color:#Ff0;margin-top:30px;}
/**证书**/
#certsearch ul {width:80%;}
#certsearch li {clear:left;width:98%;margin:5px auto;}
#certsearch li ul.certinfo {display: block;border:1px solid #ccc;width:400px;padding:5px;background: #eee;}
#certsearch li ul.certinfo li {background: #fff;padding:3px;margin:0;}
#certsearch ul.certinfo li.certl1 span {text-indent: 24px;font-weight: bold;font-size:30px;}
#certsearch ul.certinfo li.certl2 {text-indent: 24px;padding:3px;}
#certsearch ul.certinfo li.certl3 {padding:2px auto;}
#certsearch ul.certinfo li.certl4 {padding:2px auto; color:#99A2B1;}
#certsearch li ul.stuinfo {display: block;border:1px solid #ccc;width:400px;padding:5px;}
#certsearch li ul.stuinfo li {background: #fff;padding:3px;margin:0;}
#certsearch ul.stuinfo li.certl1 {text-indent: 12px;font-weight: bold;font-size:14px;border-bottom:1px solid #ccc;}
#certsearch ul.stuinfo li.certl2 {float:left;line-height:12px;height:13px;}
#certsearch ul.stuinfo li.certl3 {clear:none;float:left;line-height:12px;height:13px;width:45%;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -