Difference between revisions of "Template:SCUT-China"

 
(35 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 */
 
#menuContainer  {
 
float:left;
 
width: 134px;
 
padding: 20px 0px;
 
border-top: 14px solid #565656;
 
background-color: #E8E8E9;
 
}
 
 
/* Creates the container for the content */
 
#contentContainer {
 
padding-top:20px;
 
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*/
 
#bannerContainer {
 
height:200px;
 
margin:auto;
 
text-align:center;
 
color: #24B694;
 
}
 
 
/*VISUAL STYLE (TABLES, FONTS, LINKS, IMAGES, UL) */
 
 
/*Change the styling of text for everything inside main container*/
 
#mainContainer p {
 
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;
 
}
 
 
/*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 */
 
#contentContainer a:hover {
 
color: #59bf92;
 
}
 
 
/*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*/
 
    #contentContainer  td {
 
    padding: 10px;
 
    border: 1px solid #565656;
 
    border-collapse: collapse;
 
    vertical-align: text-top;
 
    }
 
 
/*Change the styling of table headers */
 
    #contentContainer th {
 
    background-color: #E8E8E9;
 
    padding: 10px;
 
    border: 1px solid #565656;
 
    border-collapse: collapse;
 
    vertical-align: text-top;
 
    }
 
  
  
Line 123: Line 15:
  
 
*{
 
*{
font-family:Myriad Pro !important;
+
font-family:Myriad Pro,Segoe UI Symbol !important;
 
letter-spacing:1px;
 
letter-spacing:1px;
 
}
 
}
Line 138: Line 30:
 
width:100%;
 
width:100%;
 
background-color:#fff;
 
background-color:#fff;
    border-bottom:3px solid #fff;
+
        border-bottom:3px solid #fff;
opacity:0.95;
+
opacity:0.9;
 
text-align:center;
 
text-align:center;
 
position:fixed;
 
position:fixed;
top:0;
+
        height:60px;
 +
        padding:0;
 +
        z-index:99999;
 +
top:16px;
 
font-size:16px;
 
font-size:16px;
 +
        box-shadow:0 3px 10px #7d7d7d;
 
}
 
}
  
Line 151: Line 47:
 
position:relative;
 
position:relative;
 
height: 60px;
 
height: 60px;
 +
}
 +
 +
p{
 +
line-height:25px;
 +
word-spacing:4px;
 +
letter-spacing:1px;
 +
        text-indent:1.5em;
 +
        text-align:justify;
 +
text-justify:inter-ideograph;
 
}
 
}
  
Line 158: Line 63:
 
display:block;
 
display:block;
 
font-weight:thin;
 
font-weight:thin;
padding:0 15px;
+
 
line-height:60px;
 
line-height:60px;
 
transition:0.3s ease;
 
transition:0.3s ease;
 
+
        font-size:17px;
+
        color:#343434;
 
}
 
}
 
#menuContainer>ul >li:hover{
 
#menuContainer>ul >li:hover{
    color:#343434;
+
        color:#e5004f;
 
border-bottom:3px solid #e5004f;
 
border-bottom:3px solid #e5004f;
 
opacity:1;
 
opacity:1;
 
}
 
}
 
#menuContainer  a{
 
#menuContainer  a{
    color:#343434;
+
        padding:0 15px;
    transition:0.4s ease;
+
        color:#343434;
 +
        transition:0.4s ease;
 
text-decoration:none;
 
text-decoration:none;
 
height:60px;
 
height:60px;
Line 177: Line 83:
 
}
 
}
 
#menuContainer  a:hover{
 
#menuContainer  a:hover{
color:#e5004f;
+
color:#e50044;
 
}
 
}
  
Line 189: Line 95:
 
padding:0px;
 
padding:0px;
 
z-index:9999;
 
z-index:9999;
 +
        box-shadow:0 3px 10px #7d7d7d;
 
}
 
}
  
Line 214: Line 121:
 
}
 
}
  
 +
.divide-line {
 +
width: 90%;
 +
height: 1px;
 +
background: #ccc;
 +
margin: 30px auto;
 +
}
  
 
#menuNav{
 
#menuNav{
Line 221: Line 134:
 
}
 
}
  
/*CLASSES */
+
#loadingLayer {
 +
width: 100%;
 +
height: 100%;
 +
z-index: 999;
 +
position: fixed;
 +
background: #34495E;
 +
top: 0;
 +
left: 0;
 +
}
 +
#loadingContainer {
 +
width: 16%;
 +
position: fixed;
 +
left: 42%;
 +
top: 40%;
 +
display: block;
 +
}
  
/*Clear class for all the pages, adds spacing too*/
+
#loadingContainer img{
.clear{
+
display:block;
clear:both;
+
width:60%;
height: 10px;
+
margin:0 auto;
}
+
}
 +
#loadingLayer h1 {
 +
text-align: center;
 +
        margin:20px auto;
 +
width:100%;
 +
color:#fff;
 +
}
  
 +
.nav-active{
 +
color:#e5004f;
 +
border-bottom:3px solid #e5004f;
 +
}
  
