Template:SandboxUp

From 2014.igem.org

(Difference between revisions)
 
(6 intermediate revisions not shown)
Line 1: Line 1:
 +
<!-- <!doctype HTML> -->
<html>
<html>
<head>
<head>
-
<meta charset="utf-8"></meta>
+
<meta charset="utf-8" />
 +
<title>new</title>
 +
 
<style>
<style>
-
#menyrad_1 {
+
 
-
width: 100%;
+
nav {
 +
width: 80%;
 +
margin-left:auto;
 +
margin-right:auto;
 +
display: block;
}
}
-
+
 
-
#menyrad_1:first-child {
+
nav ul {
-
height: 75px;
+
background: #e7e7e7;
 +
background: linear-gradient(top, #e7e7e7 0%, #f7f7f7 100%); 
 +
background: -moz-linear-gradient(top, #e7e7e7 0%, #f7f7f7 100%);
 +
background: -webkit-linear-gradient(top, #e7e7e7 0%, #f7f7f7 100%);
 +
*/ box-shadow: 0px 0px 9px rgba(0,0,0,0.15); */
 +
-webkit-border-radius: 10px;
 +
-moz-border-radius: 10px;
 +
border-radius: 10px;
 +
padding: 0 10px;
 +
list-style: none;
 +
position: relative;
 +
display: block;
 +
margin-right: 15px;
 +
margin-left: 15px;
 +
}
 +
 
 +
nav ul ul {
 +
display: none;
 +
background: #e7e7e7;
 +
border-radius: 0;
 +
padding: 0;
 +
position: absolute;
 +
top: 100%;
 +
margin: 0;
 +
margin-top: -1px;
 +
}
 +
 
 +
nav ul li:hover > ul {
 +
display: block;
 +
}
 +
 
 +
nav ul li {
 +
float: left;
 +
}
 +
 
 +
nav ul li:hover {
 +
background: #e7e7e7;
 +
background: linear-gradient(top, #e7e7e7 0%, #f7f7f7 100%); 
 +
background: -moz-linear-gradient(top, #e7e7e7 0%, #f7f7f7 100%);
 +
background: -webkit-linear-gradient(top, #e7e7e7 0%, #f7f7f7 100%);
 +
}
 +
 
 +
.red:hover, .red:focus {
 +
background-color: #f3d3d3;
}
}
-
a, a:visited {
+
.yellow:hover, .yellow:focus {
-
color: #000;
+
background-color: #f3f3d3;
}
}
-
.menuItem {
+
.green:hover, .green:focus {
-
text-align: center;
+
background-color: #d3f3d3;
-
border: 1px solid black;
+
-
height: 45px;
+
-
color: #000;
+
-
background-color: #e7e7e7;
+
}
}
-
blue:hover {
+
.blue:hover, .blue:focus {
background-color: #d3d3f3;
background-color: #d3d3f3;
}
}
-
</style>
+
.cyan:hover, .cyan:focus {
-
</head>
+
background-color: #d3f3f3;
-
<body>
+
}
 +
 +
.pink:hover, .pink:focus {
 +
background-color: #f3d3f3;
 +
}
 +
 +
nav ul li:hover a {
 +
color: #000000;
 +
}
-
<!--navigation menu -->
+
nav ul li:first-child:hover {
-
<table id="menyrad_1">
+
background-color: #e7e7e7;
-
<tr>
+
}
-
<td align="center">
+
-
<a href="http://www.chalmers.se/en/Pages/default.aspx" target="_blank">
+
-
<img src="http://www.chalmers.se/_layouts/ChalmersPublicWeb/Images/chalmers-avancez.png" width="55px" height="49px" />
+
-
</a>
+
-
</td>
+
-
<td class="menuItem blue" > 
+
nav ul li:last-child:hover {
-
<a href="https://2014.igem.org/Team:Gothenburg">
+
background-color: #e7e7e7;
-
Home
+
}
-
</a>
+
-
</td>
+
nav ul li a {
 +
display: block;
 +
padding: 25px 34px;
 +
color: #000000;
 +
text-decoration: none;
 +
}
 +
 +
nav ul li a:visited {
 +
text-decoration:none;
 +
color: #000000;
 +
}
-
<td style="border:1px solid black;" align="center" height ="45px" onMouseOver="this.bgColor='#f3f3d3'" onMouseOut="this.bgColor='#e7e7e7'" bgColor=#e7e7e7>
+
nav ul ul li {
-
<a href="https://2014.igem.org/Team:Gothenburg/Team"style="color:#000000"> Team </a> </td>
+
float: none;
 +
border-bottom: 1px solid #f0f0f0;
 +
border-right: 1px solid #f0f0f0;
 +
border-left: 1px solid #f0f0f0;
 +
position: relative;
 +
}
-
<td style="border:1px solid black;" align="center"  height ="45px"  onMouseOver="this.bgColor='#f3d3d3'" onMouseOut="this.bgColor='#e7e7e7'" bgColor=#e7e7e7>
+
nav ul ul li:first-child {
-
<a href="https://igem.org/Team.cgi?year=2014&team_name=Gothenburg"style="color:#000000"> Official Team Profile </a></td>
+
border-top: 1px solid #f0f0f0;
 +
}
-
<td style="border:1px solid black" align="center"  height ="45px" onMouseOver="this.bgColor='#d3f3d3'" onMouseOut="this.bgColor='#e7e7e7'" bgColor=#e7e7e7> 
+
nav ul ul li a {
-
<a href="https://2014.igem.org/Team:Gothenburg/Project"style="color:#000000"> Project</a></td>
+
padding: 15px 30px;
 +
color: #000000;
 +
}
 +
 +
nav ul ul li a:visited {
 +
text-decoration:none;
 +
color: #000000;
 +
}
-
<td style="border:1px solid black;" align="center"  height ="45px" onMouseOver="this.bgColor='#d3f3f3'" onMouseOut="this.bgColor='#e7e7e7'" bgColor=#e7e7e7>
+
nav ul ul li a:hover {
-
<a href="https://2014.igem.org/Team:Gothenburg/Parts"style="color:#000000"> Parts</a></td>
+
background: #d3d3d3;
 +
}
 +
nav ul ul ul {
 +
position: absolute;
 +
left: 100%;
 +
top:0;
 +
}
-
<td style="border:1px solid black;" align="center" height ="45px" onMouseOver="this.bgColor='#f3d3f3'" onMouseOut="this.bgColor='#e7e7e7'" bgColor=#e7e7e7>
+
nav ul:after {
-
<a href="https://2014.igem.org/Team:Gothenburg/Modeling"style="color:#000000"> Modeling</a></td>
+
content: "";
 +
clear: both;
 +
display: block;
 +
}
 +
 +
#banner {
 +
margin-left: auto;
 +
margin-right: auto;
 +
width: 80%;
 +
display: block;
 +
}
 +
 +
#title {
 +
float: left;
 +
}
 +
 +
table, td, th {
 +
padding: 0px
 +
}
-
<td style="border:1px solid black;" align="center" height ="45px" onMouseOver="this.bgColor='#d3d3d3'" onMouseOut="this.bgColor='#e7e7e7'" bgColor=#e7e7e7>
+
</style>
-
<a href="https://2014.igem.org/Team:Gothenburg/Notebook"style="color:#000000"> Notebook</a></td>
+
</head>
-
<td style="border:1px solid black;" align="center"  height ="45px" onMouseOver="this.bgColor='#d3d3d3'" onMouseOut="this.bgColor='#e7e7e7'" bgColor=#e7e7e7>
+
<body>
-
<a href="https://2014.igem.org/Team:Gothenburg/Safety"style=" color:#000000"> Safety </a></td>
+
-
<td style="border:1px solid black;" align="center" height ="45px" onMouseOver="this.bgColor='#d3d3d3'" onMouseOut="this.bgColor='#e7e7e7'" bgColor=#e7e7e7>  
+
<table id="banner">
-
<a href="https://2014.igem.org/Team:Gothenburg/Attributions"style="color:#000000"> Attributions </a></td>
+
<tr>
 +
<td id="title">
 +
<img src="http://static.giantbomb.com/uploads/ignore_jpg_scale_super/0/7785/2159258-_insert_title_.png" width="540px" height="165px" />
 +
</td>
-
 
+
<td>
-
<td align ="center"> <a href="https://2014.igem.org/Main_Page" target="_blank"> <img src="https://static.igem.org/mediawiki/igem.org/6/60/Igemlogo_300px.png" width="55px"></a> </td>
+
<table id="logos">
 +
<tr>
 +
<th>
 +
<a href="https://www.facebook.com/pages/iGEM-Team-Gothenburg-2014/614159082031604" target="_blank">
 +
<img src="https://scontent-a-ams.xx.fbcdn.net/hphotos-xaf1/t1.0-9/10492215_690566680990741_1563064325472748899_n.jpg" width="110px" height="110px" />
 +
</a>
 +
</th>
 +
 +
<tr>
 +
<td>
 +
<a href="http://www.chalmers.se/en/Pages/default.aspx" target="_blank">
 +
<img src="http://www.chalmers.se/_layouts/ChalmersPublicWeb/Images/chalmers-avancez.png" width="51px" height="50px" />
 +
</a>
 +
<a href="https://2014.igem.org/Main_Page" target="_blank">
 +
<img src="https://static.igem.org/mediawiki/igem.org/6/60/Igemlogo_300px.png" width="55px" height="55px">
 +
</a>
 +
</td>
 +
</tr>
 +
</table>
 +
</td>
</tr>
</tr>
</table>
</table>
-
<!--end navigation menu -->
+
 
 +
<nav>
 +
<ul>
 +
<li>
 +
<a class="red" href="https://2014.igem.org/Team:Gothenburg/">Home</a>
 +
</li>
 +
 
 +
<li><a class="yellow" href="https://2014.igem.org/Team:Gothenburg/Project/">Project</a>
 +
<ul>
 +
<li><a class="yellow" href="#">Overview</a></li>
 +
<li><a class="yellow" href="#">In Detail</a></li>
 +
<li><a class="yellow" href="#">Methods</a>
 +
<ul>
 +
<li><a class="yellow" href="#">Dry Work</a></li>
 +
<li><a class="yellow" href="#">Wet Work</a></li>
 +
</ul>
 +
</li>
 +
</ul>
 +
</li>
 +
 +
<li><a class="green" href="https://2014.igem.org/Team:Gothenburg/Team/">Team</a>
 +
<ul>
 +
<li><a class="green" href="https://igem.org/Team.cgi?year=2014/" target="_blank">Official Team profile</a></li>
 +
<li><a class="green" href="#">Unofficial Team profile</a></li>
 +
</ul>
 +
</li>
 +
 +
<li><a class="cyan" href="https://2014.igem.org/Team:Gothenburg/Notebook/">Notebook</a>
 +
<ul>
 +
<li><a class="cyan" href="https://2014.igem.org/Team:Gothenburg/Modeling/">Modeling</a></li>
 +
<li><a class="cyan" href="https://2014.igem.org/Team:Gothenburg/Safety/">Safety</a></li>
 +
</ul>
 +
</li>
 +
 +
<li><a class="blue" href="https://2014.igem.org/Team:Gothenburg/Parts/">Parts</a>
 +
<ul>
 +
<li><a class="blue" href="#">Part 1</a></li>
 +
<li><a class="blue" href="#">Part 2</a></li>
 +
<li><a class="blue" href="#">Part 3</a></li>
 +
<li><a class="blue" href="#">Part 4</a></li>
 +
</ul>
 +
</li>
 +
 +
<li><a class="pink" href="https://2014.igem.org/Team:Gothenburg/Attributions/">Attributions</a></li>
 +
 
 +
</ul>
 +
</nav>
</body>
</body>
</html>
</html>

Latest revision as of 00:09, 11 July 2014

new