Difference between revisions of "Template:Amsterdam"

 
(16 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">
+
<style>
+
* {
 +
margin: 0;
 +
padding: 0;
 +
font: 1em "open Sans", sans-serf;
 +
}
 +
body {
  
<nav><ul>
+
background-color: #eee;
<li> <a href="https://2017.igem.org/Team:Amsterdam"> HOME</a> </li>
+
}
<li> <a href="https://2017.igem.org/Team:Amsterdam/team">TEAM</a> </li>
+
<li> <a href="https://2017.igem.org/Team:Amsterdam/Project_Overview">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>
+
<!-- //////////////////////////////////////////// -->
+
  
  
<style>
+
/*.....................................*/
/*................MAIN HEADER.....................*/
+
  
.mainheader img {
+
.menu {
width: 100%
+
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 {
+
.menu > ul > li {
background-color: #e74c3c;
+
      overflow: hidden;
height: 40px;
+
float: left;
border-radius: 5px;
+
-webkit- border-radius: 5px;
+
-moz-border-radius: 5px;
+
 
}
 
}
  
.mainheader nav ul {
+
 
text-align: center;;
+
.menu-item {
list-style: none;
+
display: inline-block;
margin: 0 auto;
+
padding: 15px 10px;
 +
height: 30px;
 +
line-height: 30px;
 +
color: #fff;
 +
text-decoration: none;
 
}
 
}
  
.mainheader nav ul li {
+
.menu-item:hover {
display: inline;
+
 
 +
background-color: #ff0055;
 
}
 
}
  
.mainheader a:link, .mainheader a:visited{
+
 
color: white;
+
/*................STYLING SUB.....................*/
padding: 10px 40px;
+
 
 +
.sub-content {
 +
 +
position: absolute;
 +
top: 100%;
 +
overflow: hidden;
 +
background-color: #333;
 +
max-height: 0;
 +
}
 +
 
 +
.sub-content a {
 +
color: #fff;
 +
text-decoration: none;
 +
}
 +
 
 +
.sub-drop {
 +
 
 +
padding: 0;
 +
}
 +
 
 +
.sub-drop ul {
 +
width: 100%;
 +
padding: 0;
 +
margin: 0;
 +
list-style-type: none;
 +
}
 +
 
 +
.sub-drop ul li a {
 
display: inline-block;
 
display: inline-block;
height: 20px;
+
padding: 10px 20px;
 
}
 
}
  
.mainheader a:hover, .mainheader a:active{
+
.sub-drop ul li:hover {
color: white;
+
background-color: #f58233;
+
background-color: #ff0055;
text-shadow: none;
+
 
}
 
}
  
/*  
+
/*...............Sub-sub Menu.....................*/
This style is included by iGEM TUDelft
+
 
It will remove the space around a wrapper included by the CMS
+
ul#subx-menu {
There are more stupid wrappers / content included by the CMS
+
position: absolute;
Take a look in your browsers devtools to see which selectors you need to overwrite them to what you like.  
+
top: 36px;
*/
+
left: 99px;
#content {
+
background-color: #333;
        margin-top: -17px;
+
overflow: hidden;
        margin-bottom: -17px;
+
max-width: 0;
 
}
 
}
#firstHeading {
+
 
        display: none;
+
ul#subx-menu {
 +
width: 130px;
 
}
 
}
#sideMenu {
+
 
        display: none;
+
.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;
 
}
 
}
.logo_2017 {
+
 
        display: none;
+
 
 +
/*...............Sub Drop.....................*/
 +
 
 +
 
 +
 
 +
.sub-drop > ul {
 +
overflow: hidden;
 +
visibility: hidden;
 +
opacity: 0;
 
}
 
}
  
 +
.menu ul li:hover .sub-drop ul{
 +
visibility: visible;
 +
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 {
 
#content {
        width: 100%;
+
    width: 100vw;
        margin-left: 0;
+
    padding: 0px;
        padding: 0;
+
    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>
 
</style>

Latest revision as of 10:28, 1 September 2017

mohammad