Difference between revisions of "Template:Nankai"

 
(346 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Template_All_Teams}}
+
<html lang="en-US">
  
<!-- Declare that you are going to use html code instead of wiki code -->
+
<meta charset="UTF-8">
<html>
+
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
 +
<title>Medigo Blue, free responsive template</title>
 +
    <meta name="keywords" content="">
 +
<meta name="description" content="">
 +
    <meta name="author" content="templatemo">
 +
   
 +
<!-- Stylesheets -->
  
<!-- Start of CSS-->
+
<script src="https://2015.igem.org/Template:Nankai/jquerymigrate121min?action=raw&ctype=text/javascript"></script>
<style type="text/css">
+
                .menu {
+
font-family: arial, sans-serif;
+
margin: 0;
+
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: 100%;
+
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 {
+
background-color: #fff;
+
}
+
  
/* Creates a container that will wrap all of the content inside your wiki pages. */
+
<!-- JavaScripts -->
#mainContainer { 
+
width: 978px;
+
overflow:hidden;
+
float:left;
+
margin-left:20px;
+
margin-bottom: 10px;
+
background-color: #fff;
+
border-bottom: 14px solid #565656;
+
border-right: 2px solid #565656;
+
border-left: 2px solid #565656;
+
border-top: 2px solid #565656;
+
font-family: "Trebuchet MS", Helvetica, sans-serif;
+
}
+
  
/* Creates the container for the menu */
 
#menuContainer  {
 
float:left;
 
width: 134px;
 
padding: 20px 0px;
 
border-top: 14px solid #565656;
 
background-color: #E8E8E9;
 
}
 
  
/* Creates the container for the content */
+
<style type="text/css">
#contentContainer {
+
/*-- Remove borders, float content left and remove padding/margin */
padding-top:20px;
+
#globalWrapper, #content{
padding-right:10px;
+
background-color: transparent;
margin-bottom: 20px;
+
border: 0px;
width: 814px;
+
padding-left: 20px;
+
 
float: left;
 
float: left;
background-color: #fff;  
+
margin:0px;
border-top: 14px solid #565656;
+
padding: 0px;
font-family: "Trebuchet MS", Helvetica, sans-serif;
+
 
}
 
}
  
/*Set up height place holder for the banner*/
+
/*left align Black Menu Bar */
#bannerContainer {
+
#top_menu_inside {  
height:200px;
+
margin-left: 20px;  
margin:auto;
+
text-align:center;
+
color: #24B694;
+
 
}
 
}
  
/*VISUAL STYLE (TABLES, FONTS, LINKS, IMAGES, UL) */
+
#globalWrapper {
 +
background-color:#E6F4F7;
 +
}
  
/*Change the styling of text for everything inside main container*/
+
#content {
#mainContainer p {  
+
background-image: url(https://static.igem.org/mediawiki/2015/f/fb/Nankai_background3.jpg);
font-size: 13px;
+
}
color: #000000;
+
#globalWrapper, #content ,#bodyContent,body{
}
+
width: 100%;
+
background-size: 50% auto;
/*This changes the color and font family */
+
background-repeat: repeat-xy;
#contentContainer h1, h2, h3, h4, h5, h6 {  
+
background-position: 0px 0px;
color: #565656;
+
padding:0px;
border-bottom: none;
+
border:0px;
font-weight: bold;
+
}
font-family: "Trebuchet MS", Helvetica, sans-serif;
+
margin-top:10px;
+
}
+
  
/*Style of the links - links are different inside the menu */
 
#contentContainer a {
 
font-weight: bold;
 
color: #23b593;
 
}
 
  
  /* Styling links on hover- links are different inside the menu */
+
a, a:visited {
#contentContainer a:hover {  
+
  text-decoration: none !important;
color: #59bf92;
+
}
}
+
  
/*Change the styling of tables */
+
.main-nav ul{
        #contentContainer table {
+
padding: 0;
    border: 1px solid #565656;
+
margin: 0;
    border-collapse: collapse;
+
}
    width: 90%
+
    margin: auto;
+
    margin-bottom: 15px;
+
    margin-top: 15px;
+
    margin-right: 10px;
+
    margin-left: 10px;
+
    }
+
  
/*Change the styling of table cells*/
+
.site-header .main-navigation .main-nav.visible-md.visible-lg .sf-menu a {  
    #contentContainer  td {
+
font-size: 15px;
    padding: 10px;
+
}
    border: 1px solid #565656;
