Difference between revisions of "Template:ShanghaitechChina"

 
(434 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<html lang="en">
 
<html lang="en">
<style>
+
<head>
 +
    <title>igem2016:ShanghaiTech</title>
 +
    <meta charset="utf-8">
 +
    <meta name="viewport" content="width=device-width, initial-scale=1">
 +
    <link rel="stylesheet" href="https://2016.igem.org/Template:ShanghaitechChina/css/bootstrap?action=raw&ctype=text/css">
 +
    <script src="https://2016.igem.org/Template:ShanghaitechChina/js/jquery?action=raw&ctype=text/javascript"></script>
 +
    <script src="https://2016.igem.org/Template:ShanghaitechChina/js/bootstrap?action=raw&ctype=text/javascript"></script>
 +
<style type="text/css">
 +
h3.bg{background-color:#d3d3d3}
 +
b.bg{background-color:#d3d3d3}
 +
p.bg{background-color:#c2ddf4;font-size:18px}
 +
p{font-size:18px}
 +
p.cap{font-size:14px}
 +
p.vis{display:none;}
 +
button{width:100%;background-color:#c2ddf4;border: 1px solid #9bb0c3;box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.35);}
 +
</style>
  
/********************************* DEFAULT WIKI SETTINGS  ********************************/
+
    <style>
 +
html{
 +
height:100%;
 +
margin:0;
 +
padding:0;
 +
width:100%;
 +
background-color:#242424;
 +
}
 +
body{
 +
width:100%;
 +
margin:0 auto;
 +
padding:0;
 +
  background-image:url('https://static.igem.org/mediawiki/2016/9/9c/Back4.png'),url(https://static.igem.org/mediawiki/2016/2/23/Bubbles3.png),url(https://static.igem.org/mediawiki/2016/f/fd/Bubbles2.png),url(https://static.igem.org/mediawiki/2016/1/12/Bubbles_back.png);
  
#sideMenu, #top_title {display:none;}
+
}
#content { padding:0px; width:1000px; margin-top:-7px; margin-left:0px;}
+
body,td,th {
body {background-color:blue; }
+
font-family: Arial, Helvetica, sans-serif;
#bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; }
+
}
/********************************* MENU ********************************/
+
/* Wrapper for the menu */
+
.menu_wrapper {
+
width:150px;
+
height:100vh;
+
position:fixed;
+
padding:0px;
+
float:left;
+
background-color:#f68915;
+
text-align:left;
+
}
+
  
/* styling for the menu items */
+
#top_title, #sideMenu{
.menu_item {
+
        display: none;
width:100%;
+
      }
margin:-2px 0px 0px -20px;
+
padding: 10px 10px; 
+
border-bottom: 1px solid #F7A043;
+
font-weight:bold;
+
color:#FFF;
+
cursor: pointer;  
+
}
+
  
/* when hovering on a menu item */
+
      #content{
.menu_item:hover {
+
        width: 100%;
color:#fff;  
+
        margin: 0;
background-color: #F7A043;
+
        padding: 0;
}
+
      }
  
/* decoration icon for the menu buttons*/
+
.full{width:100%;height:auto;cursor:pointer;}
.icon {
+
.pic3{width:33%;height:auto;cursor:pointer;}
float:right;
+
.pic4{width:24%;height:auto;cursor:pointer;}
font-size:16px;  
+
#sideMenu{display:none;}
font-weight:bold;  
+
#top_title{display:none;}
}
+
#side-menu {
+
    background: rgba(50, 50, 50, 1) none repeat scroll 0 0;
/* this is the icon for when the content is collapsed */
+
    color: white;
.plus::before {
+
    padding: 0;
content: "+";  
+
    position:fixed;
}
+
    right:2%;
/* this is the icon for when the content is expanded */
+
    top:60px;
.less::before {
+
    width:150px;
content: "–";  
+
    transition: all 0.3s ease 0s;
}
+
    border: 1px solid #cccccc;
 +
    border-radius: 10px;
 +
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.35);
 +
    color: #3d3d3d;
 +
    font-size: 12px;
 +
}
 +
.side {
 +
    align:right;
 +
    margin-right:1%;
 +
}
 +
.section-heading:hover{
 +
    margin-left:-20px;
 +
}
 +
.row > h1{margin-bottom:15px}
  
/* styling for the ul that creates the buttons */
+
.content {
ul.menu_items {
+
    background-color: rgba(255,255,255,0.90);
width:100%;  
+
    width:85%;
margin-left:0px;  
+
    border: 1px solid #cccccc;
padding:0px;
+
    border-radius: 10px;
list-style: none;  
+
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.35);
}
+
    color: #3d3d3d;
 +
    font-size: 18px;
 +
    margin-left:2%;
 +
    margin-top:50px;
 +
text-align:justify;
 +
    padding: 10px 70px 30px 70px;
 +
}
 +
.imgnav {
 +
    margin-top:20px;
 +
    width:85%;
 +
    margin-left:2%;
 +
    border-radius: 0 0 10px 10px;
 +
}
  
/* styling for the li that are the menu items */
+
.contentBorder {
.menu_items li {  
+
    border: 1px solid #aaaaaa;
width:90%;
+
    border-radius: 7px;
margin-top:-2px;
+
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.35);
padding: 15px 0px 15px 15px ;
+
}
display:block;
+
.ContentHeader {
border-bottom: 1px solid #F7A043;
+
    color: #3d3d3d;
text-align:left;  
+
    font-size: 30px;
font-weight:bold;
+
    font-weight: bold;
text-decoration:none;
+
    margin-bottom: 25px;
color:#fff;  
+
    margin-left: 15px;
list-style-type:none;  
+
}
cursor:pointer;
+
-webkit-transition: all 0.4s ease;  
+
-moz-transition: all 0.4s ease;  
+
-ms-transition: all 0.4s ease;
+
-o-transition: all 0.4s ease; transition: all 0.4s ease;
+
}
+
  
