Difference between revisions of "Team:UNOTT/Template/NavBarTest"

Line 5: Line 5:
 
   <link rel="stylesheet" href="css/style.css">
 
   <link rel="stylesheet" href="css/style.css">
 
<link href="https://2017.igem.org/Team:UNOTT/CSS?action=raw&ctype=text/css" rel="stylesheet">
 
<link href="https://2017.igem.org/Team:UNOTT/CSS?action=raw&ctype=text/css" rel="stylesheet">
<style>
 
nav{
 
height: 61px;
 
margin-top:1000px;
 
width: 100%;
 
color: black;
 
background: #ffff;
 
font-family: 'Karla';
 
text-transform:uppercase;
 
  
filter: none !important;
 
box-shadow: 0 2px 15px rgba(0,0,0,0.25);
 
-moz-box-shadow: 0 2px 15px rgba(0,0,0,0.25);
 
-webkit-box-shadow: 0 2px 15px rgba(0,0,0,0.25);
 
border-bottom: 1px solid rgba(0,0,0,0.2);
 
 
}
 
 
.navbar-default {
 
  background-color: #ffff;
 
  border-color: rgba(255, 255, 255, 0.3);
 
  font-family: 'Karla', sans-serif;
 
  font-weight: 300;
 
  -webkit-transition: all 0.35s;
 
  -moz-transition: all 0.35s;
 
  transition: all 0.35s;
 
  margin : 0 !important;
 
}
 
 
.navbar-default .navbar-header .navbar-brand {
 
  color: #white;
 
  font-family: 'Karla', sans-serif;
 
  font-weight: none;
 
  font-size: 22px;
 
  display: inline-block;
 
  background: black
 
}
 
.navbar-default .navbar-header .navbar-toggle {
 
  font-family: 'Karla', sans-serif;
 
  font-weight: 400; bold;
 
  font-size: 14px;
 
  color: #white;
 
  text-transform: uppercase;
 
}
 
 
/* FONT */
 
.navbar-default .nav > li > a,
 
.navbar-default .nav > li > a:focus {
 
  text-transform: uppercase;
 
  font-family: 'Karla', sans-serif;
 
  font-weight: bold;
 
  font-size: 14px;
 
  color: #white;
 
}
 
 
.navbar-default .nav > li > a:hover,
 
.navbar-default .nav > li > a:focus:hover {
 
  color: #white;
 
}
 
 
/*Navbar background colour*/
 
 
.navbar-default .nav > li.active > a,
 
.navbar-default .nav > li.active > a:focus {
 
  color: #CF5435 !important;
 
  background-color: black;
 
}
 
 
.navbar-default .nav > li.active > a:hover,
 
.navbar-default .nav > li.active > a:focus:hover {
 
  background-color: black;
 
  border-left-color: black; border-top-color: black;
 
}
 
 
.navbar-default .navbar-toggle {
 
  border: none;
 
}
 
/*dropdown menu colours*/
 
.navbar-default .dropdown-menu > li > a:hover,
 
.navbar-default .dropdown-menu > li > a:focus {
 
  background-color: #CDD7B6;
 
  color: #blue;
 
}
 
 
.navbar-default .dropdown-menu {
 
  border: none;
 
  outline: none;
 
  font-family: 'Karla', sans-serif;
 
  text-transform: uppercase;
 
  font-weight: bold;
 
  font-size: 14.2px !important;
 
  color: #CF5435;
 
}
 
 
.dropdown-header { font-size: 16px; color: black; padding-bottom: 1px;}
 
.dropdown-menu {padding-bottom: 1px; padding-top: 0px;}
 
nav ul {
 
    position: static;
 
    display: flex;
 
    float: right;
 
    margin: 0px;
 
    margin-top:0px;
 
    padding: 0px 0px;
 
    justify-content:space-around;
 
 
}
 
 
.container{
 
height: 61px;
 
 
width: 100%;
 
color: black;
 
background: #ffff;
 
font-family: 'Karla';
 
text-transform:uppercase;
 
 
filter: none !important;
 
box-shadow: 0 2px 15px rgba(0,0,0,0.25);
 
-moz-box-shadow: 0 2px 15px rgba(0,0,0,0.25);
 
-webkit-box-shadow: 0 2px 15px rgba(0,0,0,0.25);
 
border-bottom: 1px solid rgba(0,0,0,0.2);
 
 
}
 
  /*Create vertical spacing*/
 
  li {
 
    margin-bottom: 1px;
 
  }
 
  /*Make all menu links full width*/
 
  ul li,
 
  li a {
 
    width: 100%;
 
  }
 
}
 
 
 
.red {
 
  color: #EA3923;
 
}
 
 
.blue {
 
  color: #0C68E6;
 
}
 
 
.darkblue {
 
  color: #52658F;
 
}
 
 
.yellow {
 
  color: #FFDF1E;
 
}
 
 
.green {
 
  color: #32BE01;
 
}
 
 
.cream {
 
  color: #F7F5E6;
 
}
 
 
.grey {
 
  color: #E8E8E8;
 
}
 
 
.darkgrey {
 
  color: #8C8C8C;
 
}
 
 
 
/* Body */
 
 
 
 
 
html {
 
  padding-bottom: 97px;
 
}
 
 
 
.container {
 
  margin-top:10px;
 
}
 
  
 
</style>
 
</style>

Revision as of 11:34, 25 August 2017