Difference between revisions of "Template:Team:NUDT CHINA/CSS"
PatriciaXie (Talk | contribs) |
PatriciaXie (Talk | contribs) |
||
(14 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Template_All_Teams}} | {{Template_All_Teams}} | ||
<html> | <html> | ||
− | <!-- | + | <head> |
+ | <!--Javascript--> | ||
+ | <!--jQuery--> | ||
+ | <script type="text/javascript" src="http://code.jquery.com/jquery-1.11.3.js"></script> | ||
+ | <!--MENU--> | ||
+ | <script type="text/javascript"> | ||
+ | $(document).ready(function() { | ||
+ | $('#menu li a').hover( | ||
+ | function() {$(this).animate({'paddingLeft': '1.2em', 'paddingRight': '1.2em'}, 'fast');}, | ||
+ | function() {$(this).animate({'paddingLeft': '0.5em', 'paddingRight': '0.5em'}, 'fast');} | ||
+ | ); | ||
+ | }); | ||
+ | </script> | ||
+ | <!--NAVIGATION--> | ||
+ | <script type="text/javascript"> | ||
+ | $(document).ready(function() { | ||
+ | $('#navigation li a').hover( | ||
+ | function() {$(this).animate({'paddingLeft': '1.2em', 'paddingRight': '1.2em'}, 'fast');}, | ||
+ | function() {$(this).animate({'paddingLeft': '0.5em', 'paddingRight': '0.5em'}, 'fast');} | ||
+ | ); | ||
+ | }); | ||
+ | $(function(){ | ||
+ | $("a").click(function(){ | ||
+ | $("html,body").animate({ scrollTop:$($(this).attr("href")).offset().top + "px"},1000);} | ||
+ | ); | ||
+ | }); | ||
+ | </script> | ||
+ | <!--iGEM_LOGO--> | ||
+ | <script type="text/javascript"> | ||
+ | $(document).ready(function() { | ||
+ | $("#iGEM_LOGO").mouseover( | ||
+ | function(){$(this).animate({'width': '140px', 'height': '140px'},"fast"); | ||
+ | }); | ||
+ | $("#iGEM_LOGO").mouseout( | ||
+ | function(){$(this).animate({'width': '137px', 'height': '137px'},"fast"); | ||
+ | }); | ||
+ | }); | ||
+ | </script> | ||
+ | <!--css--> | ||
+ | <!--RESET--> | ||
<style type="text/css"> | <style type="text/css"> | ||
− | + | .clearStyle { | |
− | + | margin: 0; | |
− | + | padding: 0; | |
− | + | border: 0; | |
− | + | font-size: 100%; | |
+ | font: inherit; | ||
+ | vertical-align: baseline; | ||
} | } | ||
− | + | body { | |
− | + | background-color: #f3f3f3; | |
+ | background-image: url(https://static.igem.org/mediawiki/2015/8/8a/Team_NUDT_CHINA_Soft_wallpaper.png); | ||
+ | background-repeat: repeat; | ||
+ | background-attachment: fixed; | ||
+ | background-position: 0px 0px; | ||
+ | height: 100%; | ||
+ | width: auto; | ||
+ | } | ||
+ | </style> | ||
+ | <!-- MAINCONTAINER--> | ||
+ | <style type="text/css"> | ||
#mainContainer { | #mainContainer { | ||
− | width: | + | width: 900px; |
− | overflow: | + | overflow:visible; |
− | float: | + | float:center; |
margin-left:20px; | margin-left:20px; | ||
margin-bottom: 10px; | margin-bottom: 10px; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
+ | </style> | ||
+ | <!--BANNER CONTAINER--> | ||
+ | <style type="text/css"> | ||
+ | #bannerContainer { | ||
+ | margin-left:180px; | ||
+ | width: auto; | ||
+ | } | ||
+ | </style> | ||
+ | <!--MENU--> | ||
+ | <style type="text/css"> | ||
+ | #menu | ||
+ | { | ||
+ | position: fixed; | ||
+ | top: 30px; | ||
+ | left: 0px; | ||
+ | } | ||
+ | #menu img | ||
+ | { | ||
+ | margin-left: 30px; | ||
+ | margin-bottom: 0px | ||
+ | } | ||
+ | #menu ul | ||
+ | { | ||
+ | list-style-type:none; | ||
+ | padding: 0; | ||
+ | border: 0; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | + | #menu li | |
− | + | { | |
− | + | list-style-type:none; | |
− | + | position: relative; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
font-family: "Trebuchet MS", Helvetica, sans-serif; | font-family: "Trebuchet MS", Helvetica, sans-serif; | ||
+ | font-size: 15px; | ||
} | } | ||
− | + | #menu a | |
− | + | { | |
− | # | + | position: relative; |
− | + | display: inline-block; | |
− | + | margin: 4px 0px 0px 0px; | |
− | text- | + | padding: 0.3em .5em 0.3em; |
− | color: # | + | text-decoration: none; |
+ | background-color: #ffffff; | ||
+ | color: #888887; | ||
+ | border-radius: 0 .4em .4em 0; | ||
+ | outline: none; | ||
+ | cursor: pointer; | ||
} | } | ||
− | + | #menu a.b | |
− | + | { | |
− | + | position: relative; | |
− | + | display: inline-block; | |
− | + | margin: 1px 0px; | |
− | font-size: 13px; | + | padding: 0.3em .5em 0.3em; |
− | color: # | + | text-decoration: none; |
+ | background-color: #ffffff; | ||
+ | outline: none; | ||
+ | cursor: pointer; | ||
+ | background-color: #888887; | ||
+ | color: #ffffff; | ||
+ | border-radius: 0 1em 1em 0; | ||
+ | font-size: 13px; | ||
+ | } | ||
+ | #menu a:hover | ||
+ | { | ||
+ | background-color: #ffffff; | ||
+ | color:#d82545; | ||
+ | } | ||
+ | #menu a.b:hover | ||
+ | { | ||
+ | background-color: #888887; | ||
+ | color:#f9d24b; | ||
+ | } | ||
+ | #menu span | ||
+ | { | ||
+ | padding-left: 10px; | ||
+ | padding-right: 10px; | ||
} | } | ||
− | + | </style> | |
− | / | + | <!--NAVIGATION--> |
− | # | + | <style type="text/css"> |
− | + | #navigation | |
− | + | { | |
− | + | position: fixed; | |
+ | top: 170px; | ||
+ | right: 0px; | ||
+ | text-align: right; | ||
+ | } | ||
+ | #navigation img | ||
+ | { | ||
+ | margin-right: 30px; | ||
+ | margin-top: 0px; | ||
+ | margin-bottom: 30px; | ||
+ | } | ||
+ | #navigation ul | ||
+ | { | ||
+ | list-style-type:none; | ||
+ | border: 0; | ||
+ | } | ||
+ | #navigation li | ||
+ | { | ||
+ | list-style-type:none; | ||
+ | position: relative; | ||
font-family: "Trebuchet MS", Helvetica, sans-serif; | font-family: "Trebuchet MS", Helvetica, sans-serif; | ||
− | + | font-size: 15px; | |
} | } | ||
− | + | #navigation a | |
− | + | { | |
− | # | + | position: relative; |
− | + | display: inline-block; | |
− | color: # | + | margin: 4px 0px 0px 0px; |
+ | padding: 0.3em .5em 0.3em; | ||
+ | text-decoration: none; | ||
+ | background-color: #ffffff; | ||
+ | color: #888887; | ||
+ | border-radius: .4em 0em 0em .4em; | ||
+ | outline: none; | ||
+ | cursor: pointer; | ||
} | } | ||
− | + | #navigation a.b | |
− | + | { | |
− | + | position: relative; | |
− | color: # | + | display: inline-block; |
+ | margin: 1px 0px; | ||
+ | padding: 0.3em .5em 0.3em; | ||
+ | text-decoration: none; | ||
+ | background-color: #ffffff; | ||
+ | outline: none; | ||
+ | cursor: pointer; | ||
+ | background-color: #888887; | ||
+ | color: #ffffff; | ||
+ | border-radius: 1em 0em 0em 1em; | ||
+ | font-size: 13px; | ||
} | } | ||
− | + | #navigation a.t | |
− | + | { | |
− | + | position: relative; | |
− | + | display: inline-block; | |
− | + | margin: 1px 0px; | |
− | + | padding: 0.3em .5em 0.3em; | |
− | + | text-decoration: none; | |
− | + | background-color: #ffffff; | |
− | + | outline: none; | |
− | + | cursor: pointer; | |
− | + | background-color: #d82545; | |
− | + | color: #ffffff; | |
− | + | border-radius: 1em 0em 0em 1em; | |
− | + | font-size: 20px; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | color: # | + | |
− | + | ||
− | font- | + | |
} | } | ||
− | + | #navigation a:hover | |
− | + | { | |
− | # | + | background-color: #ffffff; |
− | + | color:#d82545; | |
− | + | ||
} | } | ||
− | + | #navigation a.b:hover | |
− | + | { | |
− | + | background-color: #888887; | |
− | + | color:#f9d24b; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | #navigation a.t:hover | |
− | + | { | |
− | # | + | background-color: #6b1877; |
− | color: | + | color:#ffffff; |
− | + | } | |
+ | #navigation span | ||
+ | { | ||
+ | padding-left: 10px; | ||
+ | padding-right: 10px; | ||
+ | } | ||
+ | </style> | ||
+ | <!--IGEM LOGO--> | ||
+ | <style type="text/css"> | ||
+ | #logoContainer { | ||
+ | position: fixed; | ||
+ | top: 30px; | ||
+ | right: 30px; | ||
} | } | ||
+ | </style> | ||
+ | <!--NUDT_Container--> | ||
+ | <!--NUDT_Container--> | ||
+ | <style type="text/css"> | ||
+ | #NUDT_Container | ||
+ | { | ||
+ | clear: both; | ||
+ | width: 900px; | ||
+ | margin: 30px 180px; | ||
+ | padding: 30px 0px; | ||
+ | font-family: 'verdana',sans-serif; | ||
+ | background: #fff; | ||
+ | box-shadow: 0 3px 8px rgba(0,0,0,.1); | ||
+ | position: relative; | ||
+ | } | ||
+ | #NUDT_Container ul | ||
+ | { | ||
+ | list-style-position:inside; | ||
+ | padding: 10px 50px; | ||
+ | border: 0; | ||
− | + | } | |
− | # | + | #NUDT_Container li |
− | + | { | |
− | padding | + | padding: 0; |
− | + | border: 0; | |
} | } | ||
− | + | #NUDT_Container p{ | |
− | # | + | text-decoration: none; |
− | + | font-family: "Trebuchet MS", Helvetica, sans-serif; | |
− | + | color: #888887; | |
− | + | position: relative; | |
− | + | padding: 10px 50px; | |
− | + | font-size: 16px; | |
− | + | } | |
− | + | #NUDT_Container a { | |
− | + | position: relative; | |
− | + | text-decoration:none; | |
− | # | + | color:#d82545; |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | #NUDT_Container a:hover | |
− | + | { | |
− | / | + | text-decoration:underline; |
− | + | } | |
− | + | #NUDT_Container h1, h2, h3, h4, h5{ | |
− | + | color: #444; | |
+ | margin: 20px 0px; | ||
+ | padding:4px 8px; | ||
+ | letter-spacing: -1px; | ||
+ | text-transform: uppercase; | ||
+ | position: relative; | ||
+ | } | ||
+ | #NUDT_Container h1 { | ||
+ | font:bold 28px/12px 'verdana',sans-serif; | ||
+ | border-left: 10px solid #444; | ||
+ | } | ||
+ | #NUDT_Container h2 { | ||
+ | font:bold 24px/10px 'verdana',sans-serif; | ||
+ | border-left: 20px solid #444; | ||
+ | } | ||
+ | #NUDT_Container h3 { | ||
+ | font:bold 22px/8px 'verdana',sans-serif; | ||
+ | border-left: 30px solid #444; | ||
+ | } | ||
+ | #NUDT_Container h4 { | ||
+ | font:bold 22px/6px 'verdana',sans-serif; | ||
+ | border-left: 35px solid #444; | ||
+ | } | ||
+ | #NUDT_Container h5 { | ||
+ | font:bold 20px/4px 'verdana',sans-serif; | ||
+ | border-left: 40px solid #444; | ||
+ | } | ||
+ | /*CASE*/ | ||
+ | #NUDT_Container ca { | ||
+ | position: relative; | ||
+ | display: inline-block; | ||
+ | margin: 10px 100px; | ||
+ | padding: 10px 20px; | ||
+ | text-decoration: none; | ||
+ | background-color: #bcbcbc; | ||
+ | color: #000000; | ||
+ | border-radius: 8px 8px; | ||
+ | outline: none; | ||
+ | cursor: pointer; | ||
+ | font-family: "Trebuchet MS", Helvetica, sans-serif; | ||
+ | font-size: 16px; | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</style> | </style> | ||
− | <!-- | + | <!--Common--> |
+ | <div id = "mainContainer"> | ||
+ | <div id = "bannerContainer"> | ||
+ | <img src="https://static.igem.org/mediawiki/2015/0/06/Team_NUDT_CHINA_banner.jpg" style="width: 900px"/> | ||
+ | </div> | ||
+ | <div id = "menu"> | ||
+ | <img src="https://static.igem.org/mediawiki/2015/9/99/Menu.png"/> | ||
+ | <li><a id = "HOME" href="https://2015.igem.org/Team:NUDT_CHINA"><span>HOME</span></a></li> | ||
+ | |||
+ | <li><a id = "PROJECT" href = "#"><span>PROJECT</span></a></li> | ||
+ | <li><a id = "Description" href = "https://2015.igem.org/Team:NUDT_CHINA/Description" class = "b"><span>Description</span></a></li> | ||
+ | <li><a id = "Experiments" href = "https://2015.igem.org/Team:NUDT_CHINA/Experiments" class = "b"><span>Experiments & Protocols</span></a></li> | ||
+ | <li><a id = "Results" href="https://2015.igem.org/Team:NUDT_CHINA/Results" class = "b"><span>Results</span></a></li> | ||
+ | <li><a id = "Design" href="https://2015.igem.org/Team:NUDT_CHINA/Design" class = "b"><span>Design</span></a></li> | ||
+ | |||
+ | <li><a id = "PARTS" href = "#"><span>PARTS</span></a></li> | ||
+ | <li><a id = "Team" href = "https://2015.igem.org/Team:NUDT_CHINA/Parts" class = "b"><span>Team Parts</span></a></li> | ||
+ | <li><a id = "Basic" href = "https://2015.igem.org/Team:NUDT_CHINA/Basic_Part" class = "b"><span>Basic Parts</span></a></li> | ||
+ | <li><a id = "Composite" href="https://2015.igem.org/Team:NUDT_CHINA/Composite_Part" class = "b"><span>Composite Parts</span></a></li> | ||
− | + | <li><a id = "NOTEBOOK" href="https://2015.igem.org/Team:NUDT_CHINA/Notebook"><span>NOTEBOOK</span></a></li> | |
− | + | <li><a id = "ATTRIBUTIONS" href="https://2015.igem.org/Team:NUDT_CHINA/Attributions"><span>ATTRIBUTIONS</span></a></li> | |
− | + | <li><a id = "COLLABORATIONS" href="https://2015.igem.org/Team:NUDT_CHINA/Collaborations"><span>COLLABORATIONS</span></a></li> | |
− | + | <li><a id = "HUMAN" href="https://2015.igem.org/Team:NUDT_CHINA/Practices"><span>HUMAN PRACTICES</span></a></li> | |
− | + | <li><a id = "SAFETY" href="https://2015.igem.org/Team:NUDT_CHINA/Safety"><span>SAFETY</span></a></li> | |
− | + | <li><a id = "MODELING" href="https://2015.igem.org/Team:NUDT_CHINA/Modeling"><span>MODELING</span></a></li> | |
− | + | <li><a id = "MEASUREMENT" href="https://2015.igem.org/Team:NUDT_CHINA/Measurement"><span>MEASUREMENT</span></a></li> | |
− | + | <li><a id = "ENTREPRENEURSHIP" href="https://2015.igem.org/Team:NUDT_CHINA/Entrepreneurship"><span>ENTREPRENEURSHIP</span></a></li> | |
− | + | </div> | |
− | + | <div id = "logoContainer"> | |
− | + | <a href="https://igem.org/Main_Page"><img id = "iGEM_LOGO" src="https://static.igem.org/mediawiki/2015/e/ec/TEAM_NUDT_CHINA_iGEM_Logo.png" style="width: 130px; height:135px"/></a> | |
− | + | </div> | |
− | + | </head> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | < | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | < | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</html> | </html> |
Latest revision as of 00:45, 22 August 2015