.menu_item a {
+
.content-section-a {
width: 100%;
+
    padding: 50px 0;
margin-left: -20px;
+
    background-color: #f2f2f2;
padding: 11px 90px 12px 20px;
+
}
text-decoration: none;
+
color:#fff;
+
}
+
  
/* When hovering on a menu item */
+
.content-section-b {
.menu_items li:hover {  
+
    padding: 50px 0;
background-color:#F68915;
+
    border-top: 1px solid #e3e3e3;
color: #fff;
+
    border-bottom: 1px solid #e3e3e3;
}
+
}
  
/* styling for the submenus */
+
/* hr */
.submenu {
+
.section-heading:hover{
width:100%;  
+
  left:30px;
display: none;
+
}
font-weight:bold;
+
.section-heading-spacer {
cursor:pointer;  
+
    float: left;
 +
    width: 200px;
 +
    border-top: 3px solid #e3e3e3;
 +
}
  
}
+
/* Little paragraph snippet sections */
 +
.section-heading {
 +
    margin-bottom: 30px;
 +
}
  
/* moving the margin for the submenu ul list */
+
.section-content {
ul.submenu {  
+
   
width: 100%;
+
    margin-left:15px;
margin: 10px 0px -11px 0px;
+
}
list-style: none;
+
#sidebar{
}
+
    right:0px;
 +
    top:90px;
 +
    position:fixed;
 +
    width:165px;
 +
    background-color:rgba(255,255,255,0.9);
 +
    border-radius: 5px;
 +
}
  
/*styling for the submenu buttons */
+
#sidebar >li a{   color:black;
.submenu li {  
+
  font-size:16px;
width: 100%;
+
}
margin-left: 10px;
+
margin-bottom: 0px;
+
}
+
  
  
/* hover state for the submenu buttons */
+
@media (max-width: 1000px){
.submenu li a {
+
.imgnav {
width: 100%;  
+
  width:96%;
padding: 5px 10px;
+
}
display: inline-block;
+
#sidebar{
border-bottom: 1px solid #F7A043;
+
  display:none;
background-color:white;
+
}
text-decoration:none;
+
.content{
color:#000000;  
+
  width:96%;
}
+
}
  
  
 
.submenu li a:hover  {
 
background-color:#F7A043;
 
color: #000000;
 
}
 
 
 
/* When the screen is smaller than 680px, the menu has the option to hide/show - this button controls that */
 
.collapsable_menu_control {
 
width:100%;
 
padding: 15px 0px;
 
display:none;
 
background-color:#000000;
 
text-align:center; 
 
font-weight:bold;
 
color:#F68915;
 
cursor:pointer;
 
-webkit-transition: all 0.4s ease;
 
-moz-transition: all 0.4s ease;
 
-ms-transition: all 0.4s ease;
 
-o-transition: all 0.4s ease;
 
transition: all 0.4s ease;
 
}
 
 
/* when hovering on that button */
 
