Difference between revisions of "Template:SZU-China/Nav"

 
(55 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<html>
 
<html>
  
<head>
+
<head>
<meta charset="UTF-8">
+
    <meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="https://2018.igem.org/wiki/index.php?title=Template:SZU-China/CSS&action=raw&ctype=text/css" />
+
    <link rel="stylesheet" type="text/css" href="https://2018.igem.org/wiki/index.php?title=Template:SZU-China/CSS/Bootstrap&action=raw&ctype=text/css" />
  
<link rel="stylesheet" type="text/css" href="https://2018.igem.org/wiki/index.php?title=Template:SZU-China/CSS/Fluent&action=raw&ctype=text/css" />
 
  
<!--
+
    <link rel="stylesheet" type="text/css" href="https://2018.igem.org/wiki/index.php?title=Template:SZU-China/CSS/Fluent&action=raw&ctype=text/css" />
 +
 
 +
    <link rel="stylesheet" type="text/css" href="https://2018.igem.org/wiki/index.php?title=Template:SZU-China/CSS/FontAwesome&action=raw&ctype=text/css" />
 +
 
 +
    <link rel="stylesheet" type="text/css" href="https://2018.igem.org/wiki/index.php?title=Template:SZU-China/CSS/Custom&action=raw&ctype=text/css" />
 +
 
 +
 
 +
    <!--
 
<script type="text/javascript" src="js/jquery-3.3.1.min.js"></script>
 
<script type="text/javascript" src="js/jquery-3.3.1.min.js"></script>
  
Line 17: Line 23:
 
-->
 
-->
  
<script type="text/javascript" src="https://2018.igem.org/wiki/index.php?title=Template:SZU-China/JS/jquery&action=raw&ctype=text/javascript"></script>
+
 
<script type="text/javascript" src="https://2018.igem.org/wiki/index.php?title=Template:SZU-China/JS/bootstrap&action=raw&ctype=text/javascript"></script>
+
    <script type="text/javascript" src="https://2018.igem.org/wiki/index.php?title=Template:SZU-China/JS/jquery3.2.1&action=raw&ctype=text/javascript"></script>
<script type="text/javascript" src="https://2018.igem.org/wiki/index.php?title=Template:SZU-China/JS/popper&action=raw&ctype=text/javascript"></script>
+
 
+
    <script type="text/javascript" src="https://2018.igem.org/wiki/index.php?title=Template:SZU-China/JS/bootstrap&action=raw&ctype=text/javascript"></script>
<title></title>
+
 
</head>
+
    <script type="text/javascript" src="https://2018.igem.org/wiki/index.php?title=Template:SZU-China/JS/bootstrap.bundle&action=raw&ctype=text/javascript"></script>
<style>
+
 
        #sideMenu, #top_title {
+
    <script type="text/javascript" src="https://2018.igem.org/wiki/index.php?title=Template:SZU-China/JS/popper&action=raw&ctype=text/javascript"></script>
 +
 
 +
    <script type="text/javascript" src="https://2018.igem.org/wiki/index.php?title=Template:SZU-China/JS/smooth-scroll&action=raw&ctype=text/javascript"></script>
 +
 
 +
    <title></title>
 +
</head>
 +
 
 +
<style>
 +
    #sideMenu, #top_title, #toc, .toc {
 
         display: none;
 
         display: none;
 
         }
 
         }
Line 35: Line 49:
  
 
.fixed-top {
 
.fixed-top {
   top: 50px;
+
   top: 12px;
 
   }
 
   }
  
.navbar {
+
#globalWrapper {
  min-height: 60px;
+
    font-size: 100%;
 
}
 
}
 +
.dropdown-menu {
 +
    width: 160px !important;
 +
   
 +
}
 +
 +
 +
#HQ_page p{
 +
font-size: 20px;
 +
color: #393939;
 +
}
 +
body{
 +
padding-top: 40px;
 +
}
 +
h2 h3 h4 {
 +
font-weight: bold;
 +
}
 +
 +
.row {
 +
padding: 36px;
 +
}
 +
hr {
 +
width: auto;
 +
border-top: 1px solid rgba(0, 0, 0, 0.125);
 +
}
  
 
     </style>
 
     </style>
  
<body>
 
  
<!-- Navbar -->
 
<nav class="navbar navbar-expand-lg fixed-top navbar-dark bg-primary ">
 
<a class="navbar-brand" href="#">
 
<img src="https://mdbootstrap.com/img/logo/mdb-transparent.png" height="20" alt="Route 66 in navbar">
 
<span class="d-inline-block align-top ml-2">SZU-China</span>
 
</a>
 
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarExample" aria-controls="navbarExample" aria-expanded="false" aria-label="Toggle navigation">
 
    <span class="navbar-toggler-icon"></span>
 
  </button>
 
  
