Difference between revisions of "Team:TP-CC San Diego/Templates/NavBar"

 
(173 intermediate revisions by 2 users not shown)
Line 4: Line 4:
  
 
<link href="https://fonts.googleapis.com/css?family=Raleway" rel="stylesheet">
 
<link href="https://fonts.googleapis.com/css?family=Raleway" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Bellefair" rel="stylesheet">
+
<link href="https://fonts.googleapis.com/css?family=Josefin+Sans:600" rel="stylesheet">
 +
<link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet">
  
 
<style>
 
<style>
#navbar-fill { width:100%; padding:0px; margin-top:-7px; background-color: #F5DEB3;}
+
 
 +
#navbar  
 +
{
 +
    margin: auto;
 +
    width: 100%;
 +
    text-align: center;
 +
}
 +
 
 +
#navbar-fill {
 +
  width:100%;
 +
  margin-top: 0px;
 +
  background-color: #333333;
 +
  z-index: 2;
 +
}
  
 
.dropbtn {
 
.dropbtn {
     background-color: #F5DEB3;
+
     background-color: #333333;
     color: #565045;
+
     color: white;
 
     width: 180px;
 
     width: 180px;
     padding: 27px;
+
     padding: 13px;
 
     font-size: 16px;
 
     font-size: 16px;
 
     border: none;
 
     border: none;
 
     cursor: pointer;
 
     cursor: pointer;
    font-family: 'Raleway', sans-serif;
+
font-family: 'Montserrat', sans-serif;
 +
 
 +
 
 +
}
 +
 
 +
button.dropbtn:hover
 +
{
 +
  background-color: black;
 
}
 
}
  
Line 23: Line 44:
 
     position: relative;
 
     position: relative;
 
     display: inline-block;
 
     display: inline-block;
 +
    font-family: 'Montserrat', sans-serif;
 
}
 
}
  
Line 29: Line 51:
 
     position: absolute;
 
     position: absolute;
 
     width: 180px;
 
     width: 180px;
     background-color: #C6B89E;
+
     background-color: #333333;
 
     box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
 
     box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
     z-index: 1;
+
     z-index: 2;
 
     text-align: center;
 
     text-align: center;
 +
    font-family: 'Montserrat', sans-serif;
 
}
 
}
  
 
.dropdown-content a {
 
    color: #565045;
 
    border-bottom-style: solid;
 
    border-bottom-color: white;
 
    border-bottom-width: 1px;
 
    padding: 12px 16px;
 
    text-decoration: none;
 
    display: block;
 
    font-family: 'Raleway', sans-serif;
 
 
}
 
  
 
#title
 
#title
 
{
 
{
     color: #ABD0BE;
+
     color: white;
 
     text-decoration: none;
 
     text-decoration: none;
 
}
 
}
  
