Difference between revisions of "Template:NTU-LIHPAO-Taiwan"

Line 3: Line 3:
 
<!-- Declare that you are going to use html code instead of wiki code -->
 
<!-- Declare that you are going to use html code instead of wiki code -->
 
<html>
 
<html>
<style type="text/css">
 
body {
 
background-color: #F0F0F0;
 
}
 
body,td,th {
 
font-family: Calibri, "新細明體", serif;
 
}
 
#Wrapper {
 
margin-right: auto;
 
margin-left: auto;
 
background-color: #FFF;
 
margin-top: 0px;
 
margin-bottom: 0px;
 
width: 1150px;
 
height: 1000px;
 
top: 0px;
 
bottom: 0px;
 
padding-top: 0px;
 
padding-bottom: 0px;
 
}
 
#Wrapper_TOP {
 
background-color: #FFF;
 
height: 20px;
 
width: 1150px;
 
position: absolute;
 
top: 0px;
 
left: 100px;
 
right: auto;
 
}
 
  
 +
<!-- Start of CSS-->
 +
<style type="text/css">
  
/*-------------------------------------------*/
+
/* PAGE LAYOUT */
/*--------------------nav--------------------*/
+
/*-------------------------------------------*/
+
.nav {
+
position: absolute;
+
top: 200px;
+
left: 100px;
+
right: auto;
+
    list-style:none;
+
    margin:0;
+
    padding:0;
+
}
+
  
.nav ul {
+
/* Change Background color*/
    *zoom:1;
+
body {
    list-style:none;
+
background-color: #fff;
    margin:0;
+
}
    padding:0;
+
    background:#FFF;
+
}
+
  
.nav ul:before,.nav ul:after {
+
/* Creates a container that will wrap all of the content inside your wiki pages. */
    content:"";
+
#mainContainer { 
    display:table;
+
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;
 +
}
  
.nav ul:after {
+
/* Creates the container for the menu */
    clear:both;
+
#menuContainer  {  
}
+
float:left;
 +
width: 134px;
 +
padding: 20px 0px;
 +
border-top: 14px solid #565656;
 +
background-color: #E8E8E9;
 +
}
  
.nav a {
+
/* Creates the container for the content */
text-decoration:none;
+
#contentContainer {
display:block;
+
padding-top:20px;
padding:10px 10px;
+
padding-right:10px;
line-height:1.2em;
+
margin-bottom: 20px;
color:#000;
+
width: 814px;
text-align: center;
+
padding-left: 20px;
vertical-align: middle;
+
float: left;
}
+
background-color: #fff;  
 +
border-top: 14px solid #565656;
 +
font-family: "Trebuchet MS", Helvetica, sans-serif;
 +
}
  
.nav a:hover {
+
/*Set up height place holder for the banner*/
text-decoration:none;
+
#bannerContainer {
background:#FFF;
+
height:200px;
text-align: center;
+
margin:auto;
vertical-align: middle;
+
text-align:center;
}
+
color: #24B694;
 +
}
  
.nav li ul {
+
/*VISUAL STYLE (TABLES, FONTS, LINKS, IMAGES, UL) */
    position:absolute;
+
    left:0;
+
    top:36px;
+
    z-index:1;
+
}
+
  
.nav li ul li {
+
/*Change the styling of text for everything inside main container*/
    overflow:hidden;
+
#mainContainer p {  
    height:0;
+
font-size: 13px;
}
+
color: #000000;
 +
}
 +
 +
/*This changes the color and font family */
 +
#contentContainer h1, h2, h3, h4, h5, h6 {
 +
color: #565656;
 +
border-bottom: none;
 +
font-weight: bold;
 +
font-family: "Trebuchet MS", Helvetica, sans-serif;
 +
margin-top:10px;
 +
}
  
.nav li ul a {
+
/*Style of the links - links are different inside the menu */
    border:none;
+
#contentContainer a {  
    background:rgba(0,0,0,0.05);
+
font-weight: bold;
-webkit-transition:background 500ms ease-in-out;
+
color: #23b593;
    -moz-transition:background 500ms ease-in-out;
+
}
    -o-transition:background 500ms ease-in-out;
+
    transition:background 500ms ease-in-out;
+
}
+
  
.nav li ul a:hover {
+
  /* Styling links on hover- links are different inside the menu */
    background:rgba(0,0,0,0.2);
+
#contentContainer a:hover {  
}
+
color: #59bf92;
 +
}
  
