Difference between revisions of "Template:SCUT-China"

(Prototype team template page)
 
 
(36 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Template_All_Teams}}
 
  
 +
{{SCUT-China-default}}
 
<!-- 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>
Line 7: Line 7:
 
<style type="text/css">
 
<style type="text/css">
  
/* PAGE LAYOUT */
 
  
/* Change Background color*/
 
body {
 
background-color: #fff;
 
}
 
  
/* Creates a container that will wrap all of the content inside your wiki pages. */
 
#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 */
+
/*MENU STYLING */
#menuContainer  {
+
@charset "utf-8";
float:left;
+
/* CSS Document */
width: 134px;
+
padding: 20px 0px;
+
border-top: 14px solid #565656;
+
background-color: #E8E8E9;
+
}
+
  
/* Creates the container for the content */
+
*{
#contentContainer {
+
font-family:Myriad Pro,Segoe UI Symbol !important;
padding-top:20px;
+
letter-spacing:1px;
padding-right:10px;
+
}
margin-bottom: 20px;
+
width: 814px;
+
padding-left: 20px;
+
float: left;
+
background-color: #fff;
+
border-top: 14px solid #565656;
+
font-family: "Trebuchet MS", Helvetica, sans-serif;
+
}
+
  
/*Set up height place holder for the banner*/
+
html,body{
#bannerContainer {
+
width:100%;
height:200px;
+
background-color:#f8f8f8;
margin:auto;
+
margin:0;
text-align:center;
+
padding:0;
color: #24B694;
+
position:relative;
}
+
}
  
/*VISUAL STYLE (TABLES, FONTS, LINKS, IMAGES, UL) */
+
#menuContainer{
 +
width:100%;
 +
background-color:#fff;
 +
        border-bottom:3px solid #fff;
 +
opacity:0.9;
 +
text-align:center;
 +
position:fixed;
 +
        height:60px;
 +
        padding:0;
 +
        z-index:99999;
 +
top:16px;
 +
font-size:16px;
 +
        box-shadow:0 3px 10px #7d7d7d;
 +
}
  
/*Change the styling of text for everything inside main container*/
+
#menuContainer>ul{
#mainContainer p {  
+
margin:0px auto;
font-size: 13px;
+
text-align:center;
color: #000000;
+
position:relative;
}
+
height: 60px;
+
}
/*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;
+
}
+
  
/*Style of the links - links are different inside the menu */
+
p{
#contentContainer a {
+
line-height:25px;
font-weight: bold;
+
word-spacing:4px;
color: #23b593;
+
letter-spacing:1px;
}
+
        text-indent:1.5em;
 +
        text-align:justify;
 +
text-justify:inter-ideograph;
 +
}
  
  /* Styling links on hover- links are different inside the menu */
+
#menuContainer  ul  li{
#contentContainer a:hover {  
+
list-style:none;
color: #59bf92;
+
float:left;
}
+
display:block;
 +
font-weight:thin;
 +
 +
line-height:60px;
 +
transition:0.3s ease;
 +
        font-size:17px;
 +
        color:#343434;
 +
}
 +
#menuContainer>ul >li:hover{
 +
        color:#e5004f;
 +
border-bottom:3px solid #e5004f;
 +
opacity:1;
 +
}
 +
#menuContainer  a{
 +
        padding:0 15px;
 +
        color:#343434;
 +
        transition:0.4s ease;
 +
text-decoration:none;
 +
height:60px;
 +
display:block;
 +
}
 +
#menuContainer  a:hover{
 +
color:#e50044;
 +
}
  
/*Change the styling of tables */
 
        #contentContainer table {
 
    border: 1px solid #565656;
 
    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*/
+
#menuContainer ul li ul{
    #contentContainer  td {
+
margin-top:3px;
    padding: 10px;
+
margin-left:-20px;
    border: 1px solid #565656;
+
position:absolute;
    border-collapse: collapse;
+
background:#fff;
    vertical-align: text-top;
+
display:none;
    }
+
padding:0px;
 +
z-index:9999;
 +
        box-shadow:0 3px 10px #7d7d7d;
 +
}
  
/*Change the styling of table headers */
+
#menuContainer ul li ul li{
    #contentContainer th {
+
float:none;
    background-color: #E8E8E9;
+
background:#fff;
    padding: 10px;
+
transition:0.1s linear;
    border: 1px solid #565656;
+
}
    border-collapse: collapse;
+
    vertical-align: text-top;
