Difference between revisions of "Template:IIT Kanpur/Footer"

 
(58 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Template:IIT_Kanpur}}
 
 
<html>
 
<html>
<head>
 
 
<style>
 
<style>
/* Fonts */
 
  
@font-face {
+
<html>
    font-family: "Raleway";
+
<style>
     src: url("https://static.igem.org/mediawiki/2017/3/3f/T--IISc-Bangalore--raleway.woff") format("woff");
+
 
 +
/******* FOOTER ******/
 +
 
 +
#footer {
 +
margin:0;
 +
padding:0;
 +
height: 20%;
 +
margin-top:200px;
 +
     position: sticky;
 +
top: 20%;
 +
  bottom: -20%;
 
}
 
}
@font-face {
+
 
    font-family: "Poppins";
+
/***************************************** FOOTNOTES (Social Media Links) ******************************************/
    src: url("https://static.igem.org/mediawiki/2017/d/d7/T--IISc-Bangalore--poppins.woff") format("woff");
+
 
 +
.footnotes-menu {      
 +
position: relative;
 +
        float: right;
 +
right: 6em;
 +
        bottom:6em;
 
}
 
}
  
@font-face {
+
.menu-toggler {
    font-family: "Raleway-ExtraBold";
+
  position: absolute;
    src: url('https://static.igem.org/mediawiki/2017/6/6b/T--IISc-Bangalore--raleway-extrabold.woff') format("woff");
+
  display: block;
 +
  top: 0;
 +
  bottom: 0;
 +
  right: 0;
 +
  left: 0;
 +
  margin: auto;
 +
  width: 40px;
 +
  height: 40px;
 +
  z-index: 10;
 +
  opacity: 0;
 +
  cursor: pointer;
 +
}
 +
.menu-toggler:hover + label, .menu-toggler:hover + label:before, .menu-toggler:hover + label:after {
 +
  background: white;
 
}
 
}
  
