Team:St Andrews/defaulttemplate

From 2010.igem.org

(Difference between revisions)
 
(48 intermediate revisions not shown)
Line 94: Line 94:
}
}
 +
ul.dropdown ul {
 +
margin:10;
 +
padding:10;
 +
visibility: hidden;
 +
position: absolute;
 +
 +
}
 +
.menu ul{
 +
margin: 0; padding: 0;
 +
     
 +
float: left;
 +
}
 +
.menu ul li{
 +
display: inline;}
 +
.menu ul li a{
 +
float: left; text-decoration: none;
 +
color: white;
 +
padding: 5px 4px;
 +
background-color: #dd0100;
 +
}
 +
.menu ul li a:visited{
 +
color: white;
 +
}
 +
 +
.menu ul li a:hover, .menu ul li .current
 +
{
 +
color: #dd0100;
 +
background-color:#ffffff;
 +
}
 +
 +
ul.menu li:hover > ul {
 +
visibility: visible;
 +
}
 +
 +
.menu
 +
{
 +
width: 100%;
 +
background-color: #dd0100;
 +
}
Line 129: Line 168:
     color: #ffffff;
     color: #ffffff;
     height: auto;
     height: auto;
-
     font-size: small;
+
     font-size: large;
     left: 0;
     left: 0;
     position: absolute;
     position: absolute;
Line 154: Line 193:
-
 
+
ul.dropdown,
-
 
+
ul.dropdown li,
-
 
+
ul.dropdown ul {
-
 
+
list-style: none;
-
 
+
margin: 0;
-
 
+
padding: 0;
-
 
+
-
 
+
-
 
+
-
 
+
-
 
+
-
 
+
-
 
+
-
 
+
-
 
+
-
#menu {
+
-
border-bottom : 1px solid #ccc;
+
-
margin : 0;
+
-
padding-bottom : 19px;
+
-
padding-left : 10px;
+
}
}
-
#menu ul, #menu li {
+
ul.dropdown {
-
display : inline;
+
position: relative;
-
list-style-type : none;
+
z-index: 597;
-
margin : 0;
+
-
padding : 0;
+
}
}
-
+
ul.dropdown li {
-
#menu a:link, #menu a:visited {
+
float: left;
-
background : #E8EBF0;
+
line-height: 1.3em;
-
border : 1px solid #ccc;
+
vertical-align: middle;
-
color : #666;
+
zoom: 1;
-
float : left;
+
-
font-size : small;
+
-
font-weight : normal;
+
-
line-height : 14px;
+
-
margin-right : 8px;
+
-
padding : 2px 10px 2px 10px;
+
-
text-decoration : none;
+
}
}
-
#menu a:link.active, #menu a:visited.active {
+
ul.dropdown li.hover,
-
background : #fff;
+
ul.dropdown li:hover {
-
border-bottom : 1px solid #fff;
+
position: relative;
-
color : #000;
+
z-index: 599;
 +
cursor: default;
}
}
-
#menu a:hover {
+
ul.dropdown ul {
-
color : #f00;
+
visibility: hidden;
 +
position: absolute;
 +
top: 100%;
 +
left: 0;
 +
z-index: 598;
 +
width: 100%;
}
}
-
+
ul.dropdown ul li {
-
body.section-1 #menu li#nav-1 a,
+
float: none;
-
body.section-2 #menu li#nav-2 a,
+
-
body.section-3 #menu li#nav-3 a,
+
-
body.section-4 #menu li#nav-4 a {
+
-
background : #fff;
+
-
border-bottom : 1px solid #fff;
+
-
color : #000;
+
}
}
-
#menu #subnav-1,
+
ul.dropdown ul ul {
-
#menu #subnav-2,
+
top: 1px;
-
#menu #subnav-3,
+
left: 99%;
-
#menu #subnav-4 {
+
-
display : none;
+
-
width: 90%;
+
}
}
-
body.section-1 #menu ul#subnav-1,
+
ul.dropdown li:hover > ul {
-
body.section-2 #menu ul#subnav-2,
+
visibility: visible;
-
body.section-3 #menu ul#subnav-3,
+
-
body.section-4 #menu ul#subnav-4 {
+
-
display : inline;
+
-
left : 10px;
+
-
position : absolute;
+
-
top : 95px;
+
}
}
-
body.section-1 #menu ul#subnav-1 a,
+
ul.dropdown li.rtl ul {
-
body.section-2 #menu ul#subnav-2 a,
+
top: 100%;
-
body.section-3 #menu ul#subnav-3 a,
+
right: 0;
-
body.section-4 #menu ul#subnav-4 a {
+
left: auto;
-
background : #fff;
+
-
border : none;
+
-
border-left : 1px solid #ccc;
+
-
color : #999;
+
-
font-size : smaller;
+
-
font-weight : bold;
+
-
line-height : 10px;
+
-
margin-right : 4px;
+
-
padding : 2px 10px 2px 10px;
+
-
text-decoration : none;
+
}
}
-
#menu ul a:hover {
+
ul.dropdown li.rtl ul ul {
-
color : #f00 !important;
+
top: 1px;
-
}
+
right: 99%;
-
 
