Difference between revisions of "Template:BABS UNSW Australia"

 
(70 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Template_All_Teams}}
 
 
<!-- Declare that you are going to use html code instead of wiki code -->
 
 
<html>
 
<html>
 +
<style>
  
<!-- Start of CSS-->
 
<style type="text/css">
 
 
/* PAGE LAYOUT */
 
 
/* Change Background color*/
 
body {
 
background-color: #fff;
 
}
 
 
/* Creates a container that will wrap all of the content inside your wiki pages. */
 
#mainContainer { 
 
width: 978px;
 
overflow:hidden;
 
float:left;
 
margin-left:20px;
 
margin-bottom: 10px;
 
background-color: #fff;
 
border-bottom: 14px solid #565656;
 
border-right: 2px solid #565656;
 
border-left: 2px solid #565656;
 
border-top: 2px solid #565656;
 
font-family: "Trebuchet MS", Helvetica, sans-serif;
 
}
 
 
/* Creates the container for the menu */
 
#menuContainer  {
 
float:left;
 
width: 134px;
 
padding: 20px 0px;
 
border-top: 14px solid #565656;
 
background-color: #E8E8E9;
 
}
 
 
/* Creates the container for the content */
 
#contentContainer {
 
padding-top:20px;
 
padding-right:10px;
 
margin-bottom: 20px;
 
width: 814px;
 
padding-left: 20px;
 
float: left;
 
background-color: #fff;
 
border-top: 14px solid #565656;
 
font-family: "Trebuchet MS", Helvetica, sans-serif;
 
}
 
 
/*Set up height place holder for the banner*/
 
#bannerContainer {
 
height:200px;
 
margin:auto;
 
text-align:center;
 
color: #24B694;
 
                                background: url(https://static.igem.org/mediawiki/2015/a/ae/Team_BABS_UNSW_Australia_banner.jpg);
 
}
 
 
/*VISUAL STYLE (TABLES, FONTS, LINKS, IMAGES, UL) */
 
 
/*Change the styling of text for everything inside main container*/
 
#mainContainer p {
 
font-size: 13px;
 
color: #000000;
 
}
 
 
/*This changes the color and font family */
 
#contentContainer h1, h2, h3, h4, h5, h6 {
 
color: #565656;
 
border-bottom: none;
 
font-weight: bold;
 
font-family: "Trebuchet MS", Helvetica, sans-serif;
 
margin-top:10px;
 
}
 
 
/*Style of the links - links are different inside the menu */
 
#contentContainer a {
 
font-weight: bold;
 
color: #23b593;
 
}
 
 
  /* Styling links on hover- links are different inside the menu */
 
#contentContainer a:hover {
 
color: #59bf92;
 
}
 
 
/*Change the styling of tables */
 
        #contentContainer table {
 
    border: 1px solid #565656;
 
    border-collapse: collapse;
 
    width: 90%
 
    margin: auto;
 
    margin-bottom: 15px;
 
    margin-top: 15px;
 
    margin-right: 10px;
 
    margin-left: 10px;
 
    }
 
 
/*Change the styling of table cells*/
 
    #contentContainer  td {
 
    padding: 10px;
 
    border: 1px solid #565656;
 
    border-collapse: collapse;
 
    vertical-align: text-top;
 
    }
 
 
/*Change the styling of table headers */
 
    #contentContainer th {
 
    background-color: #E8E8E9;
 
    padding: 10px;
 
    border: 1px solid #565656;
 
    border-collapse: collapse;
 
    vertical-align: text-top;
 
    }
 
 
 
 
/*MENU STYLING */
 
 
/*Styling for the links in the menu */
 
#menuContainer a {
 
color: #565656;
 
text-decoration:none;
 
font-weight: bold;
 
}
 
 
/* Sets the style for lists inside menuContainer  */
 
#menuContainer ul {
 
list-style: none;
 
margin-left:0px;
 
}
 
 
/*Styles the list items to become menu buttons */
 
#menuContainer ul li {
 
text-align: center;
 
display: block;
 
width: 100%;
 
height:30px;
 
