Difference between revisions of "Template:Amsterdam"

 
(25 intermediate revisions by 2 users not shown)
Line 2: Line 2:
  
  
<head>
+
<!DOCTYPE html>
<title>iGEM amsterdam 2017</title>
+
<html>
    <meta charset="utf-8">
+
<head>
    <link rel="stylesheet" href="style.css">
+
<title>mohammad</title>
    <meta name="viewport" content="width=device-width , initial-scale=1.0">
+
<link rel="stylesheet" type="text/css" href="style.css">
</head>
+
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=open+Sans">
 +
</head>
  
  
 +
<body>
 +
<nav class="menu">
 +
 +
<ul id="rmenu">
 +
<li> <a class="menu-item" href="https://2017.igem.org/Team:Amsterdam"> HOME</a>
 +
 +
</li>
 +
<li> <a class="menu-item" href="https://2017.igem.org/Team:Amsterdam/team">TEAM</a>
 +
<div class="sub-content">
 +
<div class="sub-drop">
 +
<ul>
 +
<li><a href="https://2017.igem.org/Team:Amsterdam/team" class="sub-item">The Team</a></li>
 +
<li><a href="#" class="sub-item">Team Attribution</a></li>
 +
<li> <a class="menu-item" href="https://2017.igem.org/Team:Amsterdam/Sponsors">Sponsors</a> </li>
 +
<li><a href="#" class="sub-item">Collaborations</a></li>
 +
</ul>
 +
</div>
 +
</div>
 +
</li>
 +
<li> <a class="menu-item" href="https://2017.igem.org/Team:Amsterdam/Project">PROJECT</a>
 +
<div class="sub-content">
 +
<div class="sub-drop">
 +
<ul>
 +
<li><a href="https://2017.igem.org/Team:Amsterdam/Project" class="sub-item">Home</a></li>
 +
<li><a href="#" class="sub-item">Modeling</a></li>
 +
<li><a href="#" class="sub-item">Glyoxylate Shunt</a></li>
 +
<li><a href="#" class="sub-item">Biosensor</a></li>
 +
<li><a href="#" class="sub-item">Transporter</a>
 +
<ul id="subx-menu">
 +
<li><a href="#" class="subx-item">Bioinformatics</a></li>
 +
</ul>
 +
</li>
 +
</ul>
 +
</div>
 +
</div>
 +
</li>
 +
<li> <a class="menu-item" href="#">PRACTICES</a>
 +
<div class="sub-content">
 +
<div class="sub-drop">
 +
<ul>
 +
<li><a href="https://2017.igem.org/Team:Amsterdam/News" class="sub-item">Carbon Accounting</a></li>
 +
<li> <a class="sub-item" href="https://2017.igem.org/Team:Amsterdam/Outreach">Outreach</a> </li>
 +
<li> <a class="sub-item" href="#">Articles</a> </li>
 +
<li> <a class="sub-item" href="#">Entrepreneurship</a> </li>
 +
<li> <a class="sub-item" href="#">Safety</a> </li>
 +
</ul>
 +
</div>
 +
</div>
 +
</li>
 +
<li> <a class="menu-item" href="https://2017.igem.org/Team:Amsterdam/Laboratory">LAB</a>
 +
<div class="sub-content">
 +
<div class="sub-drop">
 +
<ul>
 +
<li><a href="#" class="sub-item">Parts</a></li>
 +
<li><a href="https://2017.igem.org/Team:Amsterdam/InterLab" class="sub-item">Interlab Study</a></li>
 +
<li><a href="#" class="sub-item">Labjournal</a></li>
 +
<li><a href="#" class="sub-item">Protocols</a></li>
 +
<li><a href="#" class="sub-item">Methods</a></li>
 +
</ul>
 +
</div>
 +
</div>
 +
</li>
 +
<li> <a class="menu-item" href="https://2017.igem.org/Team:Amsterdam/Achievements">ACHIEVEMENTS</a> </li>
 +
</ul>
 +
</nav>
 +
</body>
  
<body class="body">
 
 
 
<header class="mainheader">
 
 
 
<nav><ul>
 
<li> <a href="#"> HOME</a> </li>
 
<li> <a href="#">TEAM</a> </li>
 
<li> <a href="#">PROJECT</a> </li>
 
<li> <a href="#">PARTS</a> </li>
 
<li> <a href="#">SAFETY</a> </li>
 
<li> <a href="#">HUMAN PRACTCE</a> </li>
 
<li> <a href="#">AWARDS</a> </li>
 
<li> <a href="#">JUDGING FORM</a> </li>
 
</ul></nav>
 
</header>
 
 
<!-- //////////////////////////////////////////// -->
 
<!-- //////////////////////////////////////////// -->
  
<footer class="mainfooter">
 
<a href="https://www.unitedconsumers.com/"><img src="https://static.igem.org/mediawiki/2017/d/d6/T_TeamAmsterdam_c.svg"></a>
 
<a href="https://www.dsm.com/corporate/home.html"><img src="https://static.igem.org/mediawiki/2017/d/d3/T_TeamAmsterdam_dsm.svg"></a>
 
<a href="http://www.uva.nl/home"><img src="https://static.igem.org/mediawiki/2017/7/70/T_TeamAmsterdam_uva.png"></a>
 
<a href="https://www.vu.nl/en/"><img src="https://static.igem.org/mediawiki/2017/3/3e/T_TeamAmsterdam_vu.png"></a>
 
 
</footer>
 
  
 
<style>
 
<style>
/*................MAIN HEADER.....................*/
+
* {
 
+
margin: 0;
.mainheader img {
+
padding: 0;
width: 100%
+
font: 1em "open Sans", sans-serf;
 
}
 
}
 +
