Difference between revisions of "Template:IISER Berhampur"

 
(97 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<html>
 
<html>
 +
<link href="https://fonts.googleapis.com/css2?family=Quicksand:wght@700&display=swap" rel="stylesheet">
 +
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
 +
<link href='https://fonts.googleapis.com/css?family=Lato' rel='stylesheet'>
  
 
<script>
 
<script>
Line 8: Line 11:
  
 
<style  type="text/css">
 
<style  type="text/css">
 +
 +
Flash {
 +
  font-family: 'Quicksand';font-size: 10vw;
 +
  padding:0;
 +
  line-height:70%;
 +
  color: #245d6b;
 +
  animation: color-change 4s 1;
 +
}
 +
 +
@keyframes color-change {
 +
  0%,50% { opacity: 0; transform: scale(0, 0); }
 +
  100% { opacity:1; transform: scale(1, 1); }
 +
 +
}
 +
.container {
 +
  position: relative;
 +
  text-align: center;
 +
  color: white;
 +
}
 +
.container img
 +
 +
    position: relative;
 +
    top:-7vw;
 +
    height: 100%;
 +
    width: 100%;
 +
}
 +
.centered {
 +
  padding:0;
 +
  margin: 0;
 +
  position: absolute;
 +
  left:50vw;
 +
  transform:translate(-50%,0%);
 +
  top: 70vh;
 +
  z-index:2;
 +
}
 +
@media screen and (max-width: 900px) {
 +
  .centered {
 +
    top: 25vh;
 +
  }
 +
}
  
 
/*UNIVERSAL STUFF FOR ALL PAGES*/
 
/*UNIVERSAL STUFF FOR ALL PAGES*/
Line 22: Line 65:
  
 
body {
 
body {
     background-color: #e5f6f1;
+
     background-color: #d2efe7;
     font-family: "avenir";
+
     font-family: 'Lato', sans-serif;
 
     margin: 0 0 0 0;
 
     margin: 0 0 0 0;
 
     padding: 0 0 0 0;
 
     padding: 0 0 0 0;
 
     border: none;
 
     border: none;
 +
    height: 0px;
 
}
 
}
  
 
/* width */
 
/* width */
 
::-webkit-scrollbar {
 
::-webkit-scrollbar {
   width: 5px;
+
   width: 12px;
 
}
 
}
  
 
/* Track */
 
/* Track */
 
::-webkit-scrollbar-track {
 
::-webkit-scrollbar-track {
   background: black;  
+
   background: white;  
   margin-top: 30px;
+
   margin-top: 0px;
   margin-bottom: 30px;
+
   margin-bottom: 0px;
 
}
 
}
 
   
 
   
 
/* Handle */
 
/* Handle */
 
::-webkit-scrollbar-thumb {
 
::-webkit-scrollbar-thumb {
   background: grey;  
+
   background: #bfe9dd;  
 
}
 
}
  
 
/* Handle on hover */
 
/* Handle on hover */
 
::-webkit-scrollbar-thumb:hover {
 
::-webkit-scrollbar-thumb:hover {
   background: grey;  
+
   background: #86d5bf;  
 
}
 
}
  
Line 67: Line 111:
 
padding: 0;
 
padding: 0;
 
}
 
}
 +
  
 
p {
 
p {
Line 72: Line 117:
 
}
 
}
  
#navbar {
+
 
    text-align: left;
+
#home_logo, #sideMenu, #sideMenu, #top_title, .patrollink {display:none;}
    overflow: hidden;
+
#content {margin-left:0px; margin-top:-7px; padding:0px; width:100%;}
    background: black;
+
#bodyContent a[href ^="https://"], .link-https {padding-right:0px;}
    border-radius: 60px;
+
 
    margin-left: 10%;
+
 
    margin-right: 10%;
+
.navbar {
    box-shadow: 0px 0px 10px 3px #888888;
+
  font-family:"Quicksand";
   
+
  position:fixed;
 +
  top:16px;
 +
  width:100%;
 +
  z-index:3;
 +
  //overflow: hidden;
 +
  background-color:#ace2d3;
 +
  box-shadow: 0px 5px 10px grey;
 
}
 
}
  
#navbar span {
+
.navbar a {
   padding:0.5% 0 0.5% 0;
+
   float: left;
   /*position: fixed;*/
+
   display: block;
   /*top: 0;*/
+
   color:#245d6b;
   font-size:3.5em;
+
   text-align: center;
   cursor:pointer;
+
   padding: 14px 16px 14px 16px;
   display: inline;
+
   text-decoration: none;
   width: 100%;
+
   font-size: 1.2em;
   color: white;
+
}
   text-align: left;
