Template:Team:NCTU Formosa/header

From 2012.igem.org

(Difference between revisions)
 
(4 intermediate revisions not shown)
Line 140: Line 140:
}
}
#tmenu {
#tmenu {
 +
position: relative;
 +
left: 914px;
width:98px;
width:98px;
-
height:12px!important;
+
height:30px!important;
padding:0;
padding:0;
overflow:hidden;
overflow:hidden;
}
}
#tmenu li a {
#tmenu li a {
-
float:right;
 
display:block;
display:block;
width:100%;
width:100%;
Line 152: Line 153:
background:url(https://static.igem.org/mediawiki/2012/7/7c/Topmenu.png) transparent no-repeat 0 0;
background:url(https://static.igem.org/mediawiki/2012/7/7c/Topmenu.png) transparent no-repeat 0 0;
}
}
-
#tmenu li {
+
#tmenu li, #tmenu li a {
-
float:right;
+
display:block;
display:block;
 +
float: right;
 +
margin-bottom:3px;
}
}
#tmenu .m1, #tmenu .m1 a {
#tmenu .m1, #tmenu .m1 a {
display:block;
display:block;
list-style: none;
list-style: none;
-
width:98px;
+
width:54px;
height:12px;
height:12px;
}
}
-
#tmenu .m1 a.link, #tmenu .m1 a.link:link {
+
#tmenu .m1 a, #tmenu .m1 a:link {
background-position:0 0;
background-position:0 0;
}
}
-
#tmenu .m1 a.link:hover, #tmenu .m1 a.link:active, #tmenu .m1 .current {
+
#tmenu .m1 a:hover, #tmenu .m1 a:active {
background-position:-98px 0px;
background-position:-98px 0px;
}
}
Line 171: Line 173:
display:block;
display:block;
list-style: none;
list-style: none;
-
width:54px;
+
width:98px;
height:12px;
height:12px;
}
}
-
#tmenu .m2 a.link, #tmenu .m2 a.link:link {
+
#tmenu .m2 a, #tmenu .m2 a.link {
-
background-position:0 -12px;
+
background-position:0 -13px;
}
}
-
#tmenu .m2 a.link:hover, #tmenu .m2 a.link:active, #tmenu .m2 .current{
+
#tmenu .m2 a:hover, #tmenu .m2 a:active{
-
background-position:-98px -12px;
+
background-position:-98px -13px;
}
}
#main-wrapper {
#main-wrapper {

Latest revision as of 21:06, 26 October 2012

Team:NCTU Formosa - 2012.igem.org