Team:St Andrews/defaulttemplate

From 2010.igem.org

(Difference between revisions)
Line 184: Line 184:
 +
#menu{
 +
padding:0;
 +
margin:0;
 +
}
 +
#menu ul{
 +
padding:0;
 +
margin:0;
 +
}
 +
#menu li{
 +
position: relative;
 +
float: left;
 +
list-style: none;
 +
margin: 0;
 +
padding:0;
 +
}
 +
 +
 +
 +
ul.dropdown,
 +
ul.dropdown li,
 +
ul.dropdown ul {
 +
list-style: none;
 +
margin: 0;
 +
padding: 0;
 +
}
 +
 +
ul.dropdown {
 +
position: relative;
 +
z-index: 597;
 +
}
 +
 +
ul.dropdown li {
 +
float: left;
 +
line-height: 1.3em;
 +
vertical-align: middle;
 +
zoom: 1;
 +
}
 +
 +
ul.dropdown li.hover,
 +
ul.dropdown li:hover {
 +
position: relative;
 +
z-index: 599;
 +
cursor: default;
 +
}
 +
 +
ul.dropdown ul {
 +
visibility: hidden;
 +
position: absolute;
 +
top: 100%;
 +
left: 0;
 +
z-index: 598;
 +
width: 100%;
 +
}
 +
 +
ul.dropdown ul li {
 +
float: none;
 +
}
 +
 +
ul.dropdown ul ul {
 +
top: 1px;
 +
left: 99%;
 +
}
 +
 +
ul.dropdown li:hover > ul {
 +
visibility: visible;
 +
}
 +
 +
ul.dropdown li.rtl ul {
 +
top: 100%;
 +
right: 0;
 +
left: auto;
 +
}
 +
 +
ul.dropdown li.rtl ul ul {
 +
top: 1px;
 +
right: 99%;
 +
left: auto;
 +
}
Line 240: Line 318:
<div class="menu">
<div class="menu">
-
<ul id="nav">
+
<ul class="dropdown dropdown-horizontal">
  <li><a href="https://2010.igem.org/Team:St_Andrews">Home    </a></li>   
  <li><a href="https://2010.igem.org/Team:St_Andrews">Home    </a></li>   
  <li><a href="https://2010.igem.org/Team:St_Andrews/project/modelling">Modelling</a></li>
  <li><a href="https://2010.igem.org/Team:St_Andrews/project/modelling">Modelling</a></li>

Revision as of 20:59, 27 October 2010


St Andrews from East Sands

University of St Andrews iGEM 2010

Welcome!

The Saints

University of St Andrews iGEM 2010

Our first year at iGEM! Only and purely undergrads work!