Difference between revisions of "Team:Imperial College/Templates/NavBar"

 
(99 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
<meta name="viewport" content="width=device-width, initial-scale=1.0">
 
<meta name="viewport" content="width=device-width, initial-scale=1.0">
 
<link href="https://fonts.googleapis.com/css?family=Varela+Round" rel="stylesheet">
 
<link href="https://fonts.googleapis.com/css?family=Varela+Round" rel="stylesheet">
 +
 
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"  
 
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"  
 
     integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
 
     integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
  <link href="https://cdnjs.cloudflare.com/ajax/libs/balloon-css/0.3.0/balloon.css" rel="stylesheet">
+
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.2.0/css/all.css" integrity="sha384-hWVjflwFxL6sNzntih27bfxkr27PmbbK/iSvJ+a4+0owXq79v+lsFkW54bOGbiDQ" crossorigin="anonymous">
  <link rel="stylesheet" type="text/css" href=""/>
+
 
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
+
<link rel="stylesheet" type="text/css"  
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
+
href="https://2018.igem.org/wiki/index.php?title=Template:Imperial_College/CSS2&action=raw&ctype=text/css" />
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
+
<script type="text/javascript" src="https://2018.igem.org/wiki/index.php?title=Template:Imperial_College/CSS&action=raw&ctype=text/javascript"></script>
 +
<script type="text/javascript" src="https://2018.igem.org/wiki/index.php?title=Template:Imperial_college/script&action=raw&ctype=text/javascript"></script>
 +
<link rel="stylesheet" type="text/css"
 +
href="https://2018.igem.org/wiki/index.php?title=Template:Imperial College/CSS3&action=raw&ctype=text/css" />
 +
<link rel="stylesheet" type="text/css"
 +
href="https://2018.igem.org/wiki/index.php?title=Template:Template:Imperial College/CSS4&action=raw&ctype=text/css" />
 +
<script type="text/javascript" src="https://2018.igem.org/wiki/index.php?title=Template:Imperial_College/javascript&action=raw&ctype=text/javascript"></script>
 +
 
 +
 
  
 
<script>
 
<script>
Line 65: Line 74:
 
.center{
 
.center{
 
     text-align: center;
 
     text-align: center;
 +
}
 +
 +
.floatleft{
 +
  font-size:25px;
 +
  text-align: center;
 +
    margin-top:0 !important;
 +
    float:right !important;
 +
    width:30%;
 +
    font-size:20px;
 +
    margin-bottom:4%;
 +
  font-family: 'Varela Round', sans-serif;
 +
    color:#24305E;
 +
 +
}
 +
.floatright2{
 +
  text-align: center;
 +
    margin-top:0 !important;
 +
    float:right !important;
 +
    width:50%;
 +
    margin-bottom:4%;
 +
  font-family: 'Varela Round', sans-serif;
 +
    color:#24305E;
 +
}
 +
 +
.floatleft2{
 +
  float:left;
 +
  width:50%;
 +
 +
 
 +
}
 +
 +
.underbold{
 +
font-weight: bold;
 +
text-decoration: underline;
 
}
 
}
 
.marginbottom{
 
.marginbottom{
Line 128: Line 171:
 
     font-size: 27px;
 
     font-size: 27px;
 
     transition: 0.4s;
 
     transition: 0.4s;
     border-radius: 20px;
+
     border-radius: 10px;
 +
    margin-bottom: 4%;
 
}
 
}
  
Line 144: Line 188:
 
     transition: max-height 0.3s linear;
 
     transition: max-height 0.3s linear;
 
     overflow:hidden;
 
     overflow:hidden;
 +
    background:none;
 
}
 
}
  
Line 150: Line 195:
 
     display: none;
 
     display: none;
 
     overflow: hidden;
 
     overflow: hidden;
     background-color: #f1f1f1;
+
     background-color: none;
 
     border-radius: 20px;
 
     border-radius: 20px;
 +
}
 +
 +
.row {
 +
    display: table;
 +
    margin: auto;
 +
    height:100%;
 +
    width: 100%;
 +
    margin: 0;
 +
    padding: 0;
 +
    border: 0;
 +
}
 +
 +
.row [class*="col-"] {
 +
    width: 50%;
 +
    float: none;
 +
    display: table-cell;
 +
    vertical-align: top;
 +
 +
}
 +
 +
 +
#display-pic{
 +
    vertical-align: middle;
 +
    text-align: center;
 +
}
 +
 +
#display-pic img{
 +
    width: 40%;
 +
    margin-right:5%;
 +
    border-radius: 50%;
 +
    border: solid 10px  #A8D0E6;
 +
    box-sizing: border-box;
 +
    transition: border 0.2s ease;
 
      
 
      
 
}
 
}
 +
 +
#display-pic img:hover{
 +
    border:  solid 10px #F5D76E;
 +
    cursor:pointer;
 +
}
 +
 +
 +
.row [class*="col-"]  h2{
 +
    font-size: 20px;
 +
    font-family:"Varela Round", sans-serif;
 +
    color: #374785;
 +
    font-weight: bold;
 +
    transition: color 0.2s ease;
 +
}
 +
 +
