Team:BIT/public.css
From 2014.igem.org
Line 22: | Line 22: | ||
margin:auto; | margin:auto; | ||
background:#FFF; | background:#FFF; | ||
- | + | padding:0px; | |
position:relative; | position:relative; | ||
} | } |
Revision as of 15:00, 1 August 2014
@charset "utf-8"; /* CSS Document */ /*框架*/ body{ font-family:"helvetica"; margin:0; }
- main_container{ background:#FFF; width:100%;height:100%; }
- container{width:1024px;margin:auto; position:relative; z-index:2; height:1400px;
}
- header{width:1024px;
height:255px;
text-align:center; background:url(); margin:auto; position:relative;
}
/*内容*/
- content{height:420px;
width:1024px;
margin:auto; background:#FFF; padding:0px; position:relative; }
/*页脚*/
- footer1 ul{ margin:25px 20px 0 0;}
- footer1 li.style{ width:40px;}
- footer1 li{
list-style:none; float:right; box-shadow:none; border-radius:0; margin:0; padding:0; width:90px; }
- footer1{
width:1024px; position:relative; margin:auto; margin-top:0; background-color:#FFF; color:#000; height:140px; font-size:12px;
}
- table1{ width:500px; position:absolute; table-layout:fixed;
left:130px; height:100px}
td{width: 170px; padding:10px 10px 0 10px; word-wrap:break-word; }
- table1 img{ width:20px; height:20px;vertical-align:text-bottom; margin-right:10px; }
@font-face{ font-family:"Maiandra" ;src:url(../fonts/Arabica.swf);format("opentype");}
/*顶部Bar*/
- menubar {
position: absolute;
height:20px;
white-space: nowrap; top: 0px; width: 380px; z-index: 5; font-family: sans-serif; font-size: 20sp;
}
.left-menu, .left-menu a {
left: 0px; text-align: left; color:transparent; text-transform: lowercase;
padding-left:10px;
}
.left-menu:hover {
color: white; background:rgba(255,255,255,0.3);
} .right-menu, .right-menu a {
right: 0px; text-align: right; color: white;
}
- menubar ul {
list-style: none;
margin:0px;
}
- menubar li {
display: inline; position: relative; cursor: pointer; padding-left: 0px; padding-right: 0px;
} .left-menu li a {
padding: 0px 10px 0px 0px;
text-decoration:none; color: inherit; } .left-menu li a:hover {
color: #aaaaff; text-decoration: none;
} .left-menu li a:visited{
color:#AB6B32; text-decoration: none;
}
- this a{ color:#AB6B32; }
.right-menu li a {
padding: 1.5px 15px 1.5px 10px;
text-decoration:none; margin:0px; } .right-menu li a:link {
color: white; text-decoration: none;
} .right-menu li a:hover {
color: #aaaaff; text-decoration: none;
} .right-menu li a:visited{
color: #69F; text-decoration: none;
}
/*返回顶部*/
- toTop{
width:50px; position:fixed; right:10px; bottom:10px; cursor:pointer; display:none; }