+
   vertical-align: middle;
+
.topnav .icon {
 +
   display: none;
 +
}
 +
 +
.navbar a:hover {
 +
   background-color: #D4D4D4;
 +
   color: #245d6b;
 
}
 
}
  
.content {
+
.navbar a.active {
   padding: 16px;
+
   background-color: #3B3B3B;
 +
  color: #ffffff;
 
}
 
}
  
.sticky {
+
.navbar .icon {
   position: sticky;
+
   display: none;
   top: 25px;
+
}
   //width: 100%;
+
 +
.dropdown {
 +
   float: left;
 +
   overflow: hidden;
 
}
 
}
  
.sticky + .content {
+
.dropdown .dropbtn {
   padding-top: 60px;
+
  font-size: 1.2em; 
 +
  border: none;
 +
  outline: none;
 +
  color: #245d6b;
 +
   padding: 14px 16px;
 +
  background-color: inherit;
 +
  font-family: inherit;
 +
  margin: 0px 0px 0px 0px;
 
}
 
}
  
/*Navigation Overlay Style BEGINS*/
+
.navbar a:hover, .dropdown:hover .dropbtn {
.overlay {
+
  background-color: #D4D4D4 ;
    height: 80%;
+
    width: 0%;
+
    position: fixed;
+
    z-index: 1;
+
    top: 0;
+
    left: 0;
+
    //background-color: rgb(250,250,250);
+
    background-color: rgba(250,250,250, 0.95);
+
    border-radius: 40px;
+
    overflow-y: auto;
+
    overflow-x: hidden;
+
    transition: 0.5s;
+
 
}
 
}
  
.overlay-content {
+
.dropdown-content {
    position: relative;
+
  display: none;
    top: 7%;
+
  position: absolute;
    bottom: 0%;
+
  background-color: #E9E9E9;
    width: 100%;
+
  min-width: 160px;
    text-align: center;
+
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
 +
  z-index: 3;
 
}
 
}
  
.overlay a {
+
.dropdown-content a {
    padding: 2%;
+
  float: none;
    text-decoration: none;
+
  color: #245d6b;
    font-size: 200%;
+
  padding: 12px 16px 12px 16px;
    color: black;
+
  text-decoration: none;
    display: block;
+
  display: block;
    transition: 0.3s;
+
  text-align: left;
    font-weight: bold;
+
    line-height: 1.6;
+
}
+
.overlay .panel a {
+
    font-size: 150%;
+
    font-weight: normal;
+
 
}
 
}
  
.overlay a:hover , .overlay a:focus{
+
.dropdown-content a:hover {
    color: #ace2d3;
+
  background-color: #ddd;
    border: 1px solid #aaaaaa;
+
    border-radius: 20px;
+
    box-shadow: 0px 0px 20px 3px #aaaaaa;
+
   
+
 
}
 
}
  
.overlay .closebtn {
+
.dropdown:hover .dropdown-content {
    position: absolute;
+
  display: block;
    top: 0px;
+
    right: 0px;
+
    font-size: 40px;
+
 
}
 
}
/*Accordion style BEGINS*/
+
 
button.Accordion {
+
 
    background-color: rgba(0,0,0, 0);
+
 
    cursor: pointer;
+
@media screen and (max-width: 600px) {
    width: 100%;
+
  .navbar a:not(:first-child), .dropdown .dropbtn {
     border: none;
+
     display: none;
    outline: none;
+
  }
    padding: 5%;
+
  .navbar a.icon {
    text-decoration: none;
+
     float: right;
    font-size: 200%;
+
     color: black;
+
 
     display: block;
 
     display: block;
    transition: 0.3s;
+
  }
    font-weight: bold;
+
    font-family:"avenir";
+
    text-align: center;
+
    line-height: 1.6;
+
}
+
.overlay button:after {
+
    content: '+';
+
    color: black;
+
    font-weight: bold;
+
    float: right;
+
    margin-left: 5px;
+
}
+
.overlay .active:after {
+
    content: '-';
+
    color: black;
+
    font-weight: bold;
+
    float: right;
+
    margin-left: 5px;
+
 
}
 
}
  