+
    }
+
  
 +
#menuContainer ul li ul li:hover{
 +
opacity:1;
 +
color:#e5004f;
 +
}
  
 +
#menuLogo{
 +
display:inline-block;
 +
line-height:60px;
 +
}
 +
#menuLogo:hover{
 +
border:0 !important;
 +
}
 +
#menuLogo img{
 +
width:50px;
 +
padding:5px;
 +
}
  
/*MENU STYLING */
+
.divide-line {
 +
width: 90%;
 +
height: 1px;
 +
background: #ccc;
 +
margin: 30px auto;
 +
}
  
/*Styling for the links in the menu */
+
#menuNav{
#menuContainer a {
+
display:inline-block;
color: #565656;
+
padding:0px;
text-decoration:none;
+
margin:0 auto;
font-weight: bold;
+
}
}
+
  
/* Sets the style for lists inside menuContainer  */
+
#loadingLayer {
#menuContainer ul {  
+
width: 100%;
list-style: none;
+
height: 100%;
margin-left:0px;
+
z-index: 999;
}
+
position: fixed;
 +
background: #34495E;
 +
top: 0;
 +
left: 0;
 +
}
 +
#loadingContainer {
 +
width: 16%;
 +
position: fixed;
 +
left: 42%;
 +
top: 40%;
 +
display: block;
 +
}
  
/*Styles the list items to become menu buttons */
+
#loadingContainer img{
#menuContainer ul li {  
+
display:block;
text-align: center;
+
width:60%;
display: block;
+
margin:0 auto;
width: 100%;
+
}
height:30px;
+
#loadingLayer h1 {
padding-top:10px;
+
text-align: center;
}
+
        margin:20px auto;
 +
width:100%;
 +
color:#fff;
 +
}
  
/*For the menu buttons, changes the color when hovering*/
+
.nav-active{
#menuContainer li:hover {
+
color:#e5004f;
color: #FFF;
+
border-bottom:3px solid #e5004f;
background-color: #24B694;
+
}
}
+
  
/*Submenus are not displayed as default*/
+
.pic-preLoad{
#menuContainer li ul {
+
  display:none;
display: none;
+
}
padding-top:15px;
+
margin-left: -19px;
+
}
+
  
/*Submenus are displayed when hovering the menu button */
+
.pic-preLoad img{
#menuContainer li:hover ul {
+
  display:none;
/*display: inline-block; */
+
}
display: block;
+
position: absolute;
+
float:right;
+
margin-left: 134px;
+
margin-top:-42px;
+
}
+
  
/*Style the submenu buttons*/
+
.pic_three {
#menuContainer li ul li{
+
width: 100%;
background-color: #59BF92;  
+
min-height: 200px;
padding-left:20px;
+
position: relative;
padding-right:20px;
+
margin: 20px auto;
height:30px;
+
}
padding-top:10px;
+
.pic_three img {
margin-top:-2px;
+
width: 80%;
color: #565656;
+
box-shadow: 0 3px 10px #7d7d7d;
width: 150px;
+
display: block;
}
+
margin: 10px auto;
 +
max-width: 330px;
 +
}
 +
.pic_three .pic_left {
 +
position: absolute;
 +
display:inline-block;
 +
left: 0;
 +
width: 33%;
 +
}
 +
.pic_three .pic_middle {
 +
position: relative;
 +
 +
display:inline-block;
 +
left: 33%;
 +
width: 33%;
 +
}
 +
.pic_three .pic_right {
 +
position: absolute;
 +
display:inline-block;
 +
left: 66%;
 +
width: 33%;
 +
}
  
/*CLASSES */
+
.pic_two {
 +
width: 100%;
 +
min-height: 200px;
 +
position: relative;
 +
margin: 20px auto;
 +
}
 +
.pic_two img {
 +
width: 80%;
 +
box-shadow: 0 3px 10px #7d7d7d;
 +
display: block;
 +
margin: 10px auto;
 +
max-width: 330px;
 +
}
 +
.pic_two .pic_left {
 +
position: relative;
 +
left: 0;
 +
width: 50%;
 +
display: inline-block;
 +
}
 +
.pic_two .pic_right {
 +
position: absolute;
 +
left: 50%;
 +
display: inline-block;
 +
width: 50%;
 +
}
  
/*Clear class for all the pages, adds spacing too*/
+
.pic_three .smallIntroduction{
.clear{
+
width:80%;
clear:both;
+
margin:10px auto;
height: 10px;
+
}
}
+
  
 +