.nav ul > li {
+
/*Change the styling of tables */
text-decoration:none;
+
        #contentContainer table {
    float:left;
+
    border: 1px solid #565656;
    position:relative;
+
    border-collapse: collapse;
height:36px;
+
    width: 90%
width: 125px;
+
    margin: auto;
}
+
    margin-bottom: 15px;
 +
    margin-top: 15px;
 +
    margin-right: 10px;
 +
    margin-left: 10px;
 +
    }
  
.nav ul > li:hover ul.subs {
+
/*Change the styling of table cells*/
    height:auto;
+
    #contentContainer  td {
    width:300px;
+
    padding: 10px;
}
+
    border: 1px solid #565656;
 +
    border-collapse: collapse;
 +
    vertical-align: text-top;
 +
    }
  
.nav ul > li:hover ul li {
+
/*Change the styling of table headers */
line-height: 24px;
+
    #contentContainer th {
text-decoration:none;
+
    background-color: #E8E8E9;
height:36px;
+
    padding: 10px;
width: 300px;
+
    border: 1px solid #565656;
text-align: center;
+
    border-collapse: collapse;
vertical-align: middle;
+
    vertical-align: text-top;
    border-left:1px solid #6E67A6;
+
    }
    -webkit-transition:height 250ms ease-in;
+
    -moz-transition:height 250ms ease-in;
+
    -o-transition:height 250ms ease-in;
+
    transition:height 250ms ease-in;
+
}
+
  
  
/*--------------------------------------------*/
 
/*--------------------nav2--------------------*/
 
/*--------------------------------------------*/
 
.nav2 {
 
position: absolute;
 
top: 200px;
 
left: auto;
 
right: 100px;
 
    list-style:none;
 
    margin:0;
 
    padding:0;
 
}
 
  
.nav2 ul {
+
/*MENU STYLING */
    *zoom:1;
+
    list-style:none;
+
    margin:0;
+
    padding:0;
+
    background:#FFF;
+
}
+
  
.nav2 ul:before,.nav ul:after {
+
/*Styling for the links in the menu */
    content:"";
+
#menuContainer a {
    display:table;
+
color: #565656;
}
+
text-decoration:none;
 +
font-weight: bold;
 +
}
  
.nav2 ul:after {
+
/* Sets the style for lists inside menuContainer  */
    clear:both;
+
#menuContainer ul {  
}
+
list-style: none;
 +
margin-left:0px;
 +
}
  
.nav2 a {
+
/*Styles the list items to become menu buttons */
text-decoration:none;
+
#menuContainer ul li {  
display:block;
+
text-align: center;
padding:10px 10px;
+
display: block;
line-height:1.2em;
+
width: 100%;
color:#000;
+
height:30px;
text-align: center;
+
padding-top:10px;
vertical-align: middle;
+
}
}
+
  
.nav2 a:hover {
+
/*For the menu buttons, changes the color when hovering*/
text-decoration:none;
+
#menuContainer li:hover {
background:#FFF;
+
color: #FFF;
text-align: center;
+
background-color: #24B694;
vertical-align: middle;
+
}
}
+
  
.nav2 li ul {
+
/*Submenus are not displayed as default*/
    position:absolute;
+
#menuContainer li ul {
    right:0;
+
display: none;
    top:36px;
+
padding-top:15px;
    z-index:1;
+
margin-left: -19px;
}
+
}
  
.nav2 li ul li {
+
/*Submenus are displayed when hovering the menu button */
    overflow:hidden;
+
#menuContainer li:hover ul {
    height:0;
+
/*display: inline-block; */
}
+
display: block;
 +
position: absolute;
 +
float:right;
 +
margin-left: 134px;
 +
margin-top:-42px;
 +
}
  
.nav2 li ul a {
+
/*Style the submenu buttons*/
    border:none;
+
#menuContainer li ul li{
    background:rgba(0,0,0,0.05);
+
background-color: #59BF92;  
-webkit-transition:background 500ms ease-in-out;
+
padding-left:20px;
    -moz-transition:background 500ms ease-in-out;
+
padding-right:20px;
    -o-transition:background 500ms ease-in-out;
+
height:30px;
    transition:background 500ms ease-in-out;
+
padding-top:10px;
}
+
margin-top:-2px;
 +
color: #565656;
 +
width: 150px;
 +
}
  
.nav2 li ul a:hover {
+
/*CLASSES */
    background:rgba(0,0,0,0.2);
+
}
+
  
.nav2 ul > li {
+
/*Clear class for all the pages, adds spacing too*/
text-decoration:none;
+
.clear{
    float:right;
+
clear:both;
    position:relative;
+
height: 10px;
height:36px;
+
}
width: 125px;
+
}
+
  