.overlay button:hover, .overlay button:focus {
+
@media screen and (max-width: 600px) {
     color: #333333;
+
  .navbar.responsive {position: fixed; overflow:auto;}
     border: 1px solid #aaaaaa;
+
  .navbar.responsive a.icon {
     border-radius: 20px;
+
    position: absolute;
     box-shadow: 0px 0px 20px 3px #aaaaaa;
+
    right: 0;
 +
    top: 0;
 +
  }
 +
  .navbar.responsive a {
 +
     float: none;
 +
     display: block;
 +
     text-align: left;
 +
  }
 +
  .navbar.responsive .dropdown {float: none;}
 +
  .navbar.responsive .dropdown-content {position: relative;}
 +
  .navbar.responsive .dropdown .dropbtn {
 +
    display: block;
 +
    width: 100%;
 +
     text-align: left;
 +
  }
 
}
 
}
  
div.panel {
+
#navright{
    max-height: 0;
+
  float:right;
    overflow: hidden;
+
  font-family:"Quicksand";
    transition: max-height 0.2s ease-out;
+
  font-size: 24px;
 +
  margin-right:10px
 
}
 
}
/*Accordion style ENDS*/
+
#home_logo, #sideMenu, #sideMenu, #top_title, .patrollink {display:none;}
/*Navigation Overlay Style ENDS*/
+
#content {margin-left:0px; margin-top:-7px; padding:0px; width:100%;}
 +
.responsive {
 +
  width: 100%;
 +
  height: 550px;
 +
 +
 
 +
 
 +
 
  
 
/*MAIN BODY CONTENT SECTION BEGINS*/
 
/*MAIN BODY CONTENT SECTION BEGINS*/
 
.content-section {
 
.content-section {
     margin: 0 0 0 0;
+
     margin: 0 10% 0 10%;
 
     padding: 3% 3% 5% 3%;
 
     padding: 3% 3% 5% 3%;
     background: black;
+
     background-color: #d2efe7;
 
     line-height: 1.6;
 
     line-height: 1.6;
 
      
 
      
Line 224: Line 270:
 
     font-family: "Trebuchet MS";
 
     font-family: "Trebuchet MS";
 
  }
 
  }
  img {
+
  .content-section img {
 +
    position:relative;
 +
    top:0px;
 
     display: block;
 
     display: block;
 
     height: 50%;
 
     height: 50%;
 
     width: 50%;
 
     width: 50%;
     margin: auto;
+
     margin: auto;  
   
+
 
  }
 
  }
  
Line 235: Line 282:
 
     height: 100%;
 
     height: 100%;
 
     width: 100%;
 
     width: 100%;
}
 
 
/*#navbar span img {
 
  display: block;
 
  height: 7.5%;
 
  width: 7.5%;
 
  float: left;
 
 
 
  padding: 0 0 0 3%;
 
}*/
 
 
#navbar img {
 
  display: inline-block;
 
  height: 5%;
 
  width: 5%;
 
  margin-left: 5px;
 
  margin-top: 5px;
 
 
}
 
}
  
Line 257: Line 287:
 
   font-size: 125%;
 
   font-size: 125%;
 
   text-align: center;
 
   text-align: center;
   font-family: "avenir";
+
   font-family: 'Lato';
 +
  color: #245d6b;
 
   line-height: 27px;
 
   line-height: 27px;
 
}
 
}
  
 
#HQ_page h1, h2, h3, h4, h5 {
 
#HQ_page h1, h2, h3, h4, h5 {
   font-family: "avenir";
+
  color:black;
 +
   font-family: 'Quicksand';
 
   text-align: center;
 
   text-align: center;
 
}
 
}
Line 282: Line 314:
  
 
#HQ_page td {
 
#HQ_page td {
     padding: 0;
+
     padding: 10px;
     border: 0 solid black;
+
     border: 2px solid white;
 +
    background: #519182;
 +
}
 +
#HQ_page th {
 +
    padding: 10px;
 +
    border: 2px solid white;
 +
    background:lightblue;
 
}
 
}
  
 
#HQ_page table {
 
#HQ_page table {
     padding: 0;
+
    color:white;
     border: 0 solid black;
+
     padding: 10px;
 +
     border: 2px solid white;
 
}
 
}
  
Line 329: Line 368:
 
   }
 
   }
  
.overlay a {
 
    font-size: 100%;
 
}
 
.overlay .panel a {
 
    font-size: 100%;
 
}
 