padding-top:10px;
 
}
 
 
/*For the menu buttons, changes the color when hovering*/
 
#menuContainer li:hover {
 
color:  #FFF;
 
background-color: #24B694;
 
}
 
 
/*Submenus are not displayed as default*/
 
#menuContainer li ul {
 
display: none;
 
padding-top:15px;
 
margin-left: -19px;
 
}
 
 
/*Submenus are displayed when hovering the menu button */
 
#menuContainer li:hover ul {
 
/*display: inline-block; */
 
display: block;
 
position: absolute;
 
float:right;
 
margin-left: 134px;
 
margin-top:-42px;
 
}
 
 
/*Style the submenu buttons*/
 
#menuContainer li ul li{
 
background-color: #59BF92;
 
padding-left:20px;
 
padding-right:20px;
 
height:30px;
 
padding-top:10px;
 
margin-top:-2px;
 
color: #565656;
 
width: 150px;
 
}
 
 
/*CLASSES */
 
 
/*Clear class for all the pages, adds spacing too*/
 
.clear{
 
clear:both;
 
height: 10px;
 
}
 
 
 
/* highlight box for special messages */
 
    .highlightBox {
 
        width:500px;
 
        margin:auto;
 
        background-color: #E8E8E9;
 
margin-bottom: 15px;
 
margin-top: 15px;
 
padding: 15px;
 
padding-top: 5px;
 
    }
 
 
 
</style>
 
<!-- End of CSS -->
 
  
 +
#content {
  
<!-- Start of the template html elements. -->
+
padding-bottom:140px !important;
<div id ="mainContainer"><!--The closing tag for mainContainer should be placed at the bottom of each content page.-->
+
  
 +
}
 +
.page-header {
 +
  padding-bottom:0px !important;
 +
}
  
<div id="bannerContainer">
+
.page-header img {
<br><br>
+
  max-height:60% !important;
  
</div>
+
}
  
<!-- Start of menu -->
+
body {
<div id="menuContainer">
+
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
 +
    font-size: 14px;
 +
    line-height: 1.42857143;
 +
    color: #333;
 +
    background-color: #fff;
 +
}
  
<!-- This list is your menu, every list item is a menu button and nested listed become submenu buttons -->
+
.page-header {
<ul>
+
<a href="https://2015.igem.org/Team:BABS_UNSW_Australia"><li>HOME</li></a>
+
  
<a href="https://2015.igem.org/Team:BABS_UNSW_Australia/Team"><li>TEAM</li></a>
+
  margin-top: 50px !important;
  
<a href="#"><li>PROJECT
+
}
            <ul>
+
<a href="https://2015.igem.org/Team:BABS_UNSW_Australia/Description"><li>Description</li></a>
+
<a href="https://2015.igem.org/Team:BABS_UNSW_Australia/Experiments"><li>Experiments &amp; Protocols</li></a> 
+
<a href="https://2015.igem.org/Team:BABS_UNSW_Australia/Results"><li>Results</li></a> 
+
<a href="https://2015.igem.org/Team:BABS_UNSW_Australia/Design"><li>Design</li></a>
+
</ul>
+
</li></a>
+
  
<a href="#"><li>PARTS
+
.col-xs-9 {
            <ul>
+
    margin-bottom: 40px;
<a href="https://2015.igem.org/Team:BABS_UNSW_Australia/Parts"><li>Team Parts</li></a>
+
}
<a href="https://2015.igem.org/Team:BABS_UNSW_Australia/Basic_Part"><li>Basic Parts</li></a> 
+
/* Fix top panel Bootstrap issues. Patch by iGEM Stockholm 2015. Include this stylesheet in your header, after Bootstrap, to restore the original style to the top menu.*/
<a href="https://2015.igem.org/Team:BABS_UNSW_Australia/Composite_Part"><li>Composite Parts</li></a>
+
top_menu_14, #top_menu_under, #top_menu_inside {
<a href="https://2015.igem.org/Team:BABS_UNSW_Australia/Part_Collection"><li>Part Collection</li></a> 
+
box-sizing: initial;
</ul>
+
line-height: initial;
</li></a>
+
}
 +