.column.full_size, .igem_2018_team_menu.displaying_menu{
+
.menu-toggler:checked + label {
display: none;
+
  background: transparent;
 +
}
 +
.menu-toggler:checked + label:before, .menu-toggler:checked + label:after {
 +
  top: 10px;
 +
  width: 40px;
 +
  -webkit-transform-origin: 50% 50%;
 +
          transform-origin: 50% 50%;
 +
}
 +
.menu-toggler:checked + label:before {
 +
  -webkit-transform: rotate(45deg);
 +
          transform: rotate(45deg);
 +
}
 +
.menu-toggler:checked + label:after {
 +
  -webkit-transform: rotate(-45deg);
 +
          transform: rotate(-45deg);
 +
}
 +
 
 +
.menu-toggler:checked ~ ul .menu-item {
 +
  opacity: 1;
 +
}
 +
.menu-toggler:checked ~ ul .menu-item:nth-child(1) {
 +
  -webkit-transform: translateY(-90px);
 +
          transform: translateY(-90px);
 +
}
 +
.menu-toggler:checked ~ ul .menu-item:nth-child(2) {
 +
  -webkit-transform: translateY(-180px);
 +
          transform: translateY(-180px);
 +
}
 +
.menu-toggler:checked ~ ul .menu-item:nth-child(3) {
 +
  -webkit-transform: translateY(-270px);
 +
          transform: translateY(-270px);
 +
}
 +
.menu-toggler:checked ~ ul .menu-item:nth-child(4) {
 +
  -webkit-transform: translateY(-360px);
 +
          transform: translateY(-360px);
 +
}
 +
.menu-toggler:checked ~ ul .menu-item:nth-child(5) {
 +
  -webkit-transform: translateY(-450px);
 +
          transform: translateY(-450px);
 +
}
 +
.menu-toggler:checked ~ ul .menu-item:nth-child(6) {
 +
  -webkit-transform: translateY(-540px);
 +
          transform: translateY(-540px);
 +
}
 +
.menu-toggler:checked ~ ul .menu-item a {
 +
  pointer-events: auto;
 +
}
 +
 
 +
.menu-toggler + label {
 +
  width: 40px;
 +
  height: 5px;
 +
  display: block;
 +
  z-index: 5;
 +
  border-radius: 2.5px;
 +
  background: rgba(255,255,255, 0.7);
 +
  -webkit-transition: top 0.5s, -webkit-transform 0.5s;
 +
  transition: top 0.5s, -webkit-transform 0.5s;
 +
  transition: transform 0.5s, top 0.5s;
 +
  transition: transform 0.5s, top 0.5s, -webkit-transform 0.5s;
 +
  position: absolute;
 +
  display: block;
 +
  top: 0;
 +
  bottom: 0;
 +
  right: 0;
 +
  left: 0;
 +
  margin: auto;
 +
}
 +
.menu-toggler + label:before, .menu-toggler + label:after {
 +
  width: 40px;
 +
  height: 5px;
 +
  display: block;
 +
  z-index: 5;
 +
  border-radius: 2.5px;
 +
  background: rgba(255,255,255, 0.7);
 +
  -webkit-transition: top 0.5s, -webkit-transform 0.5s;
 +
  transition: top 0.5s, -webkit-transform 0.5s;
 +
  transition: transform 0.5s, top 0.5s;
 +
  transition: transform 0.5s, top 0.5s, -webkit-transform 0.5s;
 +
  content: "";
 +
  position: absolute;
 +
  left: 0;
 +
}
 +
.menu-toggler + label:before {
 +
  top: 10px;
 +
}
 +
.menu-toggler + label:after {
 +
  top: -10px;
 +
}
 +
 
 +
.menu-item {
 +
  position: absolute;
 +
  display: block;
 +
  top: 0;
 +
  bottom: 0;
 +
  right: 4em;
 +
  left: 0;
 +
  margin: auto;
 +
  width: 80px;
 +
  height: 80px;
 +
  display: block;
 +
  opacity: 0;
 +
  -webkit-transition: 0.5s;
 +
  transition: 0.5s;
 +
}
 +
 
 +
.menu-item a {
 +
  display: block;
 +
  width: inherit;
 +
  height: inherit;
 +
  line-height: 80px;
 +
  color: rgba(255,255,255, 0.7);
 +
  background: rgba(255,255,255, 0);
 +
  border-radius: 50%;
 +
  text-align: center;
 +
  text-decoration: none;
 +
  font-size: 15px;
 +
  pointer-events: none;
 +
  -webkit-transition: .2s;
 +
  transition: .2s;
 +
}
 +
.menu-item a:hover {
 +
  box-shadow: 0 0 0 0px rgba(255,255,255, 0);
 +
  color: white;
 +
  background: rgba(255,255,255, 0.0);
 +
  font-size: 17px;
 +
}
 +
 
 +
.menu-icon {
 +
height: 50px;
 +
width: 50px;
 +
margin: auto;
 +
padding: 10 10 10 10;
 +
}
 +
 
 +
/******************** SPONSORS BAR ************************/
 +
#sponsors-bar {
 +
margin:0;
 +
padding:0;
 +
}
 +
 
 +
.sponsor-img {
 +
padding: 1%;
 +
max-width: 10%;
 +
height:auto;
 +
}
 +
 
 +
#img-squarish {
 +
padding: 1%;
 +
max-width: 6%;
 +
height:auto;
 
}
 
}
#pagefooter {
 
            width: 100%;
 
            position: fixed;
 
            bottom: -250px;
 
            left: 0;
 
            background-color: #FFE97C;
 
            transition: all 0.5s ease;
 
            padding-left: 10px;
 
            z-index: 3000;
 
            font-family: "Poppins", sans-serif;
 
        }
 
        #smallfooter {
 
            transition: all 0.5s ease;
 
        }
 
        .expanded {
 
            bottom: 0 !important;
 
            transition: all 0.5s ease;
 
        }
 
        .expanded #smallfooter {
 
            opacity: 0;
 
            transition: all 0.5s ease;
 
        }
 
        .footerarrow {
 
            position: absolute;
 
            top: 4px;
 
            left: 50%;
 
            transform: translateX(-50%);
 
            transition: transform 0.5s ease-in;
 
            height: 12px;
 
        }
 
        .inverted {
 
            transform: rotate(180deg);
 
            transition: transform 0.5 ease-in;
 
        }
 
        #bigfooter table {
 
            border: none;
 
            background: none;
 
        }
 
        #bigfooter table tr td {
 
            border: none;
 
            background: none;
 
        }
 
        #bigfooter table tr th {
 
            border: none;
 
            background: none;
 
            font-family: "Raleway-ExtraBold", sans-serif;
 
            font-size: 2em;
 
            letter-spacing: 1px;
 
            text-transform: uppercase;
 
        }
 
        #footericons {
 
            float: right;
 
            margin-right: 20px;
 
        }
 
        #footericons img{
 
            height: 18px;
 
            margin-right: 10px;
 
            margin-bottom: 2px;
 
        }
 
        #bigfooter {
 
            width: 100%;
 
            position: relative;
 
            display: block;
 
            height: 250px;
 
        }
 
        #footersponsors {
 
            width: 60%;
 
            float: left;
 
        }
 
        #footersponsors img {
 
            height: 100%;
 
        }
 
        #footercontact {
 
            width: 40%;
 
            float: right;
 
        }
 
        #footercontact img {
 
            height: 50px;
 
        }
 
        #footersponsors td {
 
            text-align: center;
 
            height: 70px;
 
        }
 
 
