Difference between revisions of "Template:UESTC-China/nav"

 
(6 intermediate revisions by the same user not shown)
Line 105: Line 105:
 
         @media(max-width:1299px){
 
         @media(max-width:1299px){
 
             .custom a{
 
             .custom a{
 +
              font-size:15px;
 
               font-size:1.1vw;
 
               font-size:1.1vw;
 
           }
 
           }
Line 111: Line 112:
 
             .custom a{
 
             .custom a{
 
               font-size:18px;
 
               font-size:18px;
 +
            }
 +
        }
 +
        @media(max-width:767px){
 +
            .custom a{
 +
              font-size:15px;
 +
              font-size:1.1vw;
 
             }
 
             }
 
         }
 
         }
Line 117: Line 124:
 
         }
 
         }
 
</style>
 
</style>
<script>
 
function IsPC(){ 
 
          var userAgentInfo = navigator.userAgent; 
 
          var Agents = new Array("Android", "iPhone", "SymbianOS", "Windows Phone", "iPad", "iPod"); 
 
          var flag = true; 
 
          for (var v = 0; v < Agents.length; v++) { 
 
              if (userAgentInfo.indexOf(Agents[v]) > 0) { flag = false; break; } 
 
          } 
 
          return flag; 
 
      }
 
  
if(!IsPC()){
 
    document.body.addEventListener('touchstart', function(){ });
 
              };
 
document.body.addEventListener('touchstart', function(){ });
 
</script>
 
 
<meta charset="utf-8">
 
<meta charset="utf-8">
 
<meta http-equiv="X-UA-Compatible" content="IE=edge">
 
<meta http-equiv="X-UA-Compatible" content="IE=edge">
Line 168: Line 160:
 
         <li class="dropdown custom"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">PART<b class="caret"></b></a>
 
         <li class="dropdown custom"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">PART<b class="caret"></b></a>
 
               <ul class="dropdown-menu" style="border-left: 0;margin-left:0">
 
               <ul class="dropdown-menu" style="border-left: 0;margin-left:0">
             <li><a href="https://2019.igem.org/Team:UESTC-China/Parts">Basic part</a></li>
+
             <li><a href="https://2019.igem.org/Team:UESTC-China/Parts">Basic parts</a></li>
 
             <li><a href="https://2019.igem.org/Team:UESTC-China/Improve">Improve part</a></li>
 
             <li><a href="https://2019.igem.org/Team:UESTC-China/Improve">Improve part</a></li>
 
           </ul>
 
           </ul>
Line 195: Line 187:
 
         <li class="dropdown navbar-right custom"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">HUMAN PRACTICES<b class="caret"></b></a>
 
         <li class="dropdown navbar-right custom"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">HUMAN PRACTICES<b class="caret"></b></a>
 
               <ul class="dropdown-menu" style="border-left: 0;margin-left:0">
 
               <ul class="dropdown-menu" style="border-left: 0;margin-left:0">
             <li><a href="https://2019.igem.org/Team:UESTC-China/Human_Practices">Human practice</a></li>
+
             <li><a href="https://2019.igem.org/Team:UESTC-China/Human_Practices">Human practices</a></li>
 
             <li><a href="https://2019.igem.org/Team:UESTC-China/Public_Engagement">Education&Engagement</a></li>
 
             <li><a href="https://2019.igem.org/Team:UESTC-China/Public_Engagement">Education&Engagement</a></li>
 
             <li><a href="https://2019.igem.org/Team:UESTC-China/Collaborations">Collaborations</a></li>
 
             <li><a href="https://2019.igem.org/Team:UESTC-China/Collaborations">Collaborations</a></li>
Line 210: Line 202:
 
         </div>
 
         </div>
 
   </div>
 
   </div>
       <div  class="navbar-fixed-top" style="height:100px; width:150px;margin-left: auto; margin-right: auto;top: 0;margin-top: -0.5em;">  
+
       <div  class="navbar-fixed-top" style="height:100px; width:150px;margin-left: auto; margin-right: auto;top: 0;margin-top: -0.5em;z-index:0">  
 
  <a  href="https://2019.igem.org/Team:UESTC-China">  
 
  <a  href="https://2019.igem.org/Team:UESTC-China">  
 
  <img alt="logo" width="150" height="95" src="https://static.igem.org/mediawiki/2019/7/7f/T--UESTC-China--logo1.jpg" >  
 
  <img alt="logo" width="150" height="95" src="https://static.igem.org/mediawiki/2019/7/7f/T--UESTC-China--logo1.jpg" >  

Latest revision as of 09:42, 28 November 2019

description