button.Accordion {
 
    font-size: 100%;
 
}
 
#navbar img {
 
  height: 8%;
 
  width: 8%;
 
  margin-left: 5px;
 
}
 
.overlay .closebtn {
 
    top: 15px;
 
    right: 15px;
 
    font-size: 14px;
 
}
 
 
#HQ_page table p {
 
    text-align: justify;
 
}
 
 
#HQ_page .leftSide img {
 
    display: block;
 
    width: 75%;
 
    height: auto;
 
    margin: 0 0 2.5% 0;
 
}
 
 
#navbar span {
 
  font-size:2.5em;
 
 
}
 
 
#HQ_page #navbar h1 {
 
  font-size: 2em;
 
}
 
  
 
#HQ_page .leftSide p {
 
#HQ_page .leftSide p {
Line 383: Line 383:
  
 
</style>
 
</style>
 +
<div class="container">
 +
<!--DO NOT CHANGE ANY OF THIS BEGINS-->
 +
<head>
 +
<meta name="viewport" content="width=device-width, initial-scale=1.0">
 +
<title>IISER-BPR IGEM</title>
 +
<!--<link rel="stylesheet" type="text/css" href="stylesheet1.css">-->
 +
</head>
 +
 +
<body>
 +
<div class="navbar" id="myNavbar">
 +
<a href="https://2020.igem.org/Team:IISER_Berhampur">Home</a>
 +
  <div class="dropdown">
 +
    <button class="dropbtn">Project&#9660;</button>
 +
    <div class="dropdown-content">
 +
<a href="https://2020.igem.org/Team:IISER_Berhampur/Project/Overview">Overview</a>     
 +
<a href="https://2020.igem.org/Team:IISER_Berhampur/Description">Description</a>
 +
  <a href="https://2020.igem.org/Team:IISER_Berhampur/Implementation">Implementation</a>
 +
          <a href="https://2020.igem.org/Team:IISER_Berhampur/Experiments">Experiments</a>
 +
  <a href="https://2020.igem.org/Team:IISER_Berhampur/Engineering">Engineering</a>
 +
          <a href="https://2020.igem.org/Team:IISER_Berhampur/Project/Notebook">Notebook</a>
 +
        <a href="https://2020.igem.org/Team:IISER_Berhampur/Contribution">Contribution</a>
 +
    </div>
 +
 +
 +
  </div>
 +
      <a href="https://2020.igem.org/Team:IISER_Berhampur/Model">Modelling</a>
 +
<div class="dropdown">
 +
    <button class="dropbtn">Team&#9660;</button>
 +
    <div class="dropdown-content">
 +
      <a href="https://2020.igem.org/Team:IISER_Berhampur/Team">Members</a>
 +
          <a href="https://2020.igem.org/Team:IISER_Berhampur/Attributions">Attributions</a>
 +
  <a href="https://2020.igem.org/Team:IISER_Berhampur/Collaborations">Collaborations</a>
 +
    </div>
 +
  </div>
 +
<a href="https://2020.igem.org/Team:IISER_Berhampur/Parts">Parts</a>
 +
 +
        <a href="https://2020.igem.org/Team:IISER_Berhampur/Human_Practices">Human Practices</a>
 +
 +
        <a href="https://2020.igem.org/Team:IISER_Berhampur/Education">Science Communication</a>
 +
 +
      <a href="https://2020.igem.org/Team:IISER_Berhampur/Splash">Splash</a>
 +
 
 +
<a href="https://2020.igem.org/Team:IISER_Berhampur/Awards">Awards</a>
 +
 +
<a href="https://2020.igem.org/Team:IISER_Berhampur/Graphics">Graphics</a>
 +
       
 +
 +
</div>
 +
<div style="position:fixed; top:0; right:0; width:5vw;height:6vw;z-index:10000;">
 +
<img style="position:relative;top:0;object-fit:contain; " src="https://static.igem.org/mediawiki/2020/6/69/T--IISER_Berhampur--gold.png"></img></div>
 +
<script>
 +
function myNavbarResponsive() {
 +
  var x = document.getElementById("myNavbar");
 +
  if (x.className === "navbar") {
 +
    x.className += " responsive";
 +
  } else {
 +
    x.className = "navbar";
 +
  }
 +
}
 +
 +
</script>
 +
 +
 +
 +
 +
</body>
 
</html>
 
</html>

Latest revision as of 17:18, 18 December 2020

IISER-BPR IGEM