+
    border-collapse: collapse;
+
    vertical-align: text-top;
+
    }
+
  
/*Change the styling of table headers */
+
.site-header {
    #contentContainer th {
+
  position: fixed;
    background-color: #E8E8E9;
+
  top: 18px;
    padding: 10px;
+
  left: 0;
    border: 1px solid #565656;
+
  width: 100%;
    border-collapse: collapse;
+
  background-color: #FFF;
    vertical-align: text-top;
+
  z-index: 1;
    }
+
  padding-top:10px;
 +
  padding-bottom:10px;
 +
  overflow: visible;
 +
  transition: padding 0.3s ease-in-out;
 +
  -moz-transition: padding 0.3s ease-in-out;
 +
  -webkit-transition: padding 0.3s ease-in-out;
 +
  filter: alpha(Opacity=80);
 +
  -moz-opacity: 0.8;
 +
  opacity: 0.8;
  
 +
}
 +
.main-nav ul li {
 +
        float:right;
 +
display: block;
 +
position: relative;
 +
margin-top: 20px;
  
 +
}
  
/*MENU STYLING */
+
.main-nav ul li a {
 +
color: #31373a;
 +
font-size: 10px;
 +
font-weight: 700;
 +
text-transform: uppercase;
 +
font-family: "Raleway", sans-serif;
 +
padding-top: 5px;
 +
padding-right: 20px;
 +
padding-left: 20px;
 +
padding-bottom: 5px;
 +
display: block;
 +
-webkit-border-radius: 3px;
 +
-moz-border-radius: 3px;
 +
-ms-border-radius: 3px;
 +
-o-border-radius: 3px;
 +
border-radius: 3px;
 +
}
 +
.main-nav ul li a:hover {
 +
  color: #00a8d6;
 +
}
 +
.main-nav ul li a i {
 +
  margin-left: 7px;
 +
}
  
/*Styling for the links in the menu */
+
.main-nav ul li ul {
#menuContainer a {
+
  display: none;
color: #565656;
+
  top: 100%;
text-decoration:none;
+
  left: 0;
font-weight: bold;
+
  margin-top: 5px;
}
+
  position: absolute;
 +
  width: 220px;
 +
  background-color: white;
 +
  border: 2px solid #f1f4f5;
 +
}
  
/* Sets the style for lists inside menuContainer  */
+
.main-nav ul li ul li {
#menuContainer ul {  
+
  margin-left: 0;
list-style: none;
+
  width: 100%;
margin-left:0px;
+
  border-bottom: 1px solid #dce4e6;
}
+
}
  
/*Styles the list items to become menu buttons */
+
.main-nav ul li ul li a {
#menuContainer ul li {  
+
  background-color: transparent !important;
text-align: center;
+
  color: #777777 !important;
display: block;
+
  text-transform: capitalize;
width: 100%;
+
  font-weight: 600;
height:30px;
+
}
padding-top:10px;
+
.main-nav ul li ul li a:hover {
}
+
  color: #00a8d6 !important;
 +
}
 +
       
 +
        div.printfooter {
 +
        display:none;
 +
}
 +
     
 +
#logo1 {
 +
float: left;
 +
height: 80px;
 +
width: 80px;
 +
        margin-left: 20px;
 +
}
 +
     
 +
  .firstHeading{
 +
    display:none;
 +
  }
 +
.parallax-overlay p{
 +
        text-align: left;
 +
        margin-left:2%;
 +
        position:absolute;
 +
        margin-top:2%;
 +
}
 +
#sideli {
 +
margin-right: 12%;
 +
}
 +
@media (min-width: 901px) {.hidemenu {display:none;} }
 +
@media (max-width: 900px) {.visible-lg {display:none;} }
 +
.hidemenu{
 +
text-align:center;
 +
font-size:30px;
 +
font-weight:900px;
 +
}
  
/*For the menu buttons, changes the color when hovering*/
+
.responsive_menu {
#menuContainer li:hover {
+
  padding: 20px;
color: #FFF;
+
  background-color: rgba(49, 55, 58, 0.98);
background-color: #24B694;
+
  text-size:10px;
}
+
  display: none;
 +
  position: absolute;
 +
  z-index: 9999;
  
/*Submenus are not displayed as default*/
 
#menuContainer li ul {
 
display: none;
 
padding-top:15px;
 
