Difference between revisions of "Template:SCUT-China"
(Prototype team template page) |
|||
Line 119: | Line 119: | ||
/*MENU STYLING */ | /*MENU STYLING */ | ||
+ | @charset "utf-8"; | ||
+ | /* CSS Document */ | ||
− | + | *{ | |
− | + | font-family:Myriad Pro !important; | |
− | + | letter-spacing:1px; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | html,body{ | |
− | + | width:100%; | |
− | + | background-color:#f8f8f8; | |
− | + | margin:0; | |
− | + | padding:0; | |
+ | position:relative; | ||
+ | } | ||
− | + | #menuContainer{ | |
− | + | width:100%; | |
− | + | background-color:#fff; | |
− | + | border-bottom:3px solid #fff; | |
− | + | opacity:0.95; | |
− | + | text-align:center; | |
− | + | position:fixed; | |
− | + | top:0; | |
+ | font-size:16px; | ||
+ | } | ||
− | + | #menuContainer>ul{ | |
− | + | margin:0px auto; | |
− | + | text-align:center; | |
− | + | position:relative; | |
− | + | height: 60px; | |
+ | } | ||
− | + | #menuContainer ul li{ | |
− | + | list-style:none; | |
− | + | float:left; | |
− | + | display:block; | |
− | + | font-weight:thin; | |
− | + | padding:0 15px; | |
+ | line-height:60px; | ||
+ | transition:0.3s ease; | ||
− | + | ||
− | + | } | |
− | + | #menuContainer>ul >li:hover{ | |
− | + | color:#343434; | |
− | + | border-bottom:3px solid #e5004f; | |
− | + | opacity:1; | |
− | + | } | |
− | + | #menuContainer a{ | |
− | + | color:#343434; | |
+ | transition:0.4s ease; | ||
+ | text-decoration:none; | ||
+ | height:60px; | ||
+ | display:block; | ||
+ | } | ||
+ | #menuContainer a:hover{ | ||
+ | color:#e5004f; | ||
+ | } | ||
− | + | ||
− | + | #menuContainer ul li ul{ | |
− | + | margin-top:3px; | |
− | + | margin-left:-20px; | |
− | + | position:absolute; | |
− | + | background:#fff; | |
− | + | display:none; | |
− | + | padding:0px; | |
− | + | z-index:9999; | |
− | + | } | |
− | + | ||
+ | #menuContainer ul li ul li{ | ||
+ | float:none; | ||
+ | background:#fff; | ||
+ | transition:0.1s linear; | ||
+ | } | ||
+ | |||
+ | #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; | ||
+ | } | ||
+ | |||
+ | |||
+ | #menuNav{ | ||
+ | display:inline-block; | ||
+ | padding:0px; | ||
+ | margin:0 auto; | ||
+ | } | ||
/*CLASSES */ | /*CLASSES */ | ||
Line 206: | Line 250: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | <nav id="menuContainer"> | |
+ | |||
+ | <!-- 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="image/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 Member</li></a> | ||
+ | <a href="https://2015.igem.org/Team:SCUT-China/Attributions"> <li>Attribution</li></a> | ||
+ | |||
+ | </ul> | ||
+ | |||
+ | </li> | ||
+ | <li><a href="#">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 & 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> | ||
+ | <a href="https://2015.igem.org/Team:SCUT-China/Notebook"><li>Notebook</li></a> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li><a href="#">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><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/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/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> | ||
+ | </nav> | ||
+ | <!-- End of menu --> | ||
</html> | </html> |
Revision as of 04:12, 13 September 2015