.row [class*="col-"]  h2:hover{
 +
    color:#F76C6C;
 +
}
 +
 +
.row [class*="col-"]  p{
 +
    width: 100%;
 +
    font-size: 18px;
 +
    font-family: "Varela Round", sans-serif;
 +
    color:#374785;
 +
    text-align:justify;
 +
 +
}
 +
#guard:hover{
 +
    color:#F76C6C;
 +
}
 +
 +
.display-pic{
 +
    float: right;
 +
    text-align: left;
 +
    clear: both;
 +
}
 +
.display-pic img{
 +
    width: 20%;
 +
    margin-right:5%;
 +
    float: left;
 +
    border-radius: 50%;
 +
    border: solid 10px  #A8D0E6;
 +
    box-sizing: border-box;
 +
    transition: border 0.2s ease;
 +
}
 +
 +
.display-pic img:hover{
 +
    border:  solid 10px #F5D76E;
 +
    cursor:pointer;
 +
}
 +
  
 
/********************************* NAVBAR  ********************************/
 
/********************************* NAVBAR  ********************************/
  
 
.logo{
 
.logo{
 +
    margin-top:1%;
 
     width: 20%;
 
     width: 20%;
 
     float: left;
 
     float: left;
Line 181: Line 311:
  
 
.navigation {
 
.navigation {
 +
  top: 0;
 
   margin:auto;
 
   margin:auto;
 
   height: 70px;
 
   height: 70px;
 
   background: white;
 
   background: white;
 
   position:fixed;
 
   position:fixed;
 +
  z-index: 40;
 
}
 
}
  
Line 209: Line 341:
  
 
nav ul {
 
nav ul {
    margin:auto;
+
    margin:0;
 
     list-style: none;
 
     list-style: none;
 
     padding: 0;
 
     padding: 0;
Line 223: Line 355:
  
 
nav a, a:visited {
 
nav a, a:visited {
    display: block;
 
 
     padding: 0 15px 0;
 
     padding: 0 15px 0;
 
     line-height: 50px;
 
     line-height: 50px;
Line 248: Line 379:
 
     color: rgb(248, 59, 122);
 
     color: rgb(248, 59, 122);
 
     text-shadow: lightpink  ;
 
     text-shadow: lightpink  ;
 +
 
     }
 
     }
  
 
.dropdown-menu {
 
.dropdown-menu {
 
   position: absolute;
 
   position: absolute;
   display:none;
+
   display: none;
 
   z-index: 1;
 
   z-index: 1;
 
   box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
 
   box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
Line 259: Line 391:
 
#navbarDropdown{
 
#navbarDropdown{
 
     text-decoration: none;
 
     text-decoration: none;
+
    font-size:15px;
 
}
 
}
 
/* Mobile navigation */
 
/* Mobile navigation */
Line 279: Line 411:
  
 
nav{  
 
nav{  
   
 
 
     width:100%;
 
     width:100%;
 
     height:auto;
 
     height:auto;
Line 287: Line 418:
 
     z-index: 40;
 
     z-index: 40;
 
}
 
}
 +
nav ul{
 +
    display: none;
 +
}
 +
 
a{
 
a{
 
     text-decoration: none;
 
     text-decoration: none;
 
 
           
 
 
}
 
}
 
.nav-list{
 
.nav-list{
 
         margin: auto;
 
         margin: auto;
         display: none;
+
         display: block !important;
 
      
 
      
 
         }
 
         }
Line 369: Line 502:
 
     margin: auto;
 
     margin: auto;
 
     padding: 20px;
 
     padding: 20px;
     margin-top: 12%;
+
     margin-top: 6%;
 
     font-size: 70px;
 
     font-size: 70px;
 
     background-color:none;
 
     background-color:none;
Line 391: Line 524:
 
}
 
}
 
  h3{
 
  h3{
 +
    font-weight: bold;
 
     text-align: center;
 
     text-align: center;
     font-size: 40px;
+
     font-size: 35px;
 
     margin:3% 2% 2% 2%;
 
     margin:3% 2% 2% 2%;
 
     font-family: 'Varela Round', sans-serif;
 
     font-family: 'Varela Round', sans-serif;
Line 400: Line 534:
  
 
  h4{
 
  h4{
 +
   
 
     font-size: 30px;
 
     font-size: 30px;
 
     font-family: 'Varela Round', sans-serif;
 
     font-family: 'Varela Round', sans-serif;
    color:#24305E;
+
    color:#24305E;
 
     overflow: visible;
 
     overflow: visible;
 
    
 
    
Line 461: Line 596:
  
 
</head>
 
</head>
 +
 
<body>
 
<body>
 
<section class="navigation">
 
<section class="navigation">
 
   <div class="nav-container">
 
   <div class="nav-container">
 
     <div class="logo">
 
     <div class="logo">
       <a href="#"> <img class="pixcell" src="https://static.igem.org/mediawiki/2018/8/80/T--Imperial_College--pixcell.png"></a>
+
       <a href="https://2018.igem.org/Team:Imperial_College"> <img class="pixcell" src="https://static.igem.org/mediawiki/2018/8/80/T--Imperial_College--pixcell.png"></a>
 
       <a href="#"> <img class="iclogo " src="https://static.igem.org/mediawiki/2018/8/8b/T--Imperial_College--college.png"></a>
 
       <a href="#"> <img class="iclogo " src="https://static.igem.org/mediawiki/2018/8/8b/T--Imperial_College--college.png"></a>
 
   </div>
 
   </div>
Line 480: Line 616:
 
           <ul class="dropdown-menu">
 
           <ul class="dropdown-menu">
 
                 <li><a href="https://2018.igem.org/Team:Imperial_College/Project">DESCRIPTION</a>
 
                 <li><a href="https://2018.igem.org/Team:Imperial_College/Project">DESCRIPTION</a>
                     <li><a href="https://2018.igem.org/Team:Imperial_College/Mechanisms">MECHANISMS</a>
+
                     <li><a href="https://2018.igem.org/Team:Imperial_College/Mechanisms">DESIGN</a>
 
                       <li><a href="https://2018.igem.org/Team:Imperial_College/Applied_Design">APPLICATIONS</a>
 
                       <li><a href="https://2018.igem.org/Team:Imperial_College/Applied_Design">APPLICATIONS</a>
 
                     <li><a href="https://2018.igem.org/Team:Imperial_College/Achievements">ACHIEVEMENTS</a>
 
                     <li><a href="https://2018.igem.org/Team:Imperial_College/Achievements">ACHIEVEMENTS</a>
 
                     <li><a href="https://2018.igem.org/Team:Imperial_College/Future">FUTURE WORK</a>
 
                     <li><a href="https://2018.igem.org/Team:Imperial_College/Future">FUTURE WORK</a>
 
                   <li><a href="https://2018.igem.org/Team:Imperial_College/Brainstorming">BRAINSTORM</a>
 
                   <li><a href="https://2018.igem.org/Team:Imperial_College/Brainstorming">BRAINSTORM</a>
 +
               
 +
 
                     </li>
 
                     </li>
 
           </ul>
 
           </ul>
Line 510: Line 648:
 
                 <li><a href="https://2018.igem.org/Team:Imperial_College/Wetover">OVERVIEW</a>
 
                 <li><a href="https://2018.igem.org/Team:Imperial_College/Wetover">OVERVIEW</a>
 
                     <li><a href=" https://2018.igem.org/Team:Imperial_College/Demonstrate">RESULTS</a></li>
 
                     <li><a href=" https://2018.igem.org/Team:Imperial_College/Demonstrate">RESULTS</a></li>
                     <li><a href="https://2018.igem.org/Team:Imperial_College/Experiments">EXPERIMENTS</a></li>
+
                     <li><a href="https://2018.igem.org/Team:Imperial_College/Experiments">METHODS</a></li>
                     <li><a href="https://2018.igem.org/Team:Imperial_College/Protocols">PROTOCOLS</a></li>
+
                     <li><a href="https://2018.igem.org/Team:Imperial_College/Protocols">REFERENCES</a></li>
 
                   <li><a href="https://2018.igem.org/Team:Imperial_College/Parts">PARTS</a></li>
 
                   <li><a href="https://2018.igem.org/Team:Imperial_College/Parts">PARTS</a></li>
 
                     <li><a href="https://2018.igem.org/Team:Imperial_College/Measurement">BASIC</a></li>
 
                     <li><a href="https://2018.igem.org/Team:Imperial_College/Measurement">BASIC</a></li>
 +
                  <li><a href="https://2018.igem.org/Team:Imperial_College/Supplementary">SUPPLEMENTARY</a></li>
 +
 
             </li>   
 
             </li>   
 
           </ul>
 
           </ul>
Line 524: Line 664:
 
           <ul class="dropdown-menu">
 
           <ul class="dropdown-menu">
 
                 <li><a href="https://2018.igem.org/Team:Imperial_College/Human_Practices">OVERVIEW</a></li>
 
                 <li><a href="https://2018.igem.org/Team:Imperial_College/Human_Practices">OVERVIEW</a></li>
 +
                <li><a href="https://2018.igem.org/Team:Imperial_College/Communication">COMMUNICATION</a></li>
 
                 <li><a href="https://2018.igem.org/Team:Imperial_College/IHP">INTEGRATED HP</a></li>
 
                 <li><a href="https://2018.igem.org/Team:Imperial_College/IHP">INTEGRATED HP</a></li>
              <li><a href="https://2018.igem.org/Team:Imperial_College/Communication">COMMUNICATION</a></li>
 
 
               <li><a href="https://2018.igem.org/Team:Imperial_College/Public_Engagement">OUTREACH</a></li>
 
               <li><a href="https://2018.igem.org/Team:Imperial_College/Public_Engagement">OUTREACH</a></li>
 
               <li><a href="https://2018.igem.org/Team:Imperial_College/Collaborations">COLLABORATIONS</a></li>
 
               <li><a href="https://2018.igem.org/Team:Imperial_College/Collaborations">COLLABORATIONS</a></li>
Line 554: Line 694:
 
    
 
    
 
</body>
 
</body>
 +
  
  

Latest revision as of 03:49, 18 October 2018