<div class="collapse navbar-collapse" id="navbarExample">
+
<body>
<ul class="navbar-nav ml-auto">
+
<li class="nav-item active">
+
<a class="nav-link" href="#">Home
+
<span class="sr-only">(current)</span>
+
</a>
+
</li>
+
<li class="nav-item dropdown">
+
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
+
Team
+
</a>
+
<div class="dropdown-menu "aria-labelledby="navbarDropdown">
+
<a class="dropdown-item" href="#">Team Members</a>
+
<a class="dropdown-item" href="#">Collaborations</a>
+
</div>
+
+
</li>
+
<li class="nav-item dropdown">
+
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
+
Project
+
</a>
+
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
+
<a class="dropdown-item" href="demo.html">Description</a>
+
<a class="dropdown-item" href="#">Design</a>
+
<a class="dropdown-item" href="#">Model</a>
+
<a class="dropdown-item" href="#">Biobricks</a>
+
<a class="dropdown-item" href="#">Improve</a>
+
</div>
+
</li>
+
<li class="nav-item dropdown">
+
  
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
+
    <!-- Navbar -->
Experiment
+
    <nav class="navbar navbar-expand-lg fixed-top navbar-dark" style="background-color: #212529;">
</a>
+
        <a class="navbar-brand" href="https://2018.igem.org/Team:SZU-China">
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
+
            <img src="https://static.igem.org/mediawiki/2018/1/15/T--SZU-China--logo.png" height="50" alt="Route 66 in navbar">
<a class="dropdown-item" href="#">Demonstrate</a>
+
            <span class="d-inline-block ml-2"><b>SZU-China</b></span>
<a class="dropdown-item" href="#">Results</a>
+
        </a>
<a class="dropdown-item" href="#">Safety</a>
+
        <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarExample" aria-controls="navbarExample"
<a class="dropdown-item" href="#">InterLab</a>
+
            aria-expanded="false" aria-label="Toggle navigation">
 +
            <span class="navbar-toggler-icon"></span>
 +
        </button>
  
</div>
+
        <div class="collapse navbar-collapse" id="navbarExample">
</li>
+
            <ul class="navbar-nav ml-auto">
<li class="nav-item">
+
                <li class="nav-item dropdown">
<a class="nav-link" href="#">Human Practices</a>
+
                    <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown"
</li>
+
                        aria-haspopup="true" aria-expanded="false">
<li class="nav-item dropdown">
+
                        Awards
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
+
                    </a>
Judging
+
                    <div class="dropdown-menu" aria-labelledby="navbarDropdown">
</a>
+
                        <a class="dropdown-item" href="https://2018.igem.org/Team:SZU-China/Achievement">Achievement</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
+
                        <a class="dropdown-item" href="https://2018.igem.org/Team:SZU-China/Applied_Design">Applied
<a class="dropdown-item" href="#">Form</a>
+
                            Design</a>
<a class="dropdown-item" href="#">Awards</a>
+
                        <a class="dropdown-item" href="https://2018.igem.org/Team:SZU-China/Human_Practices">Human
 +
                            Practices</a>
 +
                        <a class="dropdown-item" href="https://2018.igem.org/Team:SZU-China/Public_Engagement">Public
 +
                            Engagement</a>
 +
                        <a class="dropdown-item" href="https://2018.igem.org/Team:SZU-China/Model">Model</a>
  
</div>
+
                    </div>
</li>
+
                </li>
</ul>
+
 