.dropdown-content a:hover {background-color: #C6B89E}
+
.dropdown-content a {
 +
  color: white;
 +
  border-bottom-style: solid;
 +
  border-bottom-color: white;
 +
  border-bottom-width: 1px;
 +
  padding: 12px 16px;
 +
  text-decoration: none;
 +
  display: block;
 +
  font-family: 'Raleway', sans-serif;
 +
}
 +
 
 +
.dropdown-content a:hover {
 +
background-color: #6e6e6e
 +
}
  
 
.dropdown:hover .dropdown-content {
 
.dropdown:hover .dropdown-content {
Line 61: Line 85:
  
 
.dropdown:hover .dropbtn {
 
.dropdown:hover .dropbtn {
     background-color: #C6B89E;
+
     background-color: #333333;
 
}
 
}
 +
 +
div.animation a:before
 +
{
 +
    position: absolute;
 +
    top: 0px;
 +
    left: 0px;
 +
    width: 1px;
 +
    height: 0px;
 +
    background: #FFF;
 +
    content: "";
 +
    opacity: 1;
 +
    transition: all 0.3s;
 +
}
 +
 +
div.animation a:after
 +
{
 +
    position: absolute;
 +
    top: 0px;
 +
    left: 0px;
 +
    width: 100%;
 +
    height: 1px;
 +
    background: #FFF;
 +
    content: "";
 +
    opacity: 1;
 +
    transition: all 0.3s;
 +
}
 +
 +
div.animation a:hover:before
 +
{
 +
    height: 100%;
 +
}
 +
 +
div.animation a:hover:after
 +
{
 +
    opacity: 0;
 +
    top: 10%;
 +
}
 +
 +
 
</style>
 
</style>
 
</head>
 
</head>
 
<body>
 
<body>
 
+
<div id = "navbar">
 
<div id="navbar-fill">
 
<div id="navbar-fill">
<div class="dropdown">
+
<div class="dropdown nav-animation">
   <a href = "https://2017.igem.org/Team:TP-CC_San_Diego"> <button class = "dropbtn" class id = "title" style = "color: #565045"> Home </button> </a>
+
   <a href = "https://2017.igem.org/Team:TP-CC_San_Diego"> <button class = "dropbtn" class id = "title" style = "color: white"> Home </button> </a>
  
 
</div>
 
</div>
Line 76: Line 139:
 
   <button class="dropbtn"> Project </button>
 
   <button class="dropbtn"> Project </button>
 
   <div class="dropdown-content" style="left:0;">
 
   <div class="dropdown-content" style="left:0;">
<a href="https://2017.igem.org/Team:TP-CC_San_Diego/Description">Description</a>
+
<a style="font-family: 'Montserrat', sans-serif;" href="https://2017.igem.org/Team:TP-CC_San_Diego/Description">Description</a>
<a href="https://2017.igem.org/Team:TP-CC_San_Diego/Results">Results</a>
+
<a style="font-family: 'Montserrat', sans-serif;" href="https://2017.igem.org/Team:TP-CC_San_Diego/Results">Results</a>
        <a href="https://2017.igem.org/Team:TP-CC_San_Diego/Proof">Proof</a>
+
 
         <a href="https://2017.igem.org/Team:TP-CC_San_Diego/BasicParts">Basic Parts</a>
+
         <a style="font-family: 'Montserrat', sans-serif;" href="https://2017.igem.org/Team:TP-CC_San_Diego/Model">Modeling</a>
        <a href="https://2017.igem.org/Team:TP-CC_San_Diego/Modelling">Modelling</a>
+
 
   </div>
 
   </div>
 
</div>
 
</div>
Line 87: Line 149:
 
   <button class="dropbtn"> Notebook </button>
 
   <button class="dropbtn"> Notebook </button>
 
   <div class="dropdown-content">
 
   <div class="dropdown-content">
<a href="https://2017.igem.org/Team:TP-CC_San_Diego/LabBook">Lab Notebook</a>
+
<a style="font-family: 'Montserrat', sans-serif;" href="https://2017.igem.org/Team:TP-CC_San_Diego/LabBook">Lab Notebook</a>
<a href="https://2017.igem.org/Team:TP-CC_San_Diego/InterlabStudy">Interlab Study</a>
+
<a style="font-family: 'Montserrat', sans-serif;" href="https://2017.igem.org/Team:TP-CC_San_Diego/InterLab">Interlab Study</a>
<a href="https://2017.igem.org/Team:TP-CC_San_Diego/Protocols">Protocols</a>
+
<a style="font-family: 'Montserrat', sans-serif;" href="https://2017.igem.org/Team:TP-CC_San_Diego/Protocols">Protocols</a>
<a href="https://2017.igem.org/Team:TP-CC_San_Diego/MedalCriteria">Medal Criteria</a>
+
<a style="font-family: 'Montserrat', sans-serif;" href="https://2017.igem.org/Team:TP-CC_San_Diego/MedalCriteria">Medal Criteria</a>
        <a href="https://2017.igem.org/Team:TP-CC_San_Diego/BrainStorm">Brainstorm</a>
+
 
   </div>
 
   </div>
 
</div>
 
</div>
Line 98: Line 159:
 
   <button class="dropbtn"> Human Practices </button>
 
   <button class="dropbtn"> Human Practices </button>
 
   <div class="dropdown-content">
 
   <div class="dropdown-content">
<a href="https://2017.igem.org/Team:TP-CC_San_Diego/HumanPractices">Human Practices</a>
+
<a style="font-family: 'Montserrat', sans-serif;" href="https://2017.igem.org/Team:TP-CC_San_Diego/HP/Silver">Human Practices</a>
<a href="https://2017.igem.org/Team:TP-CC_San_Diego/IntegratedPractices">Integrated Practices</a>
+
<a style="font-family: 'Montserrat', sans-serif;" href="https://2017.igem.org/Team:TP-CC_San_Diego/HP/Gold_Integrated">Integrated Practices</a>
<a href="https://2017.igem.org/Team:TP-CC_San_Diego/PublicEngagement">Public Engagement</a>
+
<a style="font-family: 'Montserrat', sans-serif;" href="https://2017.igem.org/Team:TP-CC_San_Diego/Collaborations">Collaborations</a>
<a href="https://2017.igem.org/Team:TP-CC_San_Diego/Collaborations">Collaborations</a>
+
 
   </div>
 
   </div>
 
</div>
 
</div>
Line 108: Line 168:
 
   <button class="dropbtn"> Team </button>
 
   <button class="dropbtn"> Team </button>
 
   <div class="dropdown-content">
 
   <div class="dropdown-content">
<a href="https://2017.igem.org/Team:TP-CC_San_Diego/Team">Team</a>
+
<a style="font-family: 'Montserrat', sans-serif;" href="https://2017.igem.org/Team:TP-CC_San_Diego/Team">Team</a>
         <a href="https://2017.igem.org/Team:TP-CC_San_Diego/Attributions">Attributions</a>
+
         <a style="font-family: 'Montserrat', sans-serif;" href="https://2017.igem.org/Team:TP-CC_San_Diego/Attributions">Attributions</a>
 
   </div>
 
   </div>
 
</div>
 
</div>
  
<img width = 80px; style = "margin-top: 5px; margin-right: 10px; float: right;" src = "https://static.igem.org/mediawiki/2017/7/73/T--TP-CC_San_Diego--iGemLogo.png">  
+
</div>
  
  

Latest revision as of 12:57, 1 November 2017