margin-left: -19px;
 
}
 
  
/*Submenus are displayed when hovering the menu button */
+
}
#menuContainer li:hover ul {
+
.responsive_menu a{
/*display: inline-block; */
+
  color:#FFF;
display: block;
+
}
position: absolute;
+
float:right;
+
margin-left: 134px;
+
margin-top:-42px;
+
}
+
  
/*Style the submenu buttons*/
+
.parallax.first-widget .parallax-overlay p{
#menuContainer li ul li{
+
        font-size: 20px;
background-color: #59BF92;  
+
        font-weight: normal;
padding-left:20px;
+
        font-family: "PT Serif", Georgia, serif;
padding-right:20px;
+
}
height:30px;
+
.parallax.first-widget .parallax-overlay p a:hover{
padding-top:10px;
+
color:#C800FF;
margin-top:-2px;
+
}
color: #565656;
+
width: 150px;
+
}
+
  
/*CLASSES */
+
.responsive_menu.main_menu li a {
 +
        font-family: "PT Serif", Georgia, serif;
 +
}
 +
    </style>
  
/*Clear class for all the pages, adds spacing too*/
 
.clear{
 
clear:both;
 
height: 10px;
 
}
 
 
 
/* highlight box for special messages */
 
    .highlightBox {
 
        width:500px;
 
        margin:auto;
 
        background-color: #E8E8E9;
 
margin-bottom: 15px;
 
margin-top: 15px;
 
padding: 15px;
 
padding-top: 5px;
 
    }
 
 
 
</style>
 
<!-- End of CSS -->
 
 
 
<!-- 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="https://2015.igem.org/Team:Nankai/Parts"><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="bannerContainer">
 
<br><br>
 
<h2> Add a banner to your wiki! </h2>
 
 
<p>You can make the image 980px  by  200px</p>
 
<p> Remember to call the file: "<i>Team_Nankai_banner.jpg</i>" </p>
 
</div>
 
 
<!-- Start of menu -->
 
<div id="menuContainer">
 
 
<!-- This list is your menu, every list item is a menu button and nested listed become submenu buttons -->
 
<ul>
 
<a href="https://2015.igem.org/Team:Nankai"><li>HOME</li></a>
 
 
<a href="https://2015.igem.org/Team:Nankai/Team"><li>TEAM</li></a>
 
 
<a href="#"><li>PROJECT
 
            <ul>
 
<a href="https://2015.igem.org/Team:Nankai/Description"><li>Description</li></a>
 
<a href="https://2015.igem.org/Team:Nankai/Experiments"><li>Experiments &amp; Protocols</li></a> 
 
<a href="https://2015.igem.org/Team:Nankai/Results"><li>Results</li></a> 
 
<a href="https://2015.igem.org/Team:Nankai/Design"><li>Design</li></a>
 
</ul>
 
</li></a>
 
 
<a href="#"><li>PARTS
 
            <ul>
 
<a href="https://2015.igem.org/Team:Nankai/Parts"><li>Team Parts</li></a>
 
<a href="https://2015.igem.org/Team:Nankai/Basic_Part"><li>Basic Parts</li></a> 
 
<a href="https://2015.igem.org/Team:Nankai/Composite_Part"><li>Composite Parts</li></a>
 
<a href="https://2015.igem.org/Team:Nankai/Part_Collection"><li>Part Collection</li></a> 
 
</ul>
 
</li></a>
 
 
<a href="https://2015.igem.org/Team:Nankai/Notebook"><li>NOTEBOOK</li></a>
 
     
 
