Template:Team:KIT-Kyoto/Common

From 2014.igem.org

(Difference between revisions)
Line 10: Line 10:
}
}
-
table{
+
 
-
background-color: #fff;
+
#navi {
-
width:300px;
+
padding: 82px 0 100px 30px;
-
float:left;
+
float: left;
}
}
-
#SideMenu{
+
#navi .navi-g {
-
width:200px;
+
margin-bottom: 4px;
-
float:left;
+
}
-
position:fixed;
+
#navi .navi-g li {
-
top:8px;
+
position: relative;
-
        list-style:none;
+
height: 31px;
-
/* IE6 */
+
}
-
_position:absolute;  
+
*div#navi .navi-g li {
-
    _top:expression(eval(document.documentElement.scrollTop+100)+'px');
+
position: relative;
-
 
+
height: 28px;
}
}
-
#SideMenu ul{  
+
#navi .navi-s {
-
margin: 0;
+
margin-left: 10px;
-
padding: 0;
+
-
list-style-type: none;  
+
}
}
-
#SideMenu li{  
+
#navi .navi-s li {
-
display: inline;  
+
position: relative;
-
padding: 0;
+
height: 21px;
-
margin: 0;  
+
}
}
-
#SideMenu li a{
+
*div#navi .navi-s li {
-
display: block;  
+
position: relative;
-
float:left;
+
height: 20px;
-
border-left: 8px solid #474655;
+
-
border-right: 1px solid #474655;
+
-
background-color: #fff;
+
-
padding: 5px 10px;
+
-
text-decoration: none;
+
-
color: #333;
+
-
width: 150px;
+
-
margin: 0px 0px;
+
-
text-align: left;
+
-
font-size: 14px;
+
}
}
-
#SideMenu li a:hover{
+
 
-
float:left;
+
#navi .navi-g a,
-
border-left: 8px solid #474655;
+
#navi .navi-s a {
-
border-right: 1px solid #474655;
+
display: block;
-
background-color: #d7efd7;
+
position: absolute;
 +
top: 0;
 +
left: 0;
 +
overflow: hidden;
}
}

Revision as of 14:17, 20 May 2014