Difference between revisions of "Template:IISc-Bangalore"

 
(80 intermediate revisions by 4 users not shown)
Line 11: Line 11:
 
@font-face {
 
@font-face {
 
     font-family: "Poppins";
 
     font-family: "Poppins";
     src: url("https://static.igem.org/mediawiki/2017/d/d7/T--IISc-Bangalore--poppins.woff") format("woff")
+
     src: url("https://static.igem.org/mediawiki/2017/d/d7/T--IISc-Bangalore--poppins.woff") format("woff");
 +
}
 +
 
 +
@font-face {
 +
    font-family: "Raleway-ExtraBold";
 +
    src: url('https://static.igem.org/mediawiki/2017/6/6b/T--IISc-Bangalore--raleway-extrabold.woff') format("woff");
 
}
 
}
  
Line 44: Line 49:
 
     padding: 0;
 
     padding: 0;
 
     box-sizing: border-box;
 
     box-sizing: border-box;
    padding-right: 30px;
 
 
     list-style: none;
 
     list-style: none;
 
     z-index: 1;
 
     z-index: 1;
 +
    display: none;
 
}
 
}
  
Line 54: Line 59:
 
     text-align: right;
 
     text-align: right;
 
     font-family: "Raleway", sans-serif;
 
     font-family: "Raleway", sans-serif;
    font-weight: 600;
 
 
}
 
}
  
 
#inPageNav li a {
 
#inPageNav li a {
 
     color: inherit;
 
     color: inherit;
 +
}
 +
 +
#inPageNav li a img {
 +
    width: 0;
 +
    height: 0;
 +
    box-sizing: border-box;
 +
    margin-top: -5px;
 +
    padding: 20px;
 +
    background-image: url('https://static.igem.org/mediawiki/2017/6/68/T--IISc-Bangalore--navbar_bullet.png');
 +
    background-size: 40px 40px;
 +
}
 +
 +
#inPageNav li a.active img {
 +
    background-image: url('https://static.igem.org/mediawiki/2017/2/20/T--IISc-Bangalore--navbar_bullet_active.png');
 +
    background-size: 40px 40px;
 
}
 
}
  
Line 72: Line 91:
  
 
#inPageNav li a.active {
 
#inPageNav li a.active {
     text-decoration: underline;
+
     font-weight: 800;
 
}
 
}
  
 
#inPageNav li:hover {
 
#inPageNav li:hover {
     background-color: #ddd;
+
     background-color: #f4f4f4;
 
}
 
}
 
   
 
   
Line 83: Line 102:
 
     float: left;
 
     float: left;
 
     display: block;
 
     display: block;
     padding: 0 200px 50px 0;
+
     padding: 0 15% 50px 0;
 
     box-sizing: border-box;
 
     box-sizing: border-box;
 
     position: relative;
 
     position: relative;
Line 91: Line 110:
 
     font-size: 1em;
 
     font-size: 1em;
 
     line-height: 2;
 
     line-height: 2;
     background-image: url('https://static.igem.org/mediawiki/2017/8/81/T--IISc-Bangalore--background-inverted.png');
+
     background-image: url('https://static.igem.org/mediawiki/2017/4/44/T--IISc-Bangalore--background_final.png');
 
     background-size: cover;
 
     background-size: cover;
 
     background-attachment: fixed;
 
     background-attachment: fixed;
Line 99: Line 118:
  
 
#contentMain h1 {
 
#contentMain h1 {
     margin: 20px 0 30px;
+
     margin: 20px 0;
 
     line-height: 1.3;
 
     line-height: 1.3;
     font-family: "Raleway", sans-serif;
+
     font-family: "Raleway-ExtraBold", sans-serif;
    font-weight: 600;
+
 
     padding: 0;
 
     padding: 0;
 
     text-align: center;
 
     text-align: center;
 
     border-bottom: 2px solid;
 
     border-bottom: 2px solid;
 +
    padding-bottom: 10px;
 +
    box-sizing: border-box;
 +
    font-size: 3em;
 +
}
 +
 +
#contentMain h1 img {
 +
    vertical-align: text-top;
 +
    box-sizing: border-box;
 +
    padding-bottom: 8px;
 +
    height: 50px;
 +
}
 +
 +
#contentMain h1 img:nth-child(1) {
 +
    margin-right: 10px;
 +
}
 +
 +
#contentMain h1 img:nth-child(2) {
 +
    margin-left: 10px;
 
}
 
}
  
Line 121: Line 157:
 
#contentMain p {
 
#contentMain p {
 
     margin: 15px 0 15px 0;
 
     margin: 15px 0 15px 0;
     line-height: 2;
+
     line-height: 1.9;
     font-size: 1em;