body {
  
.mainheader nav {
+
background-color: #eee;
background-color: #e74c3c;
+
height: 40px;
+
border-radius: 5px;
+
-webkit- border-radius: 5px;
+
-moz-border-radius: 5px;
+
 
}
 
}
  
.mainheader nav ul {
+
 
text-align: center;;
+
/*.....................................*/
list-style: none;
+
 
margin: 0 auto;
+
.menu {
 +
position: fixed;
 +
left: 0;
 +
top: 0;
 +
border-top: 0;
 +
z-index: 100;
 +
box-shadow: -1px 15px 1px rgba(0,0,0,0.3);
 +
width: 100%;
 +
background-color: #333;
 +
color: white;
 +
height: 60px;
 +
}
 +
.myimg {
 +
width: 100px;
 +
float: left;
 +
height: 30px;
 +
padding: 15px 30px;
 +
}
 +
.menu #logo {
 +
float: left;
 +
height: 30px;
 +
padding: 15px 30px;
 +
font-size: 1.2em;
 +
line-height: 30px;
 +
display: none;
 +
}
 +
.menu > ul {
 +
margin: 0;
 +
padding: 0;
 +
float: left;
 +
list-style-type: none;
 
}
 
}
  
.mainheader nav ul li {
+
.menu > ul > li {
display: inline;
+
      overflow: hidden;
 +
float: left;
 
}
 
}
  
.mainheader a:link, .mainheader a:visited{
+
 
color: white;
+
.menu-item {
padding: 10px 40px;
+
 
display: inline-block;
 
display: inline-block;
height: 20px;
+
padding: 15px 10px;
 +
height: 30px;
 +
line-height: 30px;
 +
color: #fff;
 +
text-decoration: none;
 
}
 
}
  
.mainheader a:hover, .mainheader a:active{
+
.menu-item:hover {
color: white;
+
 
background-color: #f58233;
+
background-color: #ff0055;
text-shadow: none;
+
 
}
 
}
  
/*------------- footer ----------*/
 
  
.mainfooter img {
+
/*................STYLING SUB.....................*/
width: 30%;
+
 
 +
.sub-content {
 +
 +
position: absolute;
 +
top: 100%;
 +
overflow: hidden;
 +
background-color: #333;
 +
max-height: 0;
 
}
 
}
  
 +
.sub-content a {
 +
color: #fff;
 +
text-decoration: none;
 +
}
  
 +
.sub-drop {
  
.mainfooter nav ul {
+
padding: 0;
text-align: center;;
+
list-style: none;
+
margin: 0 auto;
+
 
}
 
}
  
.mainfooter nav ul li {
+
.sub-drop ul {
display: block;
+
width: 100%;
 +
padding: 0;
 +
margin: 0;
 +
list-style-type: none;
 
}
 
}
  
mainfooter a:link, .mainfooter a:visited{
+
.sub-drop ul li a {
color: white;
+
padding: 10px 40px;
+
 
display: inline-block;
 
display: inline-block;
height: 20px;
+
padding: 10px 20px;
 
}
 
}
  
mainfooter a:hover, .mainfooter a:active{
+
.sub-drop ul li:hover {
color: white;
+
background-color: #f58233;
+
background-color: #ff0055;
text-shadow: none;
+
 
}
 
}
  
 +
/*...............Sub-sub Menu.....................*/
  
 +
ul#subx-menu {
 +
position: absolute;
 +
top: 36px;
 +
left: 99px;
 +
background-color: #333;
 +
overflow: hidden;
 +
max-width: 0;
 +
}
  
 +
ul#subx-menu {
 +
width: 130px;
 +
}
  
</style>
+
.sub-drop ul li:hover > ul#subx-menu {
 +
max-width: 400px;
 +
transition: max-width 0.5s ease-in;
 +
-webkit-transition: max-height 0.3s ease-in;
 +
-moz-transition: max-height 0.3s ease-in;
 +
}
  
  
 +
/*...............Sub Drop.....................*/
  
  
  
 +
.sub-drop > ul {
 +
overflow: hidden;
 +
visibility: hidden;
 +
opacity: 0;
 +
}
  
<!-- start of content -->
+
.menu ul li:hover .sub-drop ul{
<div class="igem_2017_content_wrapper">
+
visibility: visible;
<h1>Amsterdam</h1>
+
opacity: 1;
 +
transition: visibility 0s, opacity 0.3s ease-in;
 +
}
 +
 
 +
 
 +
/*................Controling.....................*/
 +
 
 +
 
 +
.menu-item:focus {
 +
 
 +
background-color: #ff0055;
 +
}
 +
 
 +
.menu ul li:hover .sub-content {
 +
max-height: 400px;
 +
overflow: visible;
 +
transition: max-height 0.3s ease-in;
 +
-webkit-transition: max-height 0.3s ease-in;
 +
-moz-transition: max-height 0.3s ease-in;
 +
}
 +
 
 +
#rmenu {
 +
 +
float:right;
 +
}
 +
 
 +
 
 +
#top_title {
 +
    display: none;
 +
}
 +
 
 +
#content {
 +
    width: 100vw;
 +
    padding: 0px;
 +
    border: none;
 +
    color: black;
 +
    margin-left: auto;
 +
    margin-right: auto;
 +
    background-color: #fff;
 +
    position: relative;
 +
}
 +
 
 +
#globalWrapper {
 +
    font-size: inherit;
 +
    padding-bottom: 0;
 +
}
 +
#sideMenu {
 +
    display: none;
 +
}
 +
 
 +
#top_menu_under {
 +
    height: 0px;
 +
}
 +
 
 +
 
 +
 
 +
</style>

Latest revision as of 10:28, 1 September 2017

mohammad