<!--
+
                <li class="nav-item dropdown">
 +
                    <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown"
 +
                        aria-haspopup="true" aria-expanded="false">
 +
                        Team
 +
                    </a>
 +
                    <div class="dropdown-menu " aria-labelledby="navbarDropdown">
 +
                        <a class="dropdown-item" href="https://2018.igem.org/Team:SZU-China/Team">Team Members</a>
 +
                        <a class="dropdown-item" href="https://2018.igem.org/Team:SZU-China/Collaborations">Collaborations</a>
 +
                        <a class="dropdown-item" href="https://2018.igem.org/Team:SZU-China/Attributions">Attributions</a>
 +
                    </div>
 +
 
 +
                </li>
 +
                <li class="nav-item dropdown">
 +
                    <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown"
 +
                        aria-haspopup="true" aria-expanded="false">
 +
                        Project
 +
                    </a>
 +
                    <div class="dropdown-menu" aria-labelledby="navbarDropdown">
 +
                        <a class="dropdown-item" href="https://2018.igem.org/Team:SZU-China/Description">Description</a>
 +
                        <a class="dropdown-item" href="https://2018.igem.org/Team:SZU-China/Demonstrate
 +
                                ">Demonstrate</a>
 +
 
 +
                        <a class="dropdown-item" href="https://2018.igem.org/Team:SZU-China/Model
 +
                            ">Model</a>
 +
                        <a class="dropdown-item" href="https://2018.igem.org/Team:SZU-China/Improve
 +
                            ">Improve</a>
 +
                        <a class="dropdown-item" href="https://2018.igem.org/Team:SZU-China/Parts
 +
                            ">Parts</a>
 +
                        <a class="dropdown-item" href="https://2018.igem.org/Team:SZU-China/Safety
 +
                            ">Safety</a>
 +
                    </div>
 +
                </li>
 +
                <li class="nav-item dropdown">
 +
 
 +
                    <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown"
 +
                        aria-haspopup="true" aria-expanded="false">
 +
                        Experiment
 +
                    </a>
 +
                    <div class="dropdown-menu" aria-labelledby="navbarDropdown">
 +
                        <a class="dropdown-item" href="https://2018.igem.org/Team:SZU-China/Design
 +
                            ">Design</a>
 +
                        <a class="dropdown-item" href="https://2018.igem.org/Team:SZU-China/Procedure
 +
                            ">Procedure</a>
 +
 
 +
 
 +
 
 +
                        <a class="dropdown-item" href="https://2018.igem.org/Team:SZU-China/Results
 +
                                ">Results</a>
 +
 
 +
                        <a class="dropdown-item" href="https://2018.igem.org/Team:SZU-China/InterLab
 +
                                ">InterLab</a>
 +
                        <a class="dropdown-item" href="https://2018.igem.org/Team:SZU-China/Notebook
 +
                                ">Notebook</a>
 +
                        <a class="dropdown-item" href="https://2018.igem.org/Team:SZU-China/Protocol
 +
                                ">Protocol</a>
 +
 
 +
                    </div>
 +
                </li>
 +
                <li class="nav-item">
 +
                    <a class="nav-link" href="https://2018.igem.org/Team:SZU-China/Human_Practices
 +
                        ">Human
 +
                        Practices</a>
 +
                </li>
 +
                <li class="nav-item">
 +
                    <a class="nav-link" href="https://2018.igem.org/Team:SZU-China/Applet
 +
                            ">Applet</a>
 +
                </li>
 +
 
 +
            </ul>
 +
 
 +
           
 
<style>
 
<style>
 
.dropdown:hover .dropdown-menu {
 
.dropdown:hover .dropdown-menu {
Line 119: Line 194:
 
  }
 
  }
 
</style>
 
</style>
-->
+
<!--
 
<script>
 
<script>
 +
 +
 +
$('.dropdown').hover(function() {
 +
$('.dropdown-toggle', this).trigger('click');
 +
});
  
 +
// Add slideDown animation to Bootstrap dropdown when expanding.
 +
$('.dropdown').on('show.bs.dropdown', function() {
 +
$(this).find('.dropdown-menu').first().stop(true, true).slideDown();
 +
});
  
$('.dropdown').hover(function(){
+
// Add slideUp animation to Bootstrap dropdown when collapsing.
  $('.dropdown-toggle', this).trigger('click');
+
$('.dropdown').on('hide.bs.dropdown', function() {
});
+
$(this).find('.dropdown-menu').first().stop(true, true).deslideUp();
 
+
});
// Add slideDown animation to Bootstrap dropdown when expanding.
+
  $('.dropdown').on('show.bs.dropdown', function() {
+
    $(this).find('.dropdown-menu').first().stop(true, true).slideDown();
+
  });
+
 
+
  // Add slideUp animation to Bootstrap dropdown when collapsing.
+
  $('.dropdown').on('hide.bs.dropdown', function() {
+
    $(this).find('.dropdown-menu').first().stop(true, true).slideUp();
+
  });
+
 
</script>
 
</script>
+
-->
</div>
+
        </div>
</nav>
+
    </nav>
<!-- Navbar -->
+
    <!-- Navbar -->
  
<!--
 
<script type="text/javascript" src="https://2018.igem.org/wiki/index.php?title=Template:SZU-China/JQUERY&action=raw&ctype=text/javascript"></script>
 
-->
 
<script type="text/javascript" src="https://2017.igem.org/Template:SZU-China/jquery/Javascript?action=raw&amp;ctype=text/javascript"></script>
 
  
<script type="text/javascript" src="https://2018.igem.org/wiki/index.php?title=Template:SZU-China/JS/bootstrap&action=raw&ctype=text/javascript"></script>
 
<script type="text/javascript" src="https://2018.igem.org/wiki/index.php?title=Template:SZU-China/JS/bootstrap.bundle
 
&action=raw&ctype=text/javascript"></script>
 
  
  
</body>
+
</body>
  
 
</html>
 
</html>

Latest revision as of 14:09, 11 October 2018