.nav2 ul > li:hover ul.subs {
 
    height:auto;
 
    width:300px;
 
}
 
  
.nav2 ul > li:hover ul li {
+
/* highlight box for special messages */
line-height: 24px;
+
    .highlightBox {
text-decoration:none;
+
        width:500px;  
height:36px;
+
        margin:auto;  
width: 300px;
+
        background-color: #E8E8E9;  
text-align: center;
+
margin-bottom: 15px;
vertical-align: middle;
+
margin-top: 15px;
    border-right:1px solid #6E67A6;
+
padding: 15px;
    -webkit-transition:height 250ms ease-in;
+
padding-top: 5px;
    -moz-transition:height 250ms ease-in;
+
    }
    -o-transition:height 250ms ease-in;
+
    transition:height 250ms ease-in;
+
}
+
  
</style>
+
 
 +
</style>
 +
<!-- End of CSS -->
 +
 
 +
 
 +
<!-- Start of the template html elements. -->
 +
<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_NTU-LIHPAO-Taiwan_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:NTU-LIHPAO-Taiwan"><li>HOME</li></a>
 +
 
 +
<a href="https://2015.igem.org/Team:NTU-LIHPAO-Taiwan/Team"><li>TEAM</li></a>
 +
 
 +
<a href="#"><li>PROJECT
 +
            <ul>
 +
<a href="https://2015.igem.org/Team:NTU-LIHPAO-Taiwan/Description"><li>Description</li></a>
 +
<a href="https://2015.igem.org/Team:NTU-LIHPAO-Taiwan/Experiments"><li>Experiments &amp; Protocols</li></a> 
 +
<a href="https://2015.igem.org/Team:NTU-LIHPAO-Taiwan/Results"><li>Results</li></a> 
 +
<a href="https://2015.igem.org/Team:NTU-LIHPAO-Taiwan/Design"><li>Design</li></a>
 +
</ul>
 +
</li></a>
 +
 
 +
<a href="#"><li>PARTS
 +
            <ul>
 +
<a href="https://2015.igem.org/Team:NTU-LIHPAO-Taiwan/Parts"><li>Team Parts</li></a>
 +
<a href="https://2015.igem.org/Team:NTU-LIHPAO-Taiwan/Basic_Part"><li>Basic Parts</li></a> 
 +
<a href="https://2015.igem.org/Team:NTU-LIHPAO-Taiwan/Composite_Part"><li>Composite Parts</li></a>
 +
<a href="https://2015.igem.org/Team:NTU-LIHPAO-Taiwan/Part_Collection"><li>Part Collection</li></a> 
 +
</ul>
 +
</li></a>
 +
 
 +
<a href="https://2015.igem.org/Team:NTU-LIHPAO-Taiwan/Notebook"><li>NOTEBOOK</li></a>
 +
     
 +
<a href="https://2015.igem.org/Team:NTU-LIHPAO-Taiwan/Attributions"><li>ATTRIBUTIONS</li></a>
 +
 
 +
<a href="https://2015.igem.org/Team:NTU-LIHPAO-Taiwan/Collaborations"><li>COLLABORATIONS</li></a>
 +
 
 +
<a href="https://2015.igem.org/Team:NTU-LIHPAO-Taiwan/Practices"><li>HUMAN PRACTICES</li></a>
 +
 
 +
<a href="https://2015.igem.org/Team:NTU-LIHPAO-Taiwan/Safety"><li>SAFETY</li></a>
 +
 
 +
<a href="https://2015.igem.org/Team:NTU-LIHPAO-Taiwan/Modeling"><li>MODELING</li></a>
 +
 
 +
<a href="https://2015.igem.org/Team:NTU-LIHPAO-Taiwan/Measurement"><li>MEASUREMENT</li></a>
 +
 
 +
<a href="https://2015.igem.org/Team:NTU-LIHPAO-Taiwan/Software"><li>SOFTWARE</li></a>
 +
 
 +
<a href="https://2015.igem.org/Team:NTU-LIHPAO-Taiwan/Entrepreneurship"><li>ENTREPRENEURSHIP</li></a>
 +
 
 +
</ul>
 +
</div>
 +
<!-- End of menu  -->
 +
 
 +
<!-- Start of content -->
 +
<div id="contentContainer"> <!--The closing tag for contentContainer should be placed at the bottom of each content page.-->
 
</html>
 
</html>

Revision as of 17:32, 11 July 2015