Background
In
![Generic placeholder image](https://static.igem.org/mediawiki/2015/d/d3/Modelling_pic_9_.png)
Yuqing Wang (Talk | contribs) |
Yuqing Wang (Talk | contribs) |
||
Line 25: | Line 25: | ||
<link rel="stylesheet" href="https://2016.igem.org/Template:Peking/css/priorstyle?action=raw&ctype=text/css"> | <link rel="stylesheet" href="https://2016.igem.org/Template:Peking/css/priorstyle?action=raw&ctype=text/css"> | ||
<link rel="stylesheet" href="https://2016.igem.org/Template:Peking/css/notebook_panel?action=raw&ctype=text/css"> | <link rel="stylesheet" href="https://2016.igem.org/Template:Peking/css/notebook_panel?action=raw&ctype=text/css"> | ||
− | + | <style> | |
− | + | .texttitle{ | |
− | + | color: #11abb0; | |
− | + | font-size: 38px; | |
− | + | line-height: 48px; | |
− | + | margin-bottom: 12px; | |
− | + | font-family: raleway-bold, sans-serif !important; | |
− | + | background: transparent; | |
− | + | letter-spacing: 3px; | |
− | + | text-transform: uppercase; | |
− | + | font-weight: 350; | |
− | + | text-align: center; | |
− | + | } | |
sup{font-size:11px;} | sup{font-size:11px;} | ||
.references p{font-size:14px !important; color:#666161 !important;} | .references p{font-size:14px !important; color:#666161 !important;} | ||
− | .classic-title { | + | sub{color:white;} |
− | font-weight: | + | .classic-title {font-weight: 300;} |
+ | |||
+ | .classic-title span { | ||
+ | padding-bottom: 8px; | ||
+ | border-bottom: 1px solid #383232; | ||
+ | font-weight: 400; | ||
+ | } | ||
+ | </style> | ||
+ | <!--sidebar 引用==================--> | ||
+ | <style> | ||
+ | #primary span{ | ||
+ | display:block; | ||
+ | word-break:break-all | ||
} | } | ||
− | + | #page-wrap { | |
− | + | width: 25%; | |
− | + | margin: 0px; | |
− | + | position: relative; | |
} | } | ||
− | + | ||
− | </style> | + | #sidebar { |
+ | width: 25%; | ||
+ | margin-left: 0px; | ||
+ | } | ||
+ | @media (min-width:1024px){ | ||
+ | #sidebar{position:relative;top:120px;max-width:200px;}} | ||
+ | @media (max-width: 1023px){ | ||
+ | #sidebar{display:none; | ||
+ | } | ||
+ | #page-wrap{display:none;} | ||
+ | } | ||
+ | </style> | ||
+ | |||
+ | |||
+ | <script type="text/javascript"> | ||
+ | function menuFixed(id){ | ||
+ | var obj = document.getElementById(id); | ||
+ | var _getHeight = obj.offsetTop; | ||
+ | |||
+ | window.onscroll = function(){ | ||
+ | changePos(id,_getHeight); | ||
+ | } | ||
+ | } | ||
+ | function changePos(id,height){ | ||
+ | var obj = document.getElementById(id);var windowBottom = $(window).scrollTop() + $(window).innerHeight(); | ||
+ | if(w>=1024){ | ||
+ | if($(window).scrollTop() + $(window).height() > $(document).height() - 230){ | ||
+ | $('#sidebar').fadeOut("fast");}else{$('#sidebar').fadeIn("fast");} | ||
+ | } | ||
+ | var scrollTop = document.documentElement.scrollTop || document.body.scrollTop -230; | ||
+ | var windowBottom = $(window).scrollTop() + $(window).innerHeight(); | ||
+ | var w = window.innerWidth; | ||
+ | |||
+ | if(scrollTop < height){ obj.style.position = 'relative'; | ||
+ | }else{ | ||
+ | obj.style.position = 'fixed'; | ||
+ | } | ||
+ | } | ||
+ | </script> | ||
+ | |||
+ | <script type="text/javascript"> | ||
+ | window.onload = function(){ | ||
+ | menuFixed('sidebar'); | ||
+ | } | ||
+ | </script> | ||
+ | <!--sidebar 引用 end ==================--> | ||
+ | <!--panel 引用==================--> | ||
<style type="text/css"> | <style type="text/css"> | ||
.panel-default .panel-heading a{ | .panel-default .panel-heading a{ | ||
Line 111: | Line 169: | ||
}); | }); | ||
$("#notebook").addClass("navbar-active"); | $("#notebook").addClass("navbar-active"); | ||
− | + | </script> | |
+ | <!--panel 引用 end ==================--> | ||
</head> | </head> | ||
Line 137: | Line 196: | ||
<li><a href="https://2016.igem.org/Team:Peking/Description" >Overview</a></li> | <li><a href="https://2016.igem.org/Team:Peking/Description" >Overview</a></li> | ||
<li><a href="https://2016.igem.org/Team:Peking/Design" >Design</a></li> | <li><a href="https://2016.igem.org/Team:Peking/Design" >Design</a></li> | ||
− | <li><a href="https://2016.igem.org/Team:Peking/ | + | <li><a href="https://2016.igem.org/Team:Peking/Crosslinking" >Crosslinking</a></li> |
− | <li><a href="https://2016.igem.org/Team:Peking/Uranyl- | + | <li><a href="https://2016.igem.org/Team:Peking/Uranyl-adsorption" >Uranyl adsorption</a></li> |
− | <li><a href="https://2016.igem.org/Team:Peking/Retrievability" > | + | <li><a href="https://2016.igem.org/Team:Peking/Retrievability" >Recovery</a></li> |
<li><a href="https://2016.igem.org/Team:Peking/Secretion" >Secretion</a></li> | <li><a href="https://2016.igem.org/Team:Peking/Secretion" >Secretion</a></li> | ||
<li><a href="https://2016.igem.org/Team:Peking/Proof" >Proof and speculation</a></li> | <li><a href="https://2016.igem.org/Team:Peking/Proof" >Proof and speculation</a></li> | ||
Line 147: | Line 206: | ||
<ul class="dropdown-menu"> | <ul class="dropdown-menu"> | ||
<li><a href="https://2016.igem.org/Team:Peking/Model" >Protein polymerization</a></li> | <li><a href="https://2016.igem.org/Team:Peking/Model" >Protein polymerization</a></li> | ||
+ | <li><a href="https://2016.igem.org/Team:Peking/Software" >Software</a></li> | ||
</ul> | </ul> | ||
</li> | </li> | ||
Line 192: | Line 252: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
In