Difference between revisions of "Template:BIT-China"
(31 intermediate revisions by the same user not shown) | |||
Line 40: | Line 40: | ||
font-size: 17px; | font-size: 17px; | ||
line-height: 1.5em; | line-height: 1.5em; | ||
− | font-family: | + | font-family: Calibri, Arial; |
} | } | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
/* Creates the container for the content */ | /* Creates the container for the content */ | ||
Line 93: | Line 86: | ||
/* Styling links on hover- links are different inside the menu */ | /* Styling links on hover- links are different inside the menu */ | ||
#contentContainer a:hover { | #contentContainer a:hover { | ||
− | color: # | + | color: #f5a107; |
} | } | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
Line 153: | Line 115: | ||
/*MENU STYLING */ | /*MENU STYLING */ | ||
− | + | #menuContainer{ | |
width:100%; | width:100%; | ||
height:95px; | height:95px; | ||
− | background-color: | + | background-color:#106f9c; |
background-position:bottom; | background-position:bottom; | ||
+ | background-image:url("https://static.igem.org/mediawiki/2015/8/8e/BIT_China_nav_bg.png"); | ||
position:fixed; | position:fixed; | ||
+ | top:18px; | ||
padding-top:5px; | padding-top:5px; | ||
z-index: 100; | z-index: 100; | ||
+ | background-repeat: no-repeat; | ||
+ | |||
} | } | ||
+ | #menuContainer p{ | ||
+ | color:#ffffff; | ||
+ | } | ||
/* 背景绿色background-color:#c9e77f;*/ | /* 背景绿色background-color:#c9e77f;*/ | ||
#top_nav{ | #top_nav{ | ||
Line 186: | Line 155: | ||
} | } | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
#taiji{ | #taiji{ | ||
margin:5px 8px; | margin:5px 8px; | ||
Line 197: | Line 162: | ||
} | } | ||
#top_nav_bulge{ | #top_nav_bulge{ | ||
− | + | position:fixed; | |
− | top: | + | top:118px; |
width:100%; | width:100%; | ||
height:45px; | height:45px; | ||
− | + | background-color: #106f9c; | |
− | + | background-image:url("https://static.igem.org/mediawiki/2015/d/d6/BIT_China_nav_bg2.png"); | |
+ | background-position:top; | ||
+ | background-repeat: no-repeat; | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
#top_nav li{ | #top_nav li{ | ||
float:left; | float:left; | ||
Line 238: | Line 193: | ||
line-height:20px; | line-height:20px; | ||
border-left:3px dashed; | border-left:3px dashed; | ||
+ | display: inline; | ||
+ | text-decoration:none; | ||
} | } | ||
#top_nav li:hover span { | #top_nav li:hover span { | ||
Line 245: | Line 202: | ||
visibility:visible; | visibility:visible; | ||
} | } | ||
− | + | #menuContainer a p{ | |
− | + | ||
− | + | ||
− | #menuContainer a{ | + | |
text-decoration:none; | text-decoration:none; | ||
} | } | ||
#menuContainer a:link, #menuContainer a:visited{ | #menuContainer a:link, #menuContainer a:visited{ | ||
− | color:# | + | color:#eeeeee; |
} | } | ||
#menuContainer a:active{ | #menuContainer a:active{ | ||
Line 261: | Line 215: | ||
} | } | ||
#top_nav li:hover span a{ | #top_nav li:hover span a{ | ||
− | color:# | + | color:#cccccc; |
} | } | ||
− | + | #menuContainer a:hover p{ | |
− | + | color:#f5a107; | |
− | + | } | |
− | + | #top_nav li span a:hover{ | |
− | + | color:#f5a107; | |
+ | border-left:3px dashed #eeeeee; | ||
+ | } | ||
+ | #menuContainer{ | ||
+ | z-index:999; | ||
} | } | ||
+ | @media screen and (max-width:1260px){ | ||
#top_nav{ | #top_nav{ | ||
width:1000px; | width:1000px; | ||
Line 276: | Line 235: | ||
height:60px; | height:60px; | ||
margin:0 23px; | margin:0 23px; | ||
+ | |||
} | } | ||
} | } | ||
Line 392: | Line 352: | ||
} | } | ||
} | } | ||
+ | |||
</style> | </style> | ||
<!-- End of CSS --> | <!-- End of CSS --> | ||
− | + | <script> | |
+ | $(document).ready(function () { | ||
+ | $('#top_nav_bulge').hide(); | ||
+ | $('#menuContainer').mouseover(function(){ | ||
+ | $('#top_nav_bulge').show(); | ||
+ | }) | ||
+ | $('#menuContainer').mouseout(function(){ | ||
+ | $('#top_nav_bulge').hide(); | ||
+ | }) | ||
+ | }) | ||
+ | </script> | ||
<!-- Start of the template html elements. --> | <!-- Start of the template html elements. --> | ||
Line 410: | Line 381: | ||
<!-- Start of menu --> | <!-- Start of menu --> | ||
<div id="menuContainer"> | <div id="menuContainer"> | ||
− | + | <div id="top_nav_bulge" > | |
+ | </div> | ||
<!-- 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 --> | ||
<div id="top_nav"> | <div id="top_nav"> | ||
Line 421: | Line 393: | ||
<span id="nav_second_level"> | <span id="nav_second_level"> | ||
<a href="https://2015.igem.org/Team:BIT-China/Description">Description</a> | <a href="https://2015.igem.org/Team:BIT-China/Description">Description</a> | ||
− | |||
<a href="https://2015.igem.org/Team:BIT-China/Design">Design</a> | <a href="https://2015.igem.org/Team:BIT-China/Design">Design</a> | ||
− | <a href=" | + | <a href="https://2015.igem.org/Team:BIT-China/project_Basic_circuits.html">Basic circuits</a> |
− | <a href=" | + | <a href="https://2015.igem.org/Team:BIT-China/project_Fine-regulation_circuits.html">Fine-regulation circuits</a> |
− | + | ||
</span> | </span> | ||
</li> | </li> | ||
Line 434: | Line 404: | ||
</div></a> | </div></a> | ||
<span id="nav_second_level"> | <span id="nav_second_level"> | ||
− | <a href=" | + | <a href="https://2015.igem.org/Team:BIT-China/modeling_Basic_circuits.html">Basic circuits</a> |
− | <a href=" | + | <a href="https://2015.igem.org/Team:BIT-China/modeling_Fine-regulation_circuits.html">Fine-regulation circuits</a> |
</span> | </span> | ||
</li> | </li> | ||
Line 455: | Line 425: | ||
<span id="nav_second_level"> | <span id="nav_second_level"> | ||
<a href="https://2015.igem.org/Team:BIT-China/Parts">Parts Submission</a> | <a href="https://2015.igem.org/Team:BIT-China/Parts">Parts Submission</a> | ||
− | + | <a href="https://2015.igem.org/Team:BIT-China/Achievements">Achievements</a> | |
− | <a href="https://2015.igem.org/Team:BIT-China/ | + | |
</span> | </span> | ||
</li> | </li> | ||
<li> | <li> | ||
<div> | <div> | ||
− | <img src="https://static.igem.org/mediawiki/2015/f/f2/BIT_China_logo_project.png" id="taiji" class="rotating"/> | + | <a href="https://2015.igem.org/Team:BIT-China"><img src="https://static.igem.org/mediawiki/2015/f/f2/BIT_China_logo_project.png" id="taiji" class="rotating"/></a> |
</div> | </div> | ||
</li> | </li> | ||
<li> | <li> | ||
− | <a href=" | + | <a href="" ><div id="active"> |
<img src="https://static.igem.org/mediawiki/2015/7/76/BIT_China_icon_team.png" class="top_nav_icon"/> | <img src="https://static.igem.org/mediawiki/2015/7/76/BIT_China_icon_team.png" class="top_nav_icon"/> | ||
<p>Team</p> | <p>Team</p> | ||
</div></a> | </div></a> | ||
− | + | <span id="nav_second_level"> | |
− | <a href=" | + | <a href="https://2015.igem.org/Team:BIT-China/Team">Team</a> |
− | <a href=" | + | <a href="https://2015.igem.org/Team:BIT-China/gallery">Gallery</a> |
− | + | ||
</span> | </span> | ||
+ | |||
</li> | </li> | ||
<li> | <li> | ||
− | <a href=" | + | <a href=""><div> |
<img src="https://static.igem.org/mediawiki/2015/7/75/BIT_China_icon_practice.png" class="top_nav_icon" /> | <img src="https://static.igem.org/mediawiki/2015/7/75/BIT_China_icon_practice.png" class="top_nav_icon" /> | ||
<p>Practice</p> | <p>Practice</p> | ||
</div></a> | </div></a> | ||
+ | <span id="nav_second_level"> | ||
+ | <a href="https://2015.igem.org/Team:BIT-China/Practices">Human Practice</a> | ||
+ | <a href="https://2015.igem.org/Team:BIT-China/Collaborations">Collaboration </a> | ||
+ | </span> | ||
</li> | </li> | ||
<li> | <li> | ||
Line 488: | Line 461: | ||
<span id="nav_second_level"> | <span id="nav_second_level"> | ||
<a href="https://2015.igem.org/Team:BIT-China/Safety">Safety</a> | <a href="https://2015.igem.org/Team:BIT-China/Safety">Safety</a> | ||
− | <a href=" | + | <a href="https://2015.igem.org/Team:BIT-China/Questions_and_answers">Q/A</a> |
</span> | </span> | ||
</li> | </li> | ||
<li> | <li> | ||
− | <a href=" | + | <a href="#"><div> |
<img src="https://static.igem.org/mediawiki/2015/2/21/BIT_China_icon_sponsor.png" class="top_nav_icon" /> | <img src="https://static.igem.org/mediawiki/2015/2/21/BIT_China_icon_sponsor.png" class="top_nav_icon" /> | ||
<p>Attributions</p> | <p>Attributions</p> | ||
</div></a> | </div></a> | ||
+ | <span id="nav_second_level" style="margin-left:-100px;"> | ||
+ | <a href="https://2015.igem.org/Team:BIT-China/Attributions">Attributions</a> | ||
+ | <a href="https://2015.igem.org/Team:BIT-China/Sponsors">Sponsors</a> | ||
+ | </span> | ||
</li> | </li> | ||
</ul> | </ul> | ||
Line 503: | Line 480: | ||
</div> | </div> | ||
<!-- End of menu --> | <!-- End of menu --> | ||
− | + | ||
<!-- Start of content --> | <!-- Start of content --> | ||
<div id="contentContainer"> <!--The closing tag for contentContainer should be placed at the bottom of each content page.--> | <div id="contentContainer"> <!--The closing tag for contentContainer should be placed at the bottom of each content page.--> | ||
</html> | </html> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 04:21, 20 October 2015