<a href="https://2015.igem.org/Team:Nankai/Attributions"><li>ATTRIBUTIONS</li></a>
 
  
<a href="https://2015.igem.org/Team:Nankai/Collaborations"><li>COLLABORATIONS</li></a>
 
  
<a href="https://2015.igem.org/Team:Nankai/Practices"><li>HUMAN PRACTICES</li></a>
+
<div class="responsive_menu">
 +
        <ul class="main_menu">
 +
              <li><a href="https://2015.igem.org/Team:Nankai">Home</a></li>
 +
              <li><a href="#">Research & Lab</a>
 +
                <ul>
 +
                  <li><a href="https://2015.igem.org/Team:Nankai/Description">Project</a></li>
 +
                  <li><a href="https://2015.igem.org/Team:Nankai/Safety">Safety</a></li>
 +
                  <li><a href="https://2015.igem.org/Team:Nankai/Measurement">Measurements</a></li>
 +
                  <li><a href="https://2015.igem.org/Team:Nankai/Parts">Parts</a></li>
 +
                </ul>
 +
              </li>
 +
              <li><a href="#">Member</a>
 +
                <ul>
 +
                  <li><a href="https://2015.igem.org/Team:Nankai/Team">Team</a></li>
 +
                  <li><a href="https://2015.igem.org/Team:Nankai/Attributions">Attributions</a></li>
 +
                  <li><a href="https://2015.igem.org/Team:Nankai/Collaborations">Collaborations</a></li>
 +
                </ul>
 +
              </li>
 +
              <li><a href="https://2015.igem.org/Team:Nankai/Practices">Human Practices</a></li>
 +
              <li><a href="https://2015.igem.org/Team:Nankai/Modeling">Modeling</a></li>
 +
              <li><a href="https://2015.igem.org/Team:Nankai/Practices/iShare" target="_blank">iShare</a></li>
 +
        </ul> <!-- /.main_menu -->
 +
    </div> <!-- /.responsive_menu -->
  
<a href="https://2015.igem.org/Team:Nankai/Safety"><li>SAFETY</li></a>
 
  
<a href="https://2015.igem.org/Team:Nankai/Modeling"><li>MODELING</li></a>
+
<header class="site-header">
 +
  <div>
 +
    <div>
 +
      <div>
 +
        <div class="main-navigation">
 +
          <nav class="main-nav visible-md visible-lg">
 +
            <ul class="sf-menu"><div id="logo1"><img src="https://static.igem.org/mediawiki/2015/2/25/Nankai_logo.png" width="80" height="80" alt=""/></div>
 +
              <li id="sideli"><a href="https://2015.igem.org/Team:Nankai/Practices/iShare" target="_blank">iShare</a></li>
 +
              <li><a href="https://2015.igem.org/Team:Nankai/Modeling">Modeling</a></li>
 +
              <li><a href="https://2015.igem.org/Team:Nankai/Practices">Human Practices</a></li>
 +
              <li><a href="#">Member</a>
 +
                <ul>
 +
                  <li><a href="https://2015.igem.org/Team:Nankai/Team">Team</a></li>
 +
                  <li><a href="https://2015.igem.org/Team:Nankai/Attributions">Attributions</a></li>
 +
                  <li><a href="https://2015.igem.org/Team:Nankai/Collaborations">Collaborations</a></li>
 +
                </ul>
 +
              </li>
 +
              <li><a href="#">Research & Lab</a>
 +
                <ul>
 +
                  <li><a href="https://2015.igem.org/Team:Nankai/Description">Project</a></li>
 +
                  <li><a href="https://2015.igem.org/Team:Nankai/Safety">Safety</a></li>
 +
                  <li><a href="https://2015.igem.org/Team:Nankai/Measurement">Measurements</a></li>
 +
                  <li><a href="https://2015.igem.org/Team:Nankai/Parts">Parts</a></li>
 +
                </ul>
 +
              </li>
 +
              <li><a href="https://2015.igem.org/Team:Nankai">Home</a></li>
 +
         
  
<a href="https://2015.igem.org/Team:Nankai/Measurement"><li>MEASUREMENT</li></a>
+
            <!-- /.sf-menu -->
 +
          </nav>
 +
          <!-- /.main-nav -->
 +
          <!-- This one in here is responsive menu for tablet and mobiles -->
 +
          <div class="hidemenu">
 +
        <p><a href="#">menu</a></p>
 +
    </div>  
 +
        <!-- /.main-navigation -->
 +
      </div>
  
<a href="https://2015.igem.org/Team:Nankai/Software"><li>SOFTWARE</li></a>
+
    </div>
 +
 
 +
  </div>
  
<a href="https://2015.igem.org/Team:Nankai/Entrepreneurship"><li>ENTREPRENEURSHIP</li></a>
+
</header>
  
</ul>
+
<!-- Scripts -->
</div>
+
<script src="https://2015.igem.org/Template:Nankai/pluginsmin?action=raw&ctype=text/javascript"></script>
<!-- End of menu  -->
+
<script src="https://2015.igem.org/Template:Nankai/medigocustommin?action=raw&ctype=text/javascript"></script>
  
<!-- Start of content -->
 
<div id="contentContainer"> <!--The closing tag for contentContainer should be placed at the bottom of each content page.-->
 
 
</html>
 
</html>

Latest revision as of 22:07, 18 September 2015

Medigo Blue, free responsive template