</style>
 
</style>
</head>
 
<body>
 
<div id="pagefooter" class="clearfix">
 
        <div id="smallfooter" class="clearfix">
 
            <div id="footericons">
 
                <a href="https://www.facebook.com/iiscbangaloreigem/"><img src="https://static.igem.org/mediawiki/2017/4/4b/T--IISc-Bangalore--fb_new.svg" /></a><a href="https://twitter.com/igem_iiscUG"><img src="https://static.igem.org/mediawiki/2017/b/be/T--IISc-Bangalore--twitter_new.svg" /></a><a href="mailto:igem.2017.iisc@gmail.com"><img src="https://static.igem.org/mediawiki/2017/e/e8/T--IISc-Bangalore--mail.svg" /></a>
 
            </div>
 
        </div>
 
        <img class="footerarrow" src="https://static.igem.org/mediawiki/2017/6/62/T--IISc-Bangalore--arrow.png" width="20px" />
 
        <div id="bigfooter" class="clearfix">
 
            <div id="footersponsors">
 
<table style="margin: auto">
 
<tr>
 
  
<th colspan="6">Sponsors</th>
+
<div id = "footer">
  
</tr>
+
<!-- FOOTNOTES (social media links) -->
<tr>
+
<div class="footnotes-menu">
<td colspan="2"><a href="http://www.iisc.ac.in/"><img src="https://static.igem.org/mediawiki/2017/8/82/T--IISc-Bangalore--iisc.png"></a></td>
+
  <input class="menu-toggler" id="menu-toggler" type="checkbox">
<td colspan="2"><a href="http://www.dbtindia.nic.in/"><img src="https://static.igem.org/mediawiki/2017/7/78/T--IISc-Bangalore--dbt.png"></a></td>
+
  <label for="menu-toggler"></label>
<td colspan="2"><a href="http://www.dbtindia.nic.in/ibec-indian-biological-engineering-competition/"><img src="https://static.igem.org/mediawiki/2017/8/89/T--IISc-Bangalore--ibec.png"></a></td>
+
  <ul>
</tr>
+
      <li class="menu-item">
<tr>
+
      <a href="https://igem.org/Main_Page" target="_blank">
<td colspan="3"><a href="https://www.justdial.com/Tirunelveli/South-India-Bottling-Co-Pvt-Ltd-Gangaikondan/0462P462STD2100023_BZDET"><img src="https://static.igem.org/mediawiki/2017/f/f4/T--IISc-Bangalore--sibc-updated.png"></a></td>
+
<img class="menu-icon" src="https://static.igem.org/mediawiki/2018/7/78/T--IIT_Kanpur--Icon-igem.png" alt="Home">
<td colspan="3"><a href="http://www.snapgene.com/"><img src="https://static.igem.org/mediawiki/2017/4/41/T--IISc-Bangalore--snapgene2.png"></a></td>
+
  </a>
</tr>
+
    </li>
 +
   
 +
 
 +
<li class="menu-item">
 +
      <a href="https://www.iitk.ac.in/" target="_blank">
 +
<img class="menu-icon" src="https://static.igem.org/mediawiki/2018/9/94/T--IIT_Kanpur--Logo_IITK.png" alt="" height="50" width ="50">
 +
  </a>
 +
    </li>
 +
<li class="menu-item">
 +
      <a href="mailto:teamigemiitk2k18@gmail.com" target="top">
 +
<img class="menu-icon" src="https://static.igem.org/mediawiki/2018/9/91/T--IIT_Kanpur--Icon-gmail.png" alt="Gmail" height="50" width ="50">
 +
  </a>
 +
    </li>
 +
<li class="menu-item">
 +
      <a href="https://www.instagram.com/igem_iitk/" target="_blank">
 +