+
     font-size: 1.25em;
 
     font-family: "Poppins", sans-serif;
 
     font-family: "Poppins", sans-serif;
 
}
 
}
 
+
#contentMain li li{
 +
    font-size: 1em;
 +
}
 
#contentMain table {
 
#contentMain table {
 
     background: none;
 
     background: none;
 
     border: none;
 
     border: none;
 +
    margin: auto;
 
}
 
}
  
Line 146: Line 185:
 
     padding-right: 60px;
 
     padding-right: 60px;
 
     background-color: #ffe97c;
 
     background-color: #ffe97c;
    box-shadow: 0px 13px 10px -2px rgba(0, 0, 0, 0.12);
 
 
     font-family: "Poppins", sans-serif;
 
     font-family: "Poppins", sans-serif;
 
}
 
}
Line 223: Line 261:
 
     display: block;
 
     display: block;
 
}
 
}
 +
  
 
#logoImg {
 
#logoImg {
     float: left;
+
     height: 70px;
     padding: 5px 10px 0;
+
    position: fixed;
 +
    top: 20px;
 +
    left: 0;
 +
    z-index: 2;
 +
    background-color: #FFE97C;
 +
    border-radius: 0 0 100px 0;
 +
     padding: 5px 80px 10px 10px;
 +
    border: none;
 
}
 
}
  
#logoImg img {
+
figure img {
     height: 35px;
+
     display: block;
 +
    margin: auto;
 +
}
 +
 
 +
figurecaption {
 +
    text-align: center;
 +
    font-style: italic;
 +
    display: block;
 +
    margin: auto;
 +
}
 +
 
 +
.clearfix::after {
 +
    content: "";
 +
    clear: both;
 +
    display: table;
 +
}
 +
 
 +
.fch {
 +
    border-bottom: 2px solid !important;
 +
}
 +
 
 +
.fch tr:nth-child(1) th:nth-child(1) {
 +
    border-bottom: 2px solid !important;
 +
}
 +
 
 +
.fch tr th:nth-child(1) {
 +
    border: none !important;
 +
}
 +
 
 +
#contentMain li {
 +
    font-size: 1.25em;
 +
    line-height: 1.9;
 +
}
 +
 
 +
#contentMain table li {
 +
    font-size: 1em;
 +
}
 +
 
 +
.gifAnimated {
 +
    position: absolute;
 +
    width: 100%;
 +
    height: calc(100% - 61px);
 +
    background-size: contain;
 +
    background-position: center; 
 +
    background-repeat: no-repeat;
 +
    top: 68px;
 +
    left: 0;
 +
}
 +
 
 +
#headerImg {
 +
    margin-left: -30.76%;
 +
    margin-right: -23.07%;
 
}
 
}
  
 +
/* Footer styling */
  
 +
        #pagefooter {
 +
            width: 100%;
 +
            position: fixed;
 +
            bottom: -250px;
 +
            left: 0;
 +
            background-color: #FFE97C;
 +
            transition: all 0.5s ease;
 +
            padding-left: 10px;
 +
            z-index: 2;
 +
            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>
Line 240: Line 421:
 
<div style="position: fixed; width: 100%; top: 16px; left: 0; z-index: 1;">
 
<div style="position: fixed; width: 100%; top: 16px; left: 0; z-index: 1;">
 
<div class="navbar">
 
<div class="navbar">
  <a href="https://2017.igem.org/Team:IISc-Bangalore" id="logoImg"><img src="/wiki/images/6/65/T--IISc-Bangalore--logo-new.png"></a>
 
  
 
   <div class="dropdown">
 
   <div class="dropdown">
Line 254: Line 434:
 
   </div>
 
   </div>
 
   <div class="dropdown">
 
   <div class="dropdown">
     <div class="dropbtn"><a href="https://2017.igem.org/Team:IISc-Bangalore/Hardware">GCODe</a></div>
+
     <div class="dropbtn"><a href="https://2017.igem.org/Team:IISc-Bangalore/Hardware"><span></span></a>HARDWARE</div>
 
     <div class="dropdown-content">
 
     <div class="dropdown-content">
       <a href="https://2017.igem.org/Team:IISc-Bangalore/Hardware/GCODe-Mini">GCODe Mini</a>
+
      <a href="https://2017.igem.org/Team:IISc-Bangalore/Hardware">GCODe</a>
       <a href="https://2017.igem.org/Team:IISc-Bangalore/Hardware/GCODe-Pro">GCODe Pro</a>