+
left: auto;
-
#contents {
+
-
background : #fff;
+
-
border : 1px solid #ccc;
+
-
border-top : none;
+
-
clear : both;
+
-
margin : 0px;
+
-
padding : 15px;
+
}
}
Line 285: Line 275:
-
<body class="section-1">
+
<body>
Line 292: Line 282:
<div id="slideshow-inner">
<div id="slideshow-inner">
-
<img width=100% height=400 title="St Andrews from East Sands" alt="St Andrews from East Sands" src="http://sphotos.ak.fbcdn.net/hphotos-ak-snc4/hs883.snc4/71672_462640382832_622357832_5539049_930799_n.jpg"/>
+
<img width=100% height=400 title="St Andrews from East Sands" alt="St Andrews from East Sands" src="http://sphotos.ak.fbcdn.net/hphotos-ak-snc4/hs906.snc4/71975_462639537832_622357832_5539021_8166064_n.jpg"/>
<div class="slideshow-text">
<div class="slideshow-text">
-
     <h3>University of St Andrews iGEM 2010</h3><p>Welcome!</p>
+
     <h3>University of St Andrews iGEM 2010</h3>
-
   
+
    <p>Welcome!</p>
</div>
</div>
</div>
</div>
Line 303: Line 293:
<div id="slideshow-inner">
<div id="slideshow-inner">
-
<img width=100% height=400 title="The SAINTS" alt="The Saints" src="https://static.igem.org/mediawiki/2010/1/1a/StAndrewsBanner.jpg" />
+
<img width=100% height=400 title="The SAINTS" alt="The Saints" src="https://static.igem.org/mediawiki/2010/6/6c/WikiBanner.jpg" />
<div class="slideshow-text">
<div class="slideshow-text">
     <h3>University of St Andrews iGEM 2010</h3>
     <h3>University of St Andrews iGEM 2010</h3>
Line 316: Line 306:
-
<ul id="menu">
 
-
  <li id="nav-1"><a href="https://2010.igem.org/Team:St_Andrews">Home</a></li>
 
-
  <li id="nav-2">Laboratory</a>
 
-
 
-
 
 
-
    <ul id="subnav-2">
 
-
 
-
      <li><a href="/tools/csstabs/2">People</a></li>
 
-
      <li><a href="/tools/csstabs/2">Careers</a></li>
 
-
      <li><a href="/tools/csstabs/2">Press</a></li>
 
-
      <li><a href="/tools/csstabs/2">Locations</a></li>
 
-
    </ul>
 
-
  </li>
 
-
 
-
  <li id="nav-3"><a href="/tools/csstabs/3">Contact Us</a>
 
-
 
 
-
    <ul id="subnav-3">
 
-
 
-
      <li><a href="/tools/csstabs/3">Email</a></li>
 
-
      <li><a href="/tools/csstabs/3">Phone</a></li>
 
-
      <li><a href="/tools/csstabs/3">Carrier Pigeon</a></li>
 
-
    </ul>
 
-
  </li>
 
-
 
-
  <li id="nav-4"><a href="/tools/csstabs/4">Products</a>
 
-
 
 
-
    <ul id="subnav-4">
 
-
 
-
      <li><a href="/tools/csstabs/4">Death Ray</a></li>
 
-
      <li><a href="/tools/csstabs/4">Bunny Slippers</a></li>
 
-
      <li><a href="/tools/csstabs/4">Bag of Broken Glass</a></li>
 
-
    </ul>
 
-
  </li>
 
 +
<div class="menu">
 +
<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/project/modelling">Modelling</a></li>
 +
<li><a href="https://2010.igem.org/Team:St_Andrews/project/laboratory">CqsA and Bistable Switch</a></li>
 +
<li><a href="https://2010.igem.org/Team:St_Andrews/project/RBS">RBS</a></li>
 +
<ul>
 +
<li>test</li>
</ul>
</ul>
-
 
-
 
-
<div>
 
-
<ul id="menu">
 
-
<li id="nav-1"><a href="https://2010.igem.org/Team:St_Andrews">Home</a></li>
 
-
<li id="nav-2"><a href="https://2010.igem.org/Team:St_Andrews/project/modelling">Modelling</a></li>
 
-
<li id="nav-3"><a href="https://2010.igem.org/Team:St_Andrews/project/laboratory">Laboratory</a></li>
 
-
      <ul id="subnav-2">
 
-
              <li><a href="">Cholera CAI-1</a></li>
 
-
              <li><a href="">RBS</a></li>
 
-
      </ul>
 
  <li><a href="https://2010.igem.org/Team:St_Andrews/project/parts">Parts</a></li>
  <li><a href="https://2010.igem.org/Team:St_Andrews/project/parts">Parts</a></li>
-
      <ul>
 
-
              <li><a href="">USED</a></li>
 
-
              <li><a href="">DESIGNED</a></li>
 
-
      </ul>
 
  <li><a href="https://2010.igem.org/Team:St_Andrews/project/ethics">Human Practices</a> </li>
  <li><a href="https://2010.igem.org/Team:St_Andrews/project/ethics">Human Practices</a> </li>
  <li><a href="https://2010.igem.org/Team:St_Andrews/project/safety">Safety</a> </li>
  <li><a href="https://2010.igem.org/Team:St_Andrews/project/safety">Safety</a> </li>

Latest revision as of 21:47, 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!