.part {
 +
width: 80%;
 +
margin: 0 auto;
 +
padding: 20px;
 +
}
 +
.part-head h2 {
 +
padding: 0 0px;
 +
margin: 20px 0;
 +
}
 +
.part-head h3 {
 +
padding: 0 30px;
 +
margin: 20px 0;
 +
}
 +
.part-head h4 {
 +
padding: 0 60px;
 +
margin: 20px 0;
 +
}
 +
.part .img {
 +
display: block;
 +
width: 60%;
 +
margin: 30px auto;
 +
}
 +
.part h3 {
 +
font-size: 26px;
 +
}
 +
.part h4 {
 +
font-size: 22px;
 +
font-weight: normal;
 +
padding: 10px 20px;
 +
}
 +
.part p {
 +
font-size: 18px;
 +
        padding:0 20px;
 +
}
 +
.source_link {
 +
display: block;
 +
text-align: right;
 +
text-decoration: none;
 +
color: #343434;
 +
font-size: 16px;
 +
}
 +
a {
 +
text-decoration: none;
 +
color: #343434;
 +
}
 +
a:hover {
 +
text-decoration: underline;
 +
color: #00b4ed;
 +
}
  
/* 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>
+
p.smallIntroduction {
<!-- End of CSS -->
+
text-align: center;
 +
font-weight: normal;
 +
font-size: 15px;
 +
text-indent:0;
 +
}
  
  
<!-- Start of the template html elements. -->
+
.pic_three .smallIntroduction{
<div id ="mainContainer"><!--The closing tag for mainContainer should be placed at the bottom of each content page.-->
+
width:80%;
 +
margin:10px auto;
 +
position:relative;
 +
bottom:0;
 +
}
  
 +
.underline{
 +
text-decoration:underline;
 +
}
  
<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_SCUT-China_banner.jpg</i>" </p>
 
</div>
 
  
<!-- Start of menu -->
+
</style>
<div id="menuContainer">
+
<div id="loadingLayer">
 +
    <div id="loadingContainer"> <img  src="https://static.igem.org/mediawiki/2015/6/6d/2015-SCUT-China-loading2.svg" />
 +
        <h1>Loading</h1>
 +
    </div>
 +
</div>
  
<!-- This list is your menu, every list item is a menu button and nested listed become submenu buttons -->
+
<!-- Start of the template html elements. -->
<ul>
+
<div id ="mainContainer"><!--The closing tag for mainContainer should be placed at the bottom of each content page.-->
<a href="https://2015.igem.org/Team:SCUT-China"><li>HOME</li></a>
+
 
+
<a href="https://2015.igem.org/Team:SCUT-China/Team"><li>TEAM</li></a>
+
 
+
<a href="#"><li>PROJECT
+
            <ul>
+
<a href="https://2015.igem.org/Team:SCUT-China/Description"><li>Description</li></a>
+
<a href="https://2015.igem.org/Team:SCUT-China/Experiments"><li>Experiments &amp; Protocols</li></a> 
+
<a href="https://2015.igem.org/Team:SCUT-China/Results"><li>Results</li></a> 
+
<a href="https://2015.igem.org/Team:SCUT-China/Design"><li>Design</li></a>
+
</ul>
+
</li></a>
+
 
+
<a href="#"><li>PARTS
+
            <ul>
+
<a href="https://2015.igem.org/Team:SCUT-China/Parts"><li>Team Parts</li></a>
+
<a href="https://2015.igem.org/Team:SCUT-China/Basic_Part"><li>Basic Parts</li></a> 
+
<a href="https://2015.igem.org/Team:SCUT-China/Composite_Part"><li>Composite Parts</li></a>
+
<a href="https://2015.igem.org/Team:SCUT-China/Part_Collection"><li>Part Collection</li></a> 
+
</ul>
+
</li></a>
+
 
+
<a href="https://2015.igem.org/Team:SCUT-China/Notebook"><li>NOTEBOOK</li></a>
+
     
+
<a href="https://2015.igem.org/Team:SCUT-China/Attributions"><li>ATTRIBUTIONS</li></a>
+
 
+
<a href="https://2015.igem.org/Team:SCUT-China/Collaborations"><li>COLLABORATIONS</li></a>
+
 
+
<a href="https://2015.igem.org/Team:SCUT-China/Practices"><li>HUMAN PRACTICES</li></a>
+
 
+
<a href="https://2015.igem.org/Team:SCUT-China/Safety"><li>SAFETY</li></a>
+
 
+
<a href="https://2015.igem.org/Team:SCUT-China/Modeling"><li>MODELING</li></a>
+
 
+
<a href="https://2015.igem.org/Team:SCUT-China/Measurement"><li>MEASUREMENT</li></a>
+
  
<a href="https://2015.igem.org/Team:SCUT-China/Software"><li>SOFTWARE</li></a>
 
  
<a href="https://2015.igem.org/Team:SCUT-China/Entrepreneurship"><li>ENTREPRENEURSHIP</li></a>
 
  
</ul>
+
<nav id="menuContainer">
</div>
+
   
<!-- End of menu  -->
+
    <!-- This list is your menu, every list item is a menu button and nested listed become submenu buttons -->
 +
    <ul id="menuNav">
 +
        <li id="menuLogo"> <img src="https://static.igem.org/mediawiki/2015/b/b9/2015-SCUT-China-logo.png" /></li>
 +
        <li><a href="https://2015.igem.org/Team:SCUT-China">HOME</a></li>
 +
        <li><a href="https://2015.igem.org/Team:SCUT-China/Team">TEAM</a>
 +
        <ul>
 +
        <a href="https://2015.igem.org/Team:SCUT-China/Team"><li>Team Members</li></a>
 +
      <a href="https://2015.igem.org/Team:SCUT-China/Attributions">  <li>Attribution</li></a>
 +
       
 +
        </ul>
 +
       
 +
        </li>
 +
        <li><a href="Description">PROJECT</a>
 +
            <ul>
 +
                <a href="https://2015.igem.org/Team:SCUT-China/Description">
 +
                <li>Description</li>
 +
                </a> <a href="https://2015.igem.org/Team:SCUT-China/Experiments">
 +
                <li>Experiments &amp; Results</li>
 +
                </a>
 +
                <a href="https://2015.igem.org/Team:SCUT-China/Protocols">
 +
                <li>Protocols</li>
 +
                </a>
 +
                <a href="https://2015.igem.org/Team:SCUT-China/Notebook"><li>Notebook</li></a>
 +
            </ul>
 +
        </li>
 +
        <li><a href="https://2015.igem.org/Team:SCUT-China/Parts">PARTS</a>
 +
        </li>
 +
       
 +
       
 +
        <li><a href="https://2015.igem.org/Team:SCUT-China/Collaborations">COLLABORATIONS</a></li>
 +
        <li><a href="https://2015.igem.org/Team:SCUT-China/Practices">HUMAN PRACTICES</a>
 +
        <ul>
 +
                <a href="https://2015.igem.org/Team:SCUT-China/Practices">
 +
                <li>Overview</li>
 +
                </a> <a href="https://2015.igem.org/Team:SCUT-China/hospitalInterview">
 +
                <li>Hospital Interview</li>
 +
                </a>
 +
                <a href="https://2015.igem.org/Team:SCUT-China/Conference">
 +
                <li>Seminar &amp; Conference</li>
 +
                </a>
 +
                <a href="https://2015.igem.org/Team:SCUT-China/dataAnalysis"><li>Data Analysis</li></a>
 +
                <a href="https://2015.igem.org/Team:SCUT-China/criticalThinking"><li>Law & Regulation</li></a>
 +
            </ul>
 +
</li>
 +
        <li><a href="https://2015.igem.org/Team:SCUT-China/Safety">SAFETY</a></li>
 +
        <li><a href="https://2015.igem.org/Team:SCUT-China/Modeling">MODELING</a></li>
 +
 
 +
    </ul>
 +
</nav>
 +
<!-- End of menu  -->
  
<!-- Start of content -->
+
<script>
<div id="contentContainer"> <!--The closing tag for contentContainer should be placed at the bottom of each content page.-->
+
$(function(){
 +
 +
$("#menuNav").children("li").mouseenter(function(){
 +
$(this).children("ul").stop(true);
 +
$(this).children("ul").fadeIn(300);
 +
//$(this).children("a").css("color","#e5004f");
 +
});
 +
 +
$("#menuNav").children("li").mouseleave(function(){
 +
$(this).children("ul").fadeOut(300);
 +
//$(this).children("a").css("color","#343434");
 +
});
 +
 +
$("#loadingLayer").fadeOut(500);
 +
 +
});
 +
</script>
 
</html>
 
</html>

Latest revision as of 02:18, 19 September 2015

Loading