Template:MIT-header2
From 2012.igem.org
(Difference between revisions)
m |
|||
Line 88: | Line 88: | ||
z-index:5; | z-index:5; | ||
/*CHANGE THIS TO CENTER*/ | /*CHANGE THIS TO CENTER*/ | ||
- | padding:0 12px; | + | padding:0 2em /*12px*/; |
} | } | ||
Line 95: | Line 95: | ||
position:relative; | position:relative; | ||
display:inline; | display:inline; | ||
+ | line-height: 2em; | ||
} | } | ||
Line 100: | Line 101: | ||
float:left; | float:left; | ||
height:2em; | height:2em; | ||
+ | padding: 0 1.3em; | ||
color:white; | color:white; | ||
background-color:#666666; | background-color:#666666; | ||
/*Padding: bottom, right, top, left */ | /*Padding: bottom, right, top, left */ | ||
- | padding:0.2em 1.3em 0.2em 1.3em; | + | /*padding:0.2em 1.3em 0.2em 1.3em;*/ |
border-right:1px solid white; | border-right:1px solid white; | ||
white-space:nowrap; | white-space:nowrap; | ||
Line 115: | Line 117: | ||
.nav ul{ | .nav ul{ | ||
background:#fff; /* Adding a background makes the dropdown work properly in IE7+. Make this as close to your page's background as possible (i.e. white page == white background). */ | background:#fff; /* Adding a background makes the dropdown work properly in IE7+. Make this as close to your page's background as possible (i.e. white page == white background). */ | ||
- | background:rgba(255,255,255, | + | background:rgba(255,255,255,0); /* But! Let's make the background fully transparent where we can, we don't actually want to see it if we can help it... */ |
list-style:none; | list-style:none; | ||
position:absolute; | position:absolute; | ||
left:-9999px; /* Hide off-screen when not needed (this is more accessible than display:none;) */ | left:-9999px; /* Hide off-screen when not needed (this is more accessible than display:none;) */ | ||
- | margin-top: | + | margin-top: 25px; |
margin-left:0; | margin-left:0; | ||
margin-right:0; | margin-right:0; | ||
+ | |||
} | } | ||
Line 130: | Line 133: | ||
.nav ul a{ | .nav ul a{ | ||
+ | padding-top: 3px; | ||
padding-bottom:3px; /*Introducing a padding between the li and the a give the illusion spaced items */ | padding-bottom:3px; /*Introducing a padding between the li and the a give the illusion spaced items */ | ||
white-space:normal; | white-space:normal; | ||
Line 135: | Line 139: | ||
height:auto; | height:auto; | ||
width: 7em; | width: 7em; | ||
+ | line-height: 1.5em; | ||
} | } | ||
Line 180: | Line 185: | ||
<ul> | <ul> | ||
<li><a href="https://2012.igem.org/Team:MIT/ResultsOverview">Overview</a></li> | <li><a href="https://2012.igem.org/Team:MIT/ResultsOverview">Overview</a></li> | ||
- | |||
<li><a href="https://2012.igem.org/Team:MIT/ResultsFoundational">Foundational</a></li> | <li><a href="https://2012.igem.org/Team:MIT/ResultsFoundational">Foundational</a></li> | ||
<li><a href="https://2012.igem.org/Team:MIT/ResultsSensing">Sensing</a></li> | <li><a href="https://2012.igem.org/Team:MIT/ResultsSensing">Sensing</a></li> | ||
<li><a href="https://2012.igem.org/Team:MIT/ResultsProcessing">Processing</a></li> | <li><a href="https://2012.igem.org/Team:MIT/ResultsProcessing">Processing</a></li> | ||
<li><a href="https://2012.igem.org/Team:MIT/ResultsActuation">Actuation</a></li> | <li><a href="https://2012.igem.org/Team:MIT/ResultsActuation">Actuation</a></li> | ||
+ | <li><a href="https://2012.igem.org/Team:MIT/ResultsBiobricks">BioBricks</a></li> | ||
</ul> | </ul> | ||
</li> | </li> |
Revision as of 03:35, 2 October 2012