/* highlight box for special messages */
+
.pic-preLoad{
    .highlightBox {
+
  display:none;
        width:500px;
+
}
        margin:auto;
+
        background-color: #E8E8E9;
+
margin-bottom: 15px;
+
margin-top: 15px;
+
padding: 15px;
+
padding-top: 5px;
+
    }
+
  
 +
.pic-preLoad img{
 +
  display:none;
 +
}
  
</style>
+
.pic_three {
<!-- End of CSS -->
+
width: 100%;
 +
min-height: 200px;
 +
position: relative;
 +
margin: 20px auto;
 +
}
 +
.pic_three img {
 +
width: 80%;
 +
box-shadow: 0 3px 10px #7d7d7d;
 +
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%;
 +
}
  
 +
.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%;
 +
}
 +
 +
.pic_three .smallIntroduction{
 +
width:80%;
 +
margin:10px auto;
 +
}
 +
 +
.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;
 +
}
 +
 +
 +
 +
p.smallIntroduction {
 +
text-align: center;
 +
font-weight: normal;
 +
font-size: 15px;
 +
text-indent:0;
 +
}
 +
 +
 +
.pic_three .smallIntroduction{
 +
width:80%;
 +
margin:10px auto;
 +
position:relative;
 +
bottom:0;
 +
}
 +
 +
.underline{
 +
text-decoration:underline;
 +
}
 +
 +
 +
</style>
 +
<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>
  
 
<!-- Start of the template html elements. -->
 
<!-- Start of the template html elements. -->
Line 255: Line 328:
 
     <!-- This list is your menu, every list item is a menu button and nested listed become submenu buttons -->
 
     <!-- This list is your menu, every list item is a menu button and nested listed become submenu buttons -->
 
     <ul id="menuNav">
 
     <ul id="menuNav">
         <li id="menuLogo"> <img src="image/logo.png" /></li>
+
         <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">HOME</a></li>
 
         <li><a href="https://2015.igem.org/Team:SCUT-China/Team">TEAM</a>
 
         <li><a href="https://2015.igem.org/Team:SCUT-China/Team">TEAM</a>
 
         <ul>
 
         <ul>
         <a href="https://2015.igem.org/Team:SCUT-China/Team"><li>Team Member</li></a>
+
         <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>
 
       <a href="https://2015.igem.org/Team:SCUT-China/Attributions">  <li>Attribution</li></a>
 
          
 
          
Line 265: Line 338:
 
          
 
          
 
         </li>
 
         </li>
         <li><a href="#">PROJECT</a>
+
         <li><a href="Description">PROJECT</a>
 
             <ul>
 
             <ul>
 
                 <a href="https://2015.igem.org/Team:SCUT-China/Description">
 
                 <a href="https://2015.igem.org/Team:SCUT-China/Description">
 
                 <li>Description</li>
 
                 <li>Description</li>
 
                 </a> <a href="https://2015.igem.org/Team:SCUT-China/Experiments">
 
                 </a> <a href="https://2015.igem.org/Team:SCUT-China/Experiments">
                 <li>Experiments &amp; Protocols</li>
+
                 <li>Experiments &amp; Results</li>
                 </a> <a href="https://2015.igem.org/Team:SCUT-China/Results">
+
                 </a>  
                 <li>Results</li>
+
                 <a href="https://2015.igem.org/Team:SCUT-China/Protocols">
                </a> <a href="https://2015.igem.org/Team:SCUT-China/Design">
+
                 <li>Protocols</li>
                 <li>Design</li>
+
                 </a>  
                 </a>
+
 
                 <a href="https://2015.igem.org/Team:SCUT-China/Notebook"><li>Notebook</li></a>
 
                 <a href="https://2015.igem.org/Team:SCUT-China/Notebook"><li>Notebook</li></a>
 
             </ul>
 
             </ul>
 
         </li>
 
         </li>
         <li><a href="#">PARTS</a>
+
         <li><a href="https://2015.igem.org/Team:SCUT-China/Parts">PARTS</a>  
            <!-- <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>
 
         </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/Collaborations">COLLABORATIONS</a></li>
         <li><a href="https://2015.igem.org/Team:SCUT-China/Practices">HUMAN PRACTICES</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/Safety">SAFETY</a></li>
 
         <li><a href="https://2015.igem.org/Team:SCUT-China/Modeling">MODELING</a></li>
 
         <li><a href="https://2015.igem.org/Team:SCUT-China/Modeling">MODELING</a></li>
       
+
 
        <!--<li><a href="https://2015.igem.org/Team:SCUT-China/Measurement">MEASUREMENT</a></li>
+
 
+
<li><a href="https://2015.igem.org/Team:SCUT-China/Software">SOFTWARE</a></li>
+
 
+
<li><a href="https://2015.igem.org/Team:SCUT-China/Entrepreneurship">ENTREPRENEURSHIP</a></li>
+
                    -->
+
 
     </ul>
 
     </ul>
 
</nav>
 
</nav>
 
<!-- End of menu  -->
 
<!-- End of menu  -->
 +
 +
<script>
 +
$(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