Difference between revisions of "Team:Duesseldorf/Test2"

Line 12: Line 12:
 
.w3-hover-light-grey:hover{color:#000!important;background-color:#f1f1f1!important}
 
.w3-hover-light-grey:hover{color:#000!important;background-color:#f1f1f1!important}
 
.w3-padding {padding:8px 16px!important}
 
.w3-padding {padding:8px 16px!important}
.w3-border-red,.w3-hover-border-red:hover{border-color:#f44336!important}
+
.w3-border-green,.w3-hover-border-green:hover{border-color:##0C9476!important}
  
 
@media only screen and (max-width: 1024px) {
 
@media only screen and (max-width: 1024px) {
Line 79: Line 79:
 
   <div class="w3-row">
 
   <div class="w3-row">
 
     <a href="javascript:void(0)" onclick="openrequirement(event, 'Bronze');">
 
     <a href="javascript:void(0)" onclick="openrequirement(event, 'Bronze');">
       <span class="w3-third tablink w3-bottombar w3-hover-light-grey w3-padding">Bronze</span>
+
       <span class="w3-third tablink w3-bottombar w3-hover-light-grey w3-padding"><img src="https://static.igem.org/mediawiki/2016/a/a8/T--duesseldorf--medalbronze.PNG"></span>
 
     </a>
 
     </a>
 
     <a href="javascript:void(0)" onclick="openrequirement(event, 'Silver');">
 
     <a href="javascript:void(0)" onclick="openrequirement(event, 'Silver');">
       <span class="w3-third tablink w3-bottombar w3-hover-light-grey w3-padding">Silver</span>
+
       <span class="w3-third tablink w3-bottombar w3-hover-light-grey w3-padding"><img src="https://static.igem.org/mediawiki/2016/a/a0/T--duesseldorf--medalsilver.PNG"></span>
 
     </a>
 
     </a>
 
     <a href="javascript:void(0)" onclick="openrequirement(event, 'Gold');">
 
     <a href="javascript:void(0)" onclick="openrequirement(event, 'Gold');">
       <span class="w3-third tablink w3-bottombar w3-hover-light-grey w3-padding">Gold</span>
+
       <span class="w3-third tablink w3-bottombar w3-hover-light-grey w3-padding"><img src="https://static.igem.org/mediawiki/2016/8/86/T--duesseldorf--medalgold.PNG"></span>
 
     </a>
 
     </a>
 
   </div>
 
   </div>
Line 150: Line 150:
 
   tablinks = document.getElementsByClassName("tablink");
 
   tablinks = document.getElementsByClassName("tablink");
 
   for (i = 0; i < x.length; i++) {
 
   for (i = 0; i < x.length; i++) {
     tablinks[i].className = tablinks[i].className.replace(" w3-border-red", "");
+
     tablinks[i].className = tablinks[i].className.replace(" w3-border-green", "");
 
   }
 
   }
 
   document.getElementById(requirementName).style.display = "block";
 
   document.getElementById(requirementName).style.display = "block";
   evt.currentTarget.firstElementChild.className += " w3-border-red";
+
   evt.currentTarget.firstElementChild.className += " w3-border-green";
 
}
 
}
 
</script>
 
</script>
 
</body>
 
</body>

Revision as of 13:24, 18 October 2016

Bronze

Bronze text.

Silver

Silver text.

Gold

Gold text.