.collapsable_menu_control:hover {
 
background-color: #F68915;
 
color:#000000; 
 
}
 
 
/********************************* CONTENT OF THE PAGE ********************************/
 
 
/* Wrapper for the content */
 
.content_wrapper {
 
width: 120%;
 
margin-left:150px;
 
padding:10px 0px;
 
float:left;
 
background-color:white;
 
}
 
 
/*LAYOUT */
 
.column  {
 
padding: 10px 0px;
 
float:left;
 
background-color:white;
 
}
 
 
.full_size {
 
width:100%;
 
}
 
 
.full_size img {
 
padding: 10px 15px;
 
width:96.5%;
 
}
 
 
.half_size {
 
width: 50%;
 
}
 
.half_size img {
 
padding: 10px 15px;
 
width: 93%;
 
}
 
 
 
.clear {
 
clear:both;
 
}
 
 
.highlight {
 
width: 90%;
 
margin: auto;
 
padding: 15px 5px;
 
background-color: #f2f2f2;
 
}
 
 
.judges-will-not-evaluate {
 
border: 4px solid #F68915;
 
display: block;
 
margin: 5px 15px;
 
width: 95%;
 
font-weight:bold;
 
}
 
 
 
/*STYLING */
 
 
/* styling for the titles */
 
.content_wrapper h1, .content_wrapper h2 {
 
padding:5px 15px;
 
border-bottom:0px;
 
color:#F68915;
 
 
}
 
.content_wrapper h3, .content_wrapper h4, .content_wrapper h5, .content_wrapper h6 {
 
padding:5px 15px;
 
border-bottom:0px;
 
color: #000000; 
 
}
 
 
 
/* font and text */
 
.content_wrapper p {
 
padding:0px 15px;
 
font-size: 13px;
 
font-family:Tahoma, Geneva, sans-serif;
 
}
 
 
/* Links */
 
.content_wrapper a {
 
font-weight: bold;
 
text-decoration: underline;
 
text-decoration-color:#F68915;
 
color: #F68915;
 
-webkit-transition: all 0.4s ease;
 
-moz-transition: all 0.4s ease;
 
-ms-transition: all 0.4s ease;
 
-o-transition: all 0.4s ease;
 
transition: all 0.4s ease;
 
}
 
 
/* hover for the links */
 
.content_wrapper a:hover {
 
text-decoration:none;
 
color:#000000;
 
}
 
 
/* non numbered lists */
 
.content_wrapper ul {
 
padding:0px 20px;
 
font-size: 13px;
 
font-family:Tahoma, Geneva, sans-serif;
 
}
 
 
/* numbered lists */
 
.content_wrapper ol {
 
padding:0px;
 
font-size: 13px;
 
font-family:Tahoma, Geneva, sans-serif;
 
}
 
 
/* Table */
 
.content_wrapper table {
 
width: 97%;
 
margin:15px 10px;
 
border: 1px solid #F7A043;
 
border-collapse: collapse;
 
}
 
 
/* table cells */
 
.content_wrapper  td {
 
padding: 10px;
 
vertical-align: text-top;
 
border: 1px solid #F7A043;
 
border-collapse: collapse;
 
}
 
 
/* table headers */
 
.content_wrapper th {
 
padding: 10px;
 
vertical-align: text-top;
 
border: 1px solid #F7A043;
 
border-collapse: collapse;
 
background-color:#f2f2f2;
 
}
 
 
/* Button class */
 
.button_click {
 
margin: 10px auto;
 
padding: 15px; width:12%; 
 
text-align:center;
 
font-weight:bold;
 
background-color: #F68915;
 
cursor:pointer; 
 
-webkit-transition: all 0.4s ease;
 
-moz-transition: all 0.4s ease;
 
-ms-transition: all 0.4s ease;
 
-o-transition: all 0.4s ease;
 
transition: all 0.4s ease;
 
}
 
 
/* button class on hover */
 
.button_click:hover { 
 
background-color:#000000;
 
color:#F68915;
 
}
 
 
/********************************* RESPONSIVE STYLING ********************************/
 
 
/* IF THE SCREEN IS LESS THAN 1000PX */
 
 
@media only screen and (max-width: 1000px) {
 
 
#content {width:100%; }
 
.menu_wrapper {width:15%;}
 
.content_wrapper {margin-left: 15%;}
 
.menu_item {display:block;}
 
.icon {display:none;}
 
.highlight {padding:10px 0px;}
 
}
 
 
 
