Difference between revisions of "Template:Oxford"

Line 1: Line 1:
 
<html>
 
<html>
 +
 +
<script>
 +
$(document).ready(function() {
 +
$("head").append('<meta name="google-site-verification" content="VB-V5tkCSciA7t5XwF6fH3eTHh7DpsiE_nbG_dKHPxU" />');
 +
});
 +
</script>
  
 
<script>
 
<script>
Line 31: Line 37:
  
  
</script>
+
   });
 
+
<!-- Script for Google Analytics -->
+
<script>
+
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+
   })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
+
  
  ga('create', 'UA-102136418-1', 'auto');
 
  ga('send', 'pageview');
 
  
 
</script>
 
</script>
 +
 +
  
 
<style>
 
<style>
Line 49: Line 48:
 
/* Add a dark background color with a little bit see-through */  
 
/* Add a dark background color with a little bit see-through */  
 
.navbar {
 
.navbar {
    padding-top: 15px;
 
    padding-bottom: 15px;
 
    background-color: #002147;
 
    border-color: transparent;
 
    right: 0;
 
    left: 0;
 
    top: 45
 
 
     margin-bottom: 0;
 
     margin-bottom: 0;
 +
    background-color: #2d2d30;
 
     border: 0;
 
     border: 0;
     font-size: 12px !important;
+
     font-size: 11px !important;
 
     letter-spacing: 4px;
 
     letter-spacing: 4px;
 
     opacity:0.9;
 
     opacity:0.9;
 
 
}
 
}
  
 
/* Add a gray color to all navbar links */
 
/* Add a gray color to all navbar links */
 
.navbar li a, .navbar .navbar-brand {  
 
.navbar li a, .navbar .navbar-brand {  
     color: #fff !important;
+
     color: #d5d5d5 !important;
 
}
 
}
  
/* the color of the single Link ('safety') on hover */
+
/* On hover, the links will turn white */
 
.navbar-nav li a:hover {
 
.navbar-nav li a:hover {
     color: #1abc9c !important;
+
     color: #fff !important;
 
}
 
}
  
/* The active link this seems to be useless at the moment*/
+
/* The active link */
 
.navbar-nav li.active a {
 
.navbar-nav li.active a {
 
     color: #fff !important;
 
     color: #fff !important;
Line 85: Line 77:
 
}
 
}
  
.navbar-default {
+
/* Dropdown */
    border-color:transparent;
+
}
+
 
+
/* the color of the Dropdown on click */
+
 
.open .dropdown-toggle {
 
.open .dropdown-toggle {
     color: #000 ;
+
     color: #fff ;
     background-color: #fff !important;
+
     background-color: #555 !important;
 
}
 
}
  
/* the color of the Dropdown links */
+
/* Dropdown links */
 
.dropdown-menu li a {
 
.dropdown-menu li a {
 
     color: #000 !important;
 
     color: #000 !important;
 
}
 
}
  
/* the color of the dropdown links on hover */
+
/* On hover, the dropdown links will turn red */
 
.dropdown-menu li a:hover {
 
.dropdown-menu li a:hover {
     background-color: #fff !important;
+
     background-color: red !important;
 
}
 
}
  
Line 238: Line 226:
 
   /* Wrapper for the content */
 
   /* Wrapper for the content */
 
   .igem_2017_content_wrapper {
 
   .igem_2017_content_wrapper {
 +
    width: 81%;
 
     margin: 2%;
 
     margin: 2%;
 
     display:block;
 
     display:block;
Line 486: Line 475:
 
</head>
 
</head>
  
<body id="myPage" data-spy="scroll" data-target=".navbar" data-offset="50">
+
<nav class="navbar navbar-fixed-top">
 
+
<nav class= "navbar-fixed-top navbar" style="margin-top:17px;">
+
 
   <div class="container-fluid">
 
   <div class="container-fluid">
 
     <div class="navbar-header">
 
     <div class="navbar-header">
Line 499: Line 486:
  
 
       <!-- This is the logo -->
 
       <!-- This is the logo -->
    <a href="#" class="navbar-left"><img src="https://static.igem.org/mediawiki/2017/0/09/T--oxford--oxigemicon.png" width="60" height="60"></a>
+
      <a class="navbar-brand" href="#">Logo</a>  
  
 
     </div>
 
     </div>
Line 584: Line 571:
  
 
         <!-- This is the judging form button -->
 
         <!-- This is the judging form button -->
         <li><a href="https://igem.org/2017_Judging_Form?team=Oxford">JUDGING FORM</a></li>
+
         <li><a href="https://igem.org/2017_Judging_Form?team=Oxford">Judging Form</a></li>
  
 
         <!-- This is the search button -->
 
         <!-- This is the search button -->
Line 595: Line 582:
 
<!-- start of content -->
 
<!-- start of content -->
 
<div class="igem_2017_content_wrapper">
 
<div class="igem_2017_content_wrapper">
 +
<h1>Oxford</h1>

Revision as of 15:36, 10 July 2017

Oxford