Team:St Andrews/defaulttemplate
From 2010.igem.org
(Difference between revisions)
(56 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; | |
- | margin : 0; | + | |
- | + | float: left; | |
- | + | ||
} | } | ||
- | + | .menu ul li{ | |
- | display : inline; | + | display: inline;} |
- | + | ||
- | + | ||
- | + | ||
- | } | + | |
- | + | .menu ul li a{ | |
- | + | float: left; text-decoration: none; | |
- | + | color: white; | |
- | + | padding: 5px 4px; | |
- | + | background-color: #dd0100; | |
- | float : left; | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | padding : | + | |
- | + | ||
} | } | ||
- | + | .menu ul li a:visited{ | |
- | + | color: white; | |
- | + | ||
- | color : | + | |
} | } | ||
- | + | .menu ul li a:hover, .menu ul li .current | |
- | color : # | + | { |
+ | color: #dd0100; | ||
+ | background-color:#ffffff; | ||
} | } | ||
- | + | ul.menu li:hover > ul { | |
- | + | visibility: visible; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | .menu | |
- | + | { | |
- | + | width: 100%; | |
- | + | background-color: #dd0100; | |
- | + | ||
- | + | ||
} | } | ||
- | |||
- | |||
Line 182: | Line 168: | ||
color: #ffffff; | color: #ffffff; | ||
height: auto; | height: auto; | ||
- | font-size: | + | font-size: large; |
left: 0; | left: 0; | ||
position: absolute; | position: absolute; | ||
Line 198: | Line 184: | ||
} | } | ||
- | + | ||
- | + | ||
- | + | ||
- | margin: | + | |
- | padding: | + | |
+ | |||
+ | |||
+ | |||
+ | |||
+ | 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; | ||
+ | } | ||
+ | |||
+ | |||
</style> | </style> | ||
Line 263: | Line 275: | ||
- | <body | + | <body> |
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/ | + | <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/ | + | <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 | + | <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>test</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> | ||
- | |||
- | |||
- | |||
- | |||
<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 St Andrews from East Sands](http://sphotos.ak.fbcdn.net/hphotos-ak-snc4/hs906.snc4/71975_462639537832_622357832_5539021_8166064_n.jpg)
![The SAINTS The Saints](https://static.igem.org/mediawiki/2010/6/6c/WikiBanner.jpg)