/* IF THE SCREEN IS LESS THAN 680PX */
 
 
@media only screen and (max-width: 680px) {
 
.collapsable_menu_control { display:block;}
 
.menu_item {display:none;}
 
.menu_wrapper { width:100%; height: 15%; position:relative;}
 
.content_wrapper {width:100%; margin-left:0px;}
 
.column.half_size {width:100%; }
 
.column img { width: 100%; padding: 5px 0px;}
 
.icon {display:block;}
 
.highlight {padding:15px 5px;}
 
}
 
  
 
</style>
 
</style>
<head>
+
<nav class="navbar navbar-inverse navbar-fixed-top" style="margin-top:10px;text-align:center">
    <title>igem2016:ShanghaiTech</title>
+
     <div class="container-fluid">
    <meta charset="utf-8">
+
    <meta name="viewport" content="width=device-width, initial-scale=1">
+
    <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
+
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
+
     <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
+
    <style type="text/css">
+
.navbar {
+
  background-color: #222;
+
  background: #222;
+
  border-color: #222;
+
opacity:0.9;
+
}
+
  
.navbar li {
+
        <!-- Logo -->
background-color: #222;
+
        <div class="navbar-header">
  background: #222;
+
            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#mainNavBar">
  border-color: #222; }
+
                <span class="icon-bar"></span>
.navbar li a{
+
                <span class="icon-bar"></span>
color:#FFF;
+
            </button>
}
+
            <a href="https://2016.igem.org/Team:ShanghaitechChina" class="navbar-brand" style="font-size:28px;margin-top:2%">Solar Hunter</a>
    </style>
+
        </div>
</head>
+
<body>
+
  
    <nav class="navbar navbar-fixed-top">
+
         <!-- Menu Items -->
         <div class="container-fluid">
+
        <div class="collapse navbar-collapse" id="mainNavBar">
 
+
            <!-- Logo -->
+
            <div class="navbar-header">
+
                <a href="#" class="navbar-brand">Solar Hunter</a>
+
            </div>
+
 
+
            <!-- Menu Items -->
+
            <div>
+
                <ul class="nav navbar-nav">
+
                   
+
                </ul>
+
 
+
                <!--right align -->
+
 
                 <ul class="nav navbar-nav navbar-right">
 
                 <ul class="nav navbar-nav navbar-right">
                     <li class="active"><a href="https://2016.igem.org/Team:ShanghaitechChina">HOME</a></li>
+
                     <li><a href="https://2016.igem.org/Team:ShanghaitechChina" style="font-size:20px;"> </a></li>
<li class="dropdown">
+
                    <li><a href="https://2016.igem.org/Team:ShanghaitechChina" style="font-size:20px;">Home</a></li>
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">TEAM<span class="caret"></span></a>
+
                    <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown" style="font-size:20px;">Team<span class="caret"></span></a>
                        <ul class="dropdown-menu">
+
                    <ul class="dropdown-menu" style="margin-left:0;">
                            <li><a href="https://2016.igem.org/Team:ShanghaitechChina/Team">Team</a></li>
+
                    <li><a href="https://2016.igem.org/Team:ShanghaitechChina/Team" style="font-size:20px;">Members</a></li>
                            <li><a href="https://2016.igem.org/Team:ShanghaitechChina/Collaborations">Collaborations</a></li>
+
                    <li><a href="https://2016.igem.org/Team:ShanghaitechChina/Attributions" style="font-size:20px;">Attributions</a></li>
                        </ul>
+
                    </ul></li>
                    </li>
+
                    <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown" style="font-size:20px;  ">Project<span class="caret"></span></a>
<li class="dropdown">
+
                    <ul class="dropdown-menu" style="margin-left:0;">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">PROJECT<span class="caret"></span></a>
+
                    <li><a href="https://2016.igem.org/Team:ShanghaitechChina/IBS" style="font-size:20px;">Integrative Biohydrogen System</a></li>
                        <ul class="dropdown-menu">
+
                    <li><a href="https://2016.igem.org/Team:ShanghaitechChina/Nanomaterials" style="font-size:18px;">Semiconductor Nanomaterials</a></li>
                            <li><a href="https://2016.igem.org/Team:ShanghaitechChina/Description">Description</a></li>
+
                    <li><a href="https://2016.igem.org/Team:ShanghaitechChina/Biofilm" style="font-size:18px;">Engineered Biofilms</a></li>
                            <li><a href="https://2016.igem.org/Team:ShanghaitechChina/Design">Design</a></li>
+
                    <li><a href="https://2016.igem.org/Team:ShanghaitechChina/Hydrogen" style="font-size:18px;">Hydrogenase Gene Clusters</a></li>
<li><a href="https://2016.igem.org/Team:ShanghaitechChina/Experiments">Experiments</a></li>
+
                    </ul></li>
                            <li><a href="https://2016.igem.org/Team:ShanghaitechChina/Proof">Proof</a></li>
+
    <li><a href="https://2016.igem.org/Team:ShanghaitechChina/Parts" style="font-size:20px;  ">Parts</a></li>
                            <li><a href="https://2016.igem.org/Team:ShanghaitechChina/Demonstrate">Demonstrate</a></li>
+
    <!--<li><a href="https://2016.igem.org/Team:ShanghaitechChina/Safety" style="font-size:20px;  ">Safety</a></li>-->
<li><a href="https://2016.igem.org/Team:ShanghaitechChina/Results">Results</a></li>
+
    <li><a href="https://2016.igem.org/Team:ShanghaitechChina/Notebook" style="font-size:20px;  ">Notebook</a></li>
<li><a href="https://2016.igem.org/Team:ShanghaitechChina/Notebook">Notebook</a></li>
+
    <li><a href="https://2016.igem.org/Team:ShanghaitechChina/Human_Practice" style="font-size:20px;  ">Human Practice</a></li>
                        </ul>
+
    <li><a href="https://2016.igem.org/Team:ShanghaitechChina/InterLab" style="font-size:20px;  ">InterLab</a></li>
                    </li>
+
<li><a href="https://2016.igem.org/Team:ShanghaitechChina/Safety" style="font-size:20px;  ">Safety</a></li>
<li class="dropdown">
+
<li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown" style="font-size:20px;  ">Special Prize<span class="caret"></span></a><ul class="dropdown-menu" style="margin-left:0;"><li><a href="https://2016.igem.org/Team:ShanghaitechChina/Integrated_Practices" style="font-size:20px;  ">Integrated Human Practices</a></li>
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">PARTS<span class="caret"></span></a>
+
<li><a href="https://2016.igem.org/Team:ShanghaitechChina/Engagement" style="font-size:20px;  "> Education and Public Engagement</a></li>
                        <ul class="dropdown-menu">
+
<li><a href="https://2016.igem.org/Team:ShanghaitechChina/Measurement" style="font-size:20px;  ">Measurement</a></li>
                            <li><a href="https://2016.igem.org/Team:ShanghaitechChina/Parts">Parts</a></li>
+
<li><a href="https://2016.igem.org/Team:ShanghaitechChina/Design" style="font-size:20px;  ">Applied Design</a></li>
                            <li><a href="https://2016.igem.org/Team:ShanghaitechChina/Basic_Part">Basic_Part</a></li>
+
</ul></li>
<li><a href="https://2016.igem.org/Team:ShanghaitechChina/Composite_Part">Composite_Part</a></li>
+
                            <li><a href="https://2016.igem.org/Team:ShanghaitechChina/Part_Collection">Part_Collection</a></li>
+
                        </ul>
+
                    </li>
+
                    <li class="active"><a href="https://2016.igem.org/Team:ShanghaitechChina/Safety">SAFETY</a></li>
+
<li class="active"><a href="https://2016.igem.org/Team:ShanghaitechChina/Attributions">ATTRIBUTIONS</a></li>
+
<li class="active"><a href="https://2016.igem.org/Team:ShanghaitechChina/Human_Practices">ATTRIBUTIONS</a></li>
+
                    <!-- drop down menu -->
+
                   
+
 
                 </ul>
 
                 </ul>
 
 
             </div>
 
             </div>
  
        </div>
 
    </nav>
 
  
 +
    </div>
 +
</nav>
 +
</head>
 +
<body>
 +
   
 
</body>
 
</body>
 +
   
 +
 
 
</html>
 
</html>

Latest revision as of 23:20, 19 October 2016

igem2016:ShanghaiTech