+
       <a href="https://2017.igem.org/Team:IISc-Bangalore/Hardware/GCODe-Mini">Mini</a>
 +
       <a href="https://2017.igem.org/Team:IISc-Bangalore/Hardware/GCODe-Pro">Pro</a>
 
       <a href="https://2017.igem.org/Team:IISc-Bangalore/Hardware/Results">Results</a>
 
       <a href="https://2017.igem.org/Team:IISc-Bangalore/Hardware/Results">Results</a>
       <a href="https://2017.igem.org/Team:IISc-Bangalore/Hardware/Notebook">Notebook</a>
+
       <a href="https://2017.igem.org/Team:IISc-Bangalore/Hardware/Notebook">Hardware Evolution</a>
 
       <a href="https://2017.igem.org/Team:IISc-Bangalore/Hardware/Documentation">Build Your Own</a>
 
       <a href="https://2017.igem.org/Team:IISc-Bangalore/Hardware/Documentation">Build Your Own</a>
 
     </div>
 
     </div>
Line 268: Line 449:
 
     <div class="dropdown-content">
 
     <div class="dropdown-content">
 
       <a href="https://2017.igem.org/Team:IISc-Bangalore/Assembly">Assembly</a>
 
       <a href="https://2017.igem.org/Team:IISc-Bangalore/Assembly">Assembly</a>
      <a href="https://2017.igem.org/Team:IISc-Bangalore/Experiments">Experiments</a>
 
 
       <a href="https://2017.igem.org/Team:IISc-Bangalore/Results">Results</a>
 
       <a href="https://2017.igem.org/Team:IISc-Bangalore/Results">Results</a>
 
       <a href="https://2017.igem.org/Team:IISc-Bangalore/Demonstrate">Demonstrate</a>
 
       <a href="https://2017.igem.org/Team:IISc-Bangalore/Demonstrate">Demonstrate</a>
 
       <a href="https://2017.igem.org/Team:IISc-Bangalore/Notebook">Notebook</a>
 
       <a href="https://2017.igem.org/Team:IISc-Bangalore/Notebook">Notebook</a>
 
       <a href="https://2017.igem.org/Team:IISc-Bangalore/Protocols">Protocols</a>
 
       <a href="https://2017.igem.org/Team:IISc-Bangalore/Protocols">Protocols</a>
 +
      <a href="https://2017.igem.org/Team:IISc-Bangalore/InterLab">InterLab</a>
 
     </div>
 
     </div>
 
   </div>
 
   </div>
Line 281: Line 462:
 
       <a href="https://2017.igem.org/Team:IISc-Bangalore/Description">iFLOAT</a>
 
       <a href="https://2017.igem.org/Team:IISc-Bangalore/Description">iFLOAT</a>
 
       <a href="https://2017.igem.org/Team:IISc-Bangalore/Model">Model</a>
 
       <a href="https://2017.igem.org/Team:IISc-Bangalore/Model">Model</a>
 +
      <a href="https://2017.igem.org/Team:IISc-Bangalore/Experiments">Experiments</a>
 
       <a href="https://2017.igem.org/Team:IISc-Bangalore/Parts">Parts</a>
 
       <a href="https://2017.igem.org/Team:IISc-Bangalore/Parts">Parts</a>
 
       <a href="https://2017.igem.org/Team:IISc-Bangalore/Design">Design</a>
 
       <a href="https://2017.igem.org/Team:IISc-Bangalore/Design">Design</a>
      <a href="https://2017.igem.org/Team:IISc-Bangalore/InterLab">InterLab</a>
 
      <a href="https://2017.igem.org/Team:IISc-Bangalore/Evolution">Evolution</a>
 
 
     </div>
 
     </div>
 
   </div>
 
   </div>
Line 301: Line 481:
 
   </div>
 
   </div>
 
</div>
 
</div>
 +
  <a href="https://2017.igem.org/Team:IISc-Bangalore"><img id="logoImg" src="/wiki/images/6/65/T--IISc-Bangalore--logo-new.png"></a>
 
</div>
 
</div>
 +
 +
<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>
 +
 +
</tr>
 +
<tr>
 +
<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>
 +
<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>
 +
<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>
 +
</tr>
 +
<tr>
 +
<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>
 +
<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>
 +
</tr>
 +
 +
                </table>
 +
            </div><div id="footercontact">
 +
                <table style="margin: auto">
 +
                    <tr><th colspan="6">Contact</th></tr>
 +
                    <tr><td>&nbsp;</td></tr>
 +
                    <tr>
 +
                        <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>
 
  
 +
<script type="text/javascript" src="https://2017.igem.org/Template:IISc-Bangalore/slide-nav?action=raw&ctype=text/javascript"></script>
 +
<script>
 +
    $("#pagefooter").click(function() {
 +
        $("#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>
 
</html>
 
</html>

Latest revision as of 03:45, 2 November 2017