Difference between revisions of "Template:Nankai"

(Prototype team template page)
 
Line 6: Line 6:
 
<!-- Start of CSS-->
 
<!-- Start of CSS-->
 
<style type="text/css">
 
<style type="text/css">
 
+
                .menu {
/* PAGE LAYOUT */
+
font-family: arial, sans-serif;
 
+
margin: 0;
/* Change Background color*/
+
position: fixed;
 +
min-width: 680px;
 +
width: 100%;
 +
filter: alpha(Opacity=80);
 +
-moz-opacity: 0.8;
 +
opacity: 0.8;
 +
background-color: #5500DD;
 +
}
 +
.menu ul {
 +
padding: 0;
 +
margin: 0;
 +
list-style-type: none;
 +
}
 +
.menu ul li {
 +
float: left;
 +
position: relative;
 +
width: 10%;
 +
left: 20%;
 +
min-width: 6em;
 +
}
 +
.menu ul li a, .menu ul li a:visited {
 +
display: block;
 +
text-align: center;
 +
text-decoration: none;
 +
width: 100%;
 +
height: 20px;
 +
color: #000;
 +
line-height: 30px;
 +
font-size: 11px;
 +
}
 +
.menu ul li ul {
 +
display: none;
 +
left: 0px;
 +
}
 +
.menu ul li:hover a {
 +
color: #FFFFFF;
 +
background-color: #7000FF;
 +
}
 +
.menu ul li:hover ul {
 +
display: block;
 +
position: absolute;
 +
width: 100%;
 +
}
 +
.menu ul li:hover ul li a {
 +
display: block;
 +
color: #000;
 +
}
 +
.menu ul li:hover ul li a:hover {
 +
color: #FFF;
 +
background-color: #000000;
 +
}
 +
.menu ul li ul li {
 +
left: 0px;
 +
position: relative;
 +
width: 100%;
 +
}
 
body {  
 
body {  
 
background-color: #fff;
 
background-color: #fff;
Line 203: Line 258:
  
 
<!-- Start of the template html elements. -->
 
<!-- Start of the template html elements. -->
 +
                <div class="menu">
 +
<ul>
 +
<li><a class="hide" href="https://2015.igem.org/Team:Nankai"><strong style="color: #FFF">Home</strong></a>
 +
</li>
 +
<li><a class="hide" href="index.html"><strong style="color: #FFF">Project</strong></a>
 +
</li>
 +
<li><a class="hide" href="../boxes/index.html"><strong style="color: #FFFFFF">Parts</strong></a>
 +
</li>
 +
<li><a class="hide" href="https://2015.igem.org/Team:Nankai/Practices"><strong style="color: #FFFFFF">Human Practices</strong></a>
 +
    <ul>
 +
    <li><a style="color: #FFFFFF" href="https://2015.igem.org/Team:Nankai/Practices Advisor">Cooperation</a></li>
 +
    <li><a style="color: #FFFFFF">Activity</a></li>
 +
    </ul>
 +
</li>
 +
<li><a class="hide" href="https://2015.igem.org/Team:Nankai/Team"><strong style="color: #fff">Team</strong></a>
 +
    <ul>
 +
    <li><a style="color: #FFFFFF">Advisor</a></li>
 +
    <li><a style="color: #FFFFFF">Undergraduate</a></li>
 +
    </ul>
 +
 +
</li>
 +
<li><a class="hide" ><strong style="color: #fff">Contact</strong></a>
 +
</li>
 +
</ul>
 +
<div class="clear"> </div>
 +
</div>
 
<div id ="mainContainer"><!--The closing tag for mainContainer should be placed at the bottom of each content page.-->
 
<div id ="mainContainer"><!--The closing tag for mainContainer should be placed at the bottom of each content page.-->
  

Revision as of 14:14, 16 July 2015