<img class="menu-icon" src="https://static.igem.org/mediawiki/2018/4/4f/T--IIT_Kanpur--Icon-instagram.png" alt="Instagram" height="50" width ="50">
 +
  </a>
 +
    </li>
 +
  <li class="menu-item">
 +
      <a href="https://www.facebook.com/bioluminatiigem/" target="_blank">
 +
<img class="menu-icon" src="https://static.igem.org/mediawiki/2018/4/4f/T--IIT_Kanpur--Icon-facebook.png" alt="Facebook" height="50" width ="50">
 +
      </a>
 +
    </li>
  
                </table>
+
<li class="menu-item">
            </div><div id="footercontact">
+
      <a href="https://twitter.com/IgemIit" target="_blank">
                <table style="margin: auto">
+
        <img class="menu-icon" src="https://static.igem.org/mediawiki/2018/a/a3/T--IIT_Kanpur--Icon-twitter.png" alt="Twitter" height="50" width ="50">
                    <tr><th colspan="6">Contact</th></tr>
+
      </a>
                    <tr><td>&nbsp;</td></tr>
+
    </li>
                    <tr>
+
  </ul>
                        <td><a href="https://www.facebook.com/iiscbangaloreigem/"><img src="https://static.igem.org/mediawiki/2017/4/4b/T--IISc-Bangalore--fb_new.svg" /></a></td>
+
                        <td><a href="https://twitter.com/igem_iiscUG"><img src="https://static.igem.org/mediawiki/2017/b/be/T--IISc-Bangalore--twitter_new.svg" /></a></td>
+
                        <td><a href="mailto:igem.2017.iisc@gmail.com"><img src="https://static.igem.org/mediawiki/2017/e/e8/T--IISc-Bangalore--mail.svg" /></a></td>
+
                    </tr>
+
                    <tr><td>&nbsp;</td></tr>
+
                </table>
+
            </div>
+
        </div>
+
    </div>
+
 
</div>
 
</div>
  
<script type="text/javascript" src="https://2017.igem.org/Template:IISc-Bangalore/slide-nav?action=raw&ctype=text/javascript"></script>
+
<div id = "sponsors-bar" style="background-color: #222">
<script>
+
    <a href="https://www.iitk.ac.in/"><img src="https://static.igem.org/mediawiki/2018/9/94/T--IIT_Kanpur--Logo_IITK.png" class = "sponsor-img"></a>
    $("#pagefooter").click(function() {
+
  <a href="http://www.iitk.ac.in/siic/d/birac-bio-incubator"><img src="https://static.igem.org/mediawiki/2018/f/fd/T--IIT_Kanpur--Logo_Bioincubator.png" class= "sponsor-img"></a>
        $("#pagefooter").toggleClass("expanded");
+
        $(".footerarrow").toggleClass("inverted");
+
    });
+
$(document).ready(function(){
+
    var headings = document.getElementsByTagName("h1");
+
    var i;
+
    for (i=0; i<headings.length; i++) {
+
        var sometext = headings[i].innerHTML;
+
        console.log(sometext);
+
        headings[i].innerHTML = "<img src='https://static.igem.org/mediawiki/2017/c/c9/T--IISc-Bangalore--title_flank_left.png'>"+sometext+"<img src='https://static.igem.org/mediawiki/2017/a/a2/T--IISc-Bangalore--title_flank_right.png'>";
+
    }
+
})
+
</script>
+
  
</body>
+
    <a href="http://www.snapgene.com/"><img src="https://static.igem.org/mediawiki/2018/a/a9/T--IIT_Kanpur--Logo_snapgene.png"  class="sponsor-img"></a>
 +
 +
    <a href="https://www.geneious.com/"><img src="https://static.igem.org/mediawiki/2018/4/46/T--IIT_Kanpur--Logo_geneious.png" class= "sponsor-img"></a>
 +
    <a href="https://www.idtdna.com/site"><img src="https://static.igem.org/mediawiki/2018/7/7a/T--IIT_Kanpur--Logo_idt.png" class= "sponsor-img"></a>       
 +
    <a href="https://www.mathworks.com/"><img src="https://static.igem.org/mediawiki/2018/2/29/T--IIT_Kanpur--Logo_mathworks.png" class= "sponsor-img"></a>       
 +
</div>
 +
</div>
 
</html>
 
</html>

Latest revision as of 23:25, 17 October 2018