Team:St Andrews/defaulttemplate

From 2010.igem.org

(Difference between revisions)
 
(59 intermediate revisions not shown)
Line 94: Line 94:
}
}
 +
ul.dropdown ul {
 +
margin:10;
 +
padding:10;
 +
visibility: hidden;
 +
position: absolute;
 +
 +
}
-
#menu {
+
.menu ul{
-
border-bottom : 1px solid #ccc;
+
margin: 0; padding: 0;
-
margin : 0;
+
     
-
padding-bottom : 19px;
+
float: left;
-
padding-left : 10px;
+
}
}
-
#menu ul, #menu li {
+
.menu ul li{
-
display : inline;
+
display: inline;}
-
list-style-type : none;
+
-
margin : 0;
+
-
padding : 0;
+
-
}
+
-
+
.menu ul li a{
-
#menu a:link, #menu a:visited {
+
float: left; text-decoration: none;
-
background : #E8EBF0;
+
color: white;
-
border : 1px solid #ccc;
+
padding: 5px 4px;
-
color : #666;
+
background-color: #dd0100;  
-
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 {
+
.menu ul li a:visited{
-
background : #fff;
+
color: white;
-
border-bottom : 1px solid #fff;
+
-
color : #000;
+
}
}
-
#menu a:hover {
+
.menu ul li a:hover, .menu ul li .current
-
color : #f00;
+
{
 +
color: #dd0100;
 +
background-color:#ffffff;
}
}
-
body.section-1 #menu li#nav-1 a,
+
ul.menu li:hover > ul {
-
body.section-2 #menu li#nav-2 a,
+
visibility: visible;
-
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,
+
.menu
-
#menu #subnav-2,
+
{
-
#menu #subnav-3,
+
width: 100%;
-
#menu #subnav-4 {
+
background-color: #dd0100;  
-
display : none;
+
-
width: 90%;
+
}
}
-
 
-
 
Line 182: 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 198: Line 184:
}
}
-
#menu ul, #menu li{
+
 
-
display:inline;
+
 
-
lis-style-type:none;
+
 
-
margin: 0px;
+
 
-
padding: 0px;
+
 
 +
 
 +
 
 +
 
 +
 
 +
ul.dropdown,
 +
ul.dropdown li,
 +
ul.dropdown ul {
 +
list-style: none;
 +
margin: 0;
 +
padding: 0;
}
}
-
body.section-1 #menu ul#subnav-1,
+
ul.dropdown {
-
body.section-2 #menu ul#subnav-2,
+
position: relative;
-
body.section-3 #menu ul#subnav-3,
+
z-index: 597;
-
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 {
-
body.section-2 #menu ul#subnav-2 a,
+
float: left;
-
body.section-3 #menu ul#subnav-3 a,
+
line-height: 1.3em;
-
body.section-4 #menu ul#subnav-4 a {
+
vertical-align: middle;
-
background : #fff;
+
zoom: 1;
-
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.hover,
-
color : #f00 !important;
+
ul.dropdown li:hover {
 +
position: relative;
 +
z-index: 599;
 +
cursor: default;
}
}
-
#contents {
+
ul.dropdown ul {
-
background : #fff;
+
visibility: hidden;
-
border : 1px solid #ccc;
+
position: absolute;
-
border-top : none;
+
top: 100%;
-
clear : both;
+
left: 0;
-
margin : 0px;
+
z-index: 598;
-
padding : 15px;
+
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;
 +
}
 +
 +
</style>
</style>
Line 270: 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 281: 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 295: Line 307:
-
<div id="menu">
+
<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>
<ul>
-
<li id="nav-1"><a href="https://2010.igem.org/Team:St_Andrews">Home</a></li>
+
<li>test</li>
-
<li id="nav-2"><a href="https://2010.igem.org/Team:St_Andrews/project/modelling">Modelling</a></li>
+
</ul>
-
<li id="nav-3"><a href="https://2010.igem.org/Team:St_Andrews/project/laboratory">Laboratory</a></li>
+
-
      <ul id="subnav-2">
+
-
              <li id="subnav-3a"><a href="">Cholera CAI-1</a></li>
+
-
              <li id="subnav-3b"><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!