top_menu_inside {
 +
margin-left: 20px;
 +
}
 +
bars_box, #menu_BarsBox, h5 {
 +
-webkit-box-sizing: initial; box-sizing: initial; line-height: normal;
 +
}
 +
menu_BarsBox > h5 {
 +
color: rgb(0, 0, 0);
 +
font-family: arial, sans-serif;
 +
font-size: 12px;
 +
line-height: normal;
 +
margin-bottom: 0px;
 +
margin-top: 0px;
 +
font-weight: bold;
 +
}
 +
.accordion-content li {
 +
line-height: 18px;
 +
-webkit-box-sizing: initial;
 +
box-sizing: initial;
 +
}
 +
.accordion-header, .active-header, .accordion-header_noaction {
 +
-webkit-box-sizing: initial;
 +
box-sizing: initial;
 +
color: rgb(101, 100, 89);
 +
font-family: Arial, Gadget, sans-serif;
 +
font-size: 13.92px; font-weight: bold;
 +
line-height:
 +
normal;
 +
margin: 0;
 +
}
  
<a href="https://2015.igem.org/Team:BABS_UNSW_Australia/Notebook"><li>NOTEBOOK</li></a>
 
     
 
<a href="https://2015.igem.org/Team:BABS_UNSW_Australia/Attributions"><li>ATTRIBUTIONS</li></a>
 
  
<a href="https://2015.igem.org/Team:BABS_UNSW_Australia/Collaborations"><li>COLLABORATIONS</li></a>
+
#contentsub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo {
 +
  display:none;
 +
}
 +
#top-section {
 +
  border:none;
 +
  height:0px;
 +
}
  
<a href="https://2015.igem.org/Team:BABS_UNSW_Australia/Practices"><li>HUMAN PRACTICES</li></a>
+
#content {
 +
  border:none;
 +
  padding: 0px 0px 0px 0px;
 +
}
 +
#globalWrapper {
 +
  font-size: 100%;
 +
}
 +
#content {
 +
  width:100%;
 +
}
  
<a href="https://2015.igem.org/Team:BABS_UNSW_Australia/Safety"><li>SAFETY</li></a>
+
figcaption {
 +
    margin: 10px 0 0 0;
 +
    font-variant: normal;
 +
    font-family: Arial;
 +
    font-weight: lighter;
 +
    color: #bb3333;
 +
    text-align:center;
 +
}
  
<a href="https://2015.igem.org/Team:BABS_UNSW_Australia/Modeling"><li>MODELING</li></a>
+
img {
 +
max-width:100%;
 +
}
  
<a href="https://2015.igem.org/Team:BABS_UNSW_Australia/Measurement"><li>MEASUREMENT</li></a>
+
body {
  
<a href="https://2015.igem.org/Team:BABS_UNSW_Australia/Software"><li>SOFTWARE</li></a>
+
        background-color: transparent;
 +
        top: 50px;
  
<a href="https://2015.igem.org/Team:BABS_UNSW_Australia/Entrepreneurship"><li>ENTREPRENEURSHIP</li></a>
+
}
  
</ul>
+
</style>
</div>
+
<link rel="stylesheet" type="text/css" href="https://2015.igem.org/wiki/index.php?title=Template:BABS_UNSW_Australia/babspagecss&action=raw&ctype=text/css" />
<!-- End of menu  -->
+
<link rel="stylesheet" type="text/css" href="https://2015.igem.org/wiki/index.php?title=Template:BABS_UNSW_Australia/Bootstrap-CSS&action=raw&ctype=text/css" />
 +
<!-- JS -->
 +
<script type="text/javascript" src="https://2015.igem.org/wiki/index.php?title=Template:BABS_UNSW_Australia/Bootstrap-JS&action=raw&ctype=text/javascript" type="text/javascript"></script>
  
<!-- Start of content -->
 
<div id="contentContainer"> <!--The closing tag for contentContainer should be placed at the bottom of each content page.-->
 
 
</html>
 
</html>

Latest revision as of 14:40, 17 September 2015