Template:Team:SheffieldNav

From 2014.igem.org

(Difference between revisions)
 
(6 intermediate revisions not shown)
Line 6: Line 6:
#contentSub, #footer-box, #catlinks, #search-controls, #p-logo, .printfooter, .firstHeading,.visualClear {display: none;} /*-- hides default wiki settings --*/
#contentSub, #footer-box, #catlinks, #search-controls, #p-logo, .printfooter, .firstHeading,.visualClear {display: none;} /*-- hides default wiki settings --*/
 +
#top-section {
 +
 +
border: 0 none;
 +
height: 14px;
 +
z-index: 100;
 +
top: 0;
 +
position: fixed;
 +
width: 975px;
 +
left: 50%;
 +
margin-left: -487px;
 +
}
 +
#globalWrapper, #content {
 +
width: 100%;
 +
height: 100%;
 +
border: 0px;
 +
background-color: transparent;
 +
margin: 0px;
 +
padding: 0px;
 +
}
-
/* DO NOT CHANGE ANYTHING BELOW */
+
html, body, .wrapper {  
-
.nav li { float:left; } /* fixes several IE related bugs, and allows for clearing */
+
width: 100%;  
-
.nav ul { float:left; position:relative; z-index:20; } /* necessary for float drop and to stack the <ul>s */
+
height: 100%;  
-
.nav ul li { clear:left; } /* must clear the floated list item inside sublist */
+
background-color: transparent;
-
.nav a { position:relative; display:block; } /* needs to have a position, to be above the rest */
+
}
-
.nav a.main { float:left; /* necessary for float drop */ margin-top:10000px; } /* bring the top level links back into view */
+
-
.nav .drop, .nav .fly { margin-top:-10000px; } /* hide the sub links and their containers, opera has low upper limits */
+
-
.nav ul { margin-bottom:-5000px; } /* avoid any interaction between the subs, can be any large size */
+
-
/* The bit that does ALL the work to bring the sub menus into view */
+
-
.nav a:hover, .nav a:focus, .nav a:active { margin-right:0; z-index:10; outline:0; }
+
-
.nav a:hover b, .nav a:focus b, .nav a:active b { color:#000; cursor:pointer; border-left:2px solid #eee; }
+
-
 
+
-
/* OPERA fix */
+
-
.nav ul:hover, .nav ul ul:hover { clear:left; } /* to stop intermittent sub link :hover problems */
+
-
+
-
 
+
#content {width:100%;}
#content {width:100%;}
 +
.mainNavigation ul {display:inline;}
.mainNavigation ul {display:inline;}
Line 92: Line 101:
<div class="mainNavigation">
<div class="mainNavigation">
<ul>
<ul>
-
<li><a class="imgNav" href="https://igem.org/Main_Page"><img src="https://static.igem.org/mediawiki/2014/f/f0/IGEM_logo.png" width="30px"></a></li>
+
<li><a class="imgNav" href="https://igem.org/Main_Page"><img src="https://static.igem.org/mediawiki/2014/f/f0/IGEM_logo.png" width="45px"></a></li>
<li><a href="https://2014.igem.org/Team:Sheffield/tmp"> HOME </a></li>
<li><a href="https://2014.igem.org/Team:Sheffield/tmp"> HOME </a></li>
<li><a href="https://2014.igem.org/Team:Sheffield/team"> TEAM </a>
<li><a href="https://2014.igem.org/Team:Sheffield/team"> TEAM </a>

Latest revision as of 08:17, 13 September 2014