Team:St Andrews/defaulttemplate

From 2010.igem.org

(Difference between revisions)
 
(50 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 317: Line 307:
-
<div>
+
<div class="menu">
-
<ul id="menu">
+
<ul class="dropdown dropdown-horizontal">
-
  <li id="nav-1"><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 id="nav-2"><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>
-
  <li id="nav-3"><a href="https://2010.igem.org/Team:St_Andrews/project/laboratory">Laboratory</a></li>
+
  <li><a href="https://2010.igem.org/Team:St_Andrews/project/laboratory">CqsA and Bistable Switch</a></li>
-
      <ul id="subnav-2">
+
<li><a href="https://2010.igem.org/Team:St_Andrews/project/RBS">RBS</a></li>
-
              <li><a href="">Cholera CAI-1</a></li>
+
<ul>
-
              <li><a href="">RBS</a></li>
+
<li>test</li>
-
      </ul>
+
</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!