Difference between revisions of "Template:Macquarie Australia"

(Prototype team template page)
 
(Readjusting contentcontainer width)
 
(81 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Template_All_Teams}}
+
<html lang="en-AU">
 +
<style type="text/css">
  
<!-- Declare that you are going to use html code instead of wiki code -->
+
/* HIDE WIKI MARKUP */
<html>
+
  
<!-- Start of CSS-->
+
#contentSub, #footer-box, #catlinks, #search-controls, #p-logo, .printfooter, .firstHeading,.visualClear { /*-- hides default wiki settings --*/
<style type="text/css">
+
display: none;
 +
}
  
/* PAGE LAYOUT */
+
#content { /* Removes the standard wiki black border */
 +
border:none;
 +
/* padding: 0px 0px 0px 0px; */
 +
}
  
/* Change Background color*/
+
/* PAGE LAYOUT */
body {
+
background-color: #fff;
+
}
+
  
/* Creates a container that will wrap all of the content inside your wiki pages. */
+
body { /* Holds page background formatting */
#mainContainer { 
+
background-image: url("https://static.igem.org/mediawiki/2015/1/1f/MQAust_BG1.png");
width: 978px;
+
background-size: 100%;
overflow:hidden;
+
background-attachment: fixed;
float:left;
+
/* background-repeat: no-repeat; */
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 */
+
.mainContainer { /* Creates a container that wraps all of the content inside our wiki pages */
#menuContainer  {
+
width: 100%;
float:left;
+
overflow: hidden;
width: 134px;
+
float: center;
padding: 20px 0px;
+
/* margin-left: 20px; */
border-top: 14px solid #565656;
+
/* background-color: #EEEDEA; */
background-color: #E8E8E9;
+
/* border-bottom: 6px solid #EE3e53; */
}
+
}
  
/* Creates the container for the content */
+
.menuContainer { /* Creates the container for the menu */
#contentContainer {
+
float: center;
padding-top:20px;
+
width: 100%;
padding-right:10px;
+
/* height: 35px; Comment: setting this affects the whole page*/
margin-bottom: 20px;
+
/* background-color: #0e232f; */
width: 814px;
+
padding: 0px;
padding-left: 20px;
+
/* border-top: 6px solid #EE3e53; */
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*/
+
.mainmenu { /* Creates mainmenu class */
#bannerContainer {
+
/* width: 100%; */
height:200px;
+
/* float: left; */
margin:auto;
+
/* margin: 0 0 1em 0; */
text-align:center;
+
padding: 0;
color: #24B694;
+
/* background-color: #f2f2f2; */
}
+
/* border-bottom: 1px solid #ccc; */
 +
/* no colours, borders, width, or float here */
 +
border-collapse: collapse; /* Prevents a double line for both th td borders */
 +
border: 0;
 +
}
  
/*VISUAL STYLE (TABLES, FONTS, LINKS, IMAGES, UL) */
+
.menuHighlight { /* Creates highlight class */
 +
/* no styling required here so far */
 +
}
  
/*Change the styling of text for everything inside main container*/
+
.contentContainer { /* Creates the container for the content - class */
#mainContainer p {
+
/* background-color: #EEEDEA; */
font-size: 13px;
+
width: 943px;
color: #000000;
+
float: left;
}
+
padding: 16px;
+
/* border-top: 6px solid #EE3e53; */
/*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 */
+
.honyWhite { /* Creates unique HONY table class */
#contentContainer a {
+
border-collapse: collapse; /* Prevents a double line for both th td borders */
font-weight: bold;
+
width: 100%;
color: #23b593;
+
text-align: left;
}
+
}
  
  /* Styling links on hover- links are different inside the menu */
+
.centreStuffInline { /* Horizontal positioning */
#contentContainer a:hover {
+
text-align: center;
color: #59bf92;
+
}
}
+
  
/*Change the styling of tables */
+
.specialInline { /* Creates the container for inline content - class */
        #contentContainer table {
+
display: inline-block;
    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*/
+
.regularInline { /* Creates the container for inline content - class */
    #contentContainer  td {
+
display: inline-block;
    padding: 10px;
+
}
    border: 1px solid #565656;
+
    border-collapse: collapse;
+
    vertical-align: text-top;
+
    }
+
  
/*Change the styling of table headers */
+
.regularTable { /* Creates regular table class */
    #contentContainer th {
+
border-collapse: collapse; /* Prevents a double line for both th td borders */
    background-color: #E8E8E9;
+
width: 96%;
    padding: 10px;
+
text-align: left;
    border: 1px solid #565656;
+
}
    border-collapse: collapse;
+
    vertical-align: text-top;
+
    }
+
  
 +
.regularHeader { /* Creates regular header class */
 +
/* no styling required here so far */
 +
}
  
 +
.regularParagraph { /* Creates regular paragraph class */
 +
/* no styling required here so far */
 +
}
  
/*MENU STYLING */
+
.regularHyperlink { /* Creates regular hyperlink class */
 +
/* no styling required here so far */
 +
}
  
/*Styling for the links in the menu */
+
/* VISUAL STYLE (TABLES, FONTS, LINKS, IMAGES, UL) */
#menuContainer a {
+
color: #565656;
+
text-decoration:none;
+
font-weight: bold;
+
}
+
  
/* Sets the style for lists inside menuContainer  */
+
/* Class MainMenu styling */
#menuContainer ul {
+
list-style: none;
+
margin-left:0px;
+
}
+
  
/*Styles the list items to become menu buttons */
+
.mainmenu table { /* Styling of the menu table class */
#menuContainer ul li {
+
font-family: Verdana, Geneva, sans-serif;
text-align: center;
+
font-size: 16px;
display: block;
+
color: #ffffff;
width: 100%;
+
border: 0;
height:30px;
+
border-spacing: 0;
padding-top:10px;
+
text-align: center;
}
+
padding: 0;
 +
}
  
/*For the menu buttons, changes the color when hovering*/
+
.mainmenu a { /* Styling of the menu table hyperlinks */
#menuContainer li:hover {
+
font-family: Verdana, Geneva, sans-serif;
color: #FFF;
+
display:block; /* makes the table cells clickable */
background-color: #24B694;
+
/* background-color: #66cc66; Comment: setting this colours a bar across the text green */
}
+
color: #000000;
 +
}
  
/*Submenus are not displayed as default*/
+
/* Class MenuHighlight styling */
#menuContainer li ul {
+
display: none;
+
padding-top:15px;
+
margin-left: -19px;
+
}
+
  
/*Submenus are displayed when hovering the menu button */
+
.menuHighlight a { /* Styling of the menu table highlighted hyperlinks */
#menuContainer li:hover ul {
+
font-family: Verdana, Geneva, sans-serif;
/*display: inline-block; */
+
display:block; /* makes the table cells clickable */
display: block;
+
color: #ffffff; /* #ffffff is white */
position: absolute;
+
}
float:right;
+
margin-left: 134px;
+
margin-top:-42px;
+
}
+
  
/*Style the submenu buttons*/
+
/* Class honyWhite styling */
#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 */
+
.honyWhite table { /* default table formatting */
 +
font-family: Verdana, Geneva, sans-serif;
 +
color: #000000; /*black*/
 +
table-layout: fixed; /* prevents auto-resizing of column widths */
 +
border-spacing: 10px 10px;
 +
}
  
/*Clear class for all the pages, adds spacing too*/
+
.honyWhite th { /* default table header formatting */
.clear{
+
font-family: Verdana, Geneva, sans-serif;
clear:both;
+
border: 0px solid white;
height: 10px;
+
color: #000000; /*black*/
}
+
font-size: 12px;
 +
padding: 8px;
 +
}
  
 +
.honyWhite td { /* default table detail formatting */
 +
font-family: Verdana, Geneva, sans-serif;
 +
border: 0px solid white;
 +
color: #000000; /*black*/
 +
font-size: 12px;
 +
padding: 8px;
 +
vertical-align: text-top;
 +
}
  
/* highlight box for special messages */
+
.honyCol40 { /* For fixed table Column width */
    .highlightBox {
+
width: 40%;
        width:500px;
+
}
        margin:auto;
+
        background-color: #E8E8E9;
+
margin-bottom: 15px;
+
margin-top: 15px;
+
padding: 15px;
+
padding-top: 5px;
+
    }
+
  
 +
.honyWhite a { /* default table detail formatting */
 +
font-family: Verdana, Geneva, sans-serif;
 +
display:inline; /* here to keep hyperlinks inline */
 +
font-weight: bold;
 +
color: #0645ad; /*hyperlink blue*/
 +
text-decoration: underline;
 +
}
  
</style>
+
/* Class SpecialInline styling */
<!-- End of CSS -->
+
  
 +
figure.specialInline { /* Styling for figures in specialInline class */
 +
font-family: Verdana, Geneva, sans-serif;
 +
margin-top: 1em;
 +
margin-bottom: 1em;
 +
margin-left: 0px;
 +
margin-right: 0px;
 +
}
  
<!-- Start of the template html elements. -->
+
figcaption.specialInline { /* Styling for figure captions - class */
<div id ="mainContainer"><!--The closing tag for mainContainer should be placed at the bottom of each content page.-->
+
font-family: Verdana, Geneva, sans-serif;
 +
display: block; /* here to keep the caption underneath the figure */
 +
text-align: left;
 +
}
  
 +
/* WRAPPED IMAGE Class styling */
  
<div id="bannerContainer">
+
figure.wrappedImage { /* Styling for figures in hony class */
<br><br>
+
font-family: Verdana, Geneva, sans-serif;
<h2> Add a banner to your wiki! </h2>
+
font-size: 12px;
+
display: table; /* Required for text wrapping in caption */
<p>You can make the image 980px  by  200px</p>
+
width: 450px; /* This can be any width, so long as it's narrower than any image */
<p> Remember to call the file: "<i>Team_Macquarie_Australia_banner.jpg</i>" </p>
+
margin-top: 1em;
</div>
+
margin-bottom: 1em;
 +
margin-left: 0px;
 +
margin-right: 0px;
 +
}
  
<!-- Start of menu -->
+
figcaption.wrappedImage { /* Styling for figure captions - class */
<div id="menuContainer">
+
font-family: Verdana, Geneva, sans-serif;
 +
font-size: 12px;
 +
/* display: block; here to keep the caption underneath the figure */
 +
text-align: left;
 +
display: table-row; /* Required for text wrapping in caption */
 +
}
  
<!-- This list is your menu, every list item is a menu button and nested listed become submenu buttons -->
+
img.wrappedImage { /* Styling for figure captions - class */
<ul>
+
float: left;
<a href="https://2015.igem.org/Team:Macquarie_Australia"><li>HOME</li></a>
+
}
  
<a href="https://2015.igem.org/Team:Macquarie_Australia/Team"><li>TEAM</li></a>
+
/* TEXT IN COLUMNS Class styling */
  
<a href="#"><li>PROJECT
+
.divideTextTwoColumns {
            <ul>
+
/* Create multiple columns */
<a href="https://2015.igem.org/Team:Macquarie_Australia/Description"><li>Description</li></a>
+
-webkit-column-count: 2; /* Chrome, Safari, Opera */
<a href="https://2015.igem.org/Team:Macquarie_Australia/Experiments"><li>Experiments &amp; Protocols</li></a> 
+
-moz-column-count: 2; /* Firefox */
<a href="https://2015.igem.org/Team:Macquarie_Australia/Results"><li>Results</li></a> 
+
column-count: 2;
<a href="https://2015.igem.org/Team:Macquarie_Australia/Design"><li>Design</li></a>
+
/* Gap between columns */
</ul>
+
-webkit-column-gap: 40px; /* Chrome, Safari, Opera */
</li></a>
+
-moz-column-gap: 40px; /* Firefox */
 +
column-gap: 40px;
 +
/* Line between columns */
 +
-webkit-column-rule: 1px dashed #009933; /* Chrome, Safari, Opera */
 +
-moz-column-rule: 1px dashed #009933; /* Firefox */
 +
column-rule: 1px dashed #009933;
 +
font-family: Verdana, Geneva, sans-serif;
 +
font-size: 12px;
 +
}
  
<a href="#"><li>PARTS
+
/* REGULAR Class styling */
            <ul>
+
<a href="https://2015.igem.org/Team:Macquarie_Australia/Parts"><li>Team Parts</li></a>
+
<a href="https://2015.igem.org/Team:Macquarie_Australia/Basic_Part"><li>Basic Parts</li></a> 
+
<a href="https://2015.igem.org/Team:Macquarie_Australia/Composite_Part"><li>Composite Parts</li></a>
+
<a href="https://2015.igem.org/Team:Macquarie_Australia/Part_Collection"><li>Part Collection</li></a> 
+
</ul>
+
</li></a>
+
  
<a href="https://2015.igem.org/Team:Macquarie_Australia/Notebook"><li>NOTEBOOK</li></a>
+
figure.regularInline { /* Styling for figures in regularInline class */
     
+
font-family: Verdana, Geneva, sans-serif;
<a href="https://2015.igem.org/Team:Macquarie_Australia/Attributions"><li>ATTRIBUTIONS</li></a>
+
/* margin-top: 1em; removing this styling for now */
 +
/* margin-bottom: 1em; removing this styling for now */
 +
/* margin-left: 20px; Comment: adds a buffer I think */
 +
/* margin-right: 20px; Comment: adds a buffer */
 +
}
  
<a href="https://2015.igem.org/Team:Macquarie_Australia/Collaborations"><li>COLLABORATIONS</li></a>
+
figcaption.regularInline { /* Styling for figure captions - class */
 +
font-family: Verdana, Geneva, sans-serif;
 +
display: block; /* here to keep the caption underneath the figure */
 +
text-align: center;
 +
}
  
<a href="https://2015.igem.org/Team:Macquarie_Australia/Practices"><li>HUMAN PRACTICES</li></a>
+
.regularTable table { /* default table formatting */
 +
font-family: Verdana, Geneva, sans-serif;
 +
color: #000000; /*black*/
 +
table-layout: fixed; /* prevents auto-resizing of column widths */
 +
}
  
<a href="https://2015.igem.org/Team:Macquarie_Australia/Safety"><li>SAFETY</li></a>
+
.regularTable th { /* default table header formatting */
 +
font-family: Verdana, Geneva, sans-serif;
 +
border: 1px solid black;
 +
color: #000000; /*black*/
 +
font-size: 14px;
 +
}
  
<a href="https://2015.igem.org/Team:Macquarie_Australia/Modeling"><li>MODELING</li></a>
+
.regularTable td { /* default table detail formatting */
 +
font-family: Verdana, Geneva, sans-serif;
 +
border: 1px solid black;
 +
color: #000000; /*black*/
 +
font-size: 14px;
 +
padding: 4px;
 +
}
  
<a href="https://2015.igem.org/Team:Macquarie_Australia/Measurement"><li>MEASUREMENT</li></a>
+
.regularCol10 { /* For fixed table Column widths */
 +
width: 10%;
 +
}
 +
.regularCol20 { /* For fixed table Column widths */
 +
width: 20%;
 +
}
 +
.regularCol30 { /* For fixed table Column widths */
 +
width: 30%;
 +
}
 +
.regularCol40 { /* For fixed table Column widths */
 +
width: 40%;
 +
}
  
<a href="https://2015.igem.org/Team:Macquarie_Australia/Software"><li>SOFTWARE</li></a>
+
.regularHeader h1 { /* Heading1 formatting */
 +
font-family: Verdana, Geneva, sans-serif;
 +
color: #000000; /*black*/
 +
text-align: left;
 +
}
  
<a href="https://2015.igem.org/Team:Macquarie_Australia/Entrepreneurship"><li>ENTREPRENEURSHIP</li></a>
+
.regularHeader h2 { /* heading2 formatting */
 +
font-family: Verdana, Geneva, sans-serif;
 +
color: #000000; /*black*/
 +
text-align: left;
 +
}
  
</ul>
+
.regularHeader h3 { /* heading3 formatting */
</div>
+
font-family: Verdana, Geneva, sans-serif;
<!-- End of menu  -->
+
color: #000000; /*black*/
 +
text-align: left;
 +
}
  
<!-- Start of content -->
+
.regularHeader h4 { /* heading4 formatting */
<div id="contentContainer"> <!--The closing tag for contentContainer should be placed at the bottom of each content page.-->
+
font-family: Verdana, Geneva, sans-serif;
 +
color: #000000; /*black*/
 +
text-align: left;
 +
}
 +
 
 +
.regularHeader h5 { /* heading5 formatting */
 +
font-family: Verdana, Geneva, sans-serif;
 +
color: #000000; /*black*/
 +
text-align: left;
 +
}
 +
 
 +
.regularHeader h6 { /* heading6 formatting */
 +
font-family: Verdana, Geneva, sans-serif;
 +
color: #000000; /*black*/
 +
text-align: left;
 +
}
 +
 
 +
.regularParagraph p { /* paragraph formatting */
 +
font-family: Verdana, Geneva, sans-serif;
 +
color: #000000; /*black*/
 +
/* font-size: 20px; */
 +
}
 +
 
 +
.regularHyperlink a { /* hyperlink formatting */
 +
font-family: Verdana, Geneva, sans-serif;
 +
font-weight: bold;
 +
color: #0645ad; /*hyperlink blue*/
 +
text-decoration: underline;
 +
}
 +
 
 +
/* Image floating */
 +
 
 +
.floatImageRight {
 +
float: right;
 +
/* width: 120px; */
 +
margin: 0 0 0 0;
 +
padding: 4px;
 +
/* border: 1px solid black; */
 +
text-align: center;
 +
}
 +
 
 +
.floatImageLeft {
 +
float: right;
 +
/* width: 120px; */
 +
margin: 0 0 0 0;
 +
padding: 4px;
 +
/* border: 1px solid black; */
 +
text-align: center;
 +
}
 +
 
 +
.floatImageRightNoPad {
 +
float: right;
 +
/* width: 120px; */
 +
margin: 0 0 0 0;
 +
padding: 0;
 +
/* border: 1px solid black; */
 +
text-align: center;
 +
}
 +
 
 +
/* Class ContentContainer styling - this is here for standard content DEFAULTS */
 +
 
 +
.contentContainer h1 { /* Colour and font family */
 +
font-family: Verdana, Geneva, sans-serif;
 +
color: #000000; /*black*/
 +
border-bottom: none;
 +
font-weight: bold;
 +
text-align: left;
 +
/* text-transform: uppercase; */
 +
font-size: 24px;
 +
}
 +
 
 +
.contentContainer h2 { /* Colour and font family */
 +
font-family: Verdana, Geneva, sans-serif;
 +
color: #000000; /*black*/
 +
border-bottom: none;
 +
font-weight: bold;
 +
text-align: left;
 +
/* text-transform: uppercase; */
 +
font-size: 21px;
 +
}
 +
 
 +
.contentContainer h3 { /* Colour and font family */
 +
font-family: Verdana, Geneva, sans-serif;
 +
color: #000000; /*black*/
 +
border-bottom: none;
 +
font-weight: bold;
 +
text-align: left;
 +
/* text-transform: uppercase; */
 +
font-size: 19px;
 +
}
 +
 
 +
.contentContainer h4 { /* Colour and font family */
 +
font-family: Verdana, Geneva, sans-serif;
 +
color: #000000; /*black*/
 +
border-bottom: none;
 +
font-weight: bold;
 +
text-align: left;
 +
/* text-transform: uppercase; */
 +
font-size: 17px;
 +
}
 +
 
 +
.contentContainer h5 { /* Colour and font family */
 +
font-family: Verdana, Geneva, sans-serif;
 +
color: #000000; /*black*/
 +
border-bottom: none;
 +
font-weight: bold;
 +
text-align: left;
 +
/* text-transform: uppercase; */
 +
font-size: 15px;
 +
}
 +
 
 +
.contentContainer h6 { /* Colour and font family */
 +
font-family: Verdana, Geneva, sans-serif;
 +
color: #000000; /*black*/
 +
border-bottom: none;
 +
font-weight: bold;
 +
text-align: left;
 +
/* text-transform: uppercase; */
 +
font-size: 13px;
 +
}
 +
 
 +
.contentContainer a { /*Style of the links */
 +
font-family: Verdana, Geneva, sans-serif;
 +
display:inline; /* here to keep hyperlinks inline */
 +
font-weight: bold;
 +
color: #0645ad; /* hyperlink blue */
 +
text-decoration: underline;
 +
font-size: 14px;
 +
}
 +
 
 +
.contentContainer a:hover{ /* Styling links on hover */
 +
font-family: Verdana, Geneva, sans-serif;
 +
color: #66cc66; /* websafe light green */
 +
}
 +
 
 +
.contentContainer table { /* default table formatting */
 +
font-family: Verdana, Geneva, sans-serif;
 +
border-collapse: collapse;
 +
width: 100%;
 +
}
 +
 
 +
/* .contentContainer table, th { default table header formatting - 2015-09-12 TS Cannot use this!!! */
 +
/* font-family: Verdana, Geneva, sans-serif; */
 +
/* border: 1px solid black; */
 +
/* height: 20px; */
 +
/* padding: 4px; */
 +
/* text-align: center; */
 +
/* vertical-align: middle; */
 +
/* background-color:  #ffffff; white*/
 +
/* color: #000000; black*/
 +
/* } */
 +
 
 +
/* .contentContainer table, td { table detail formatting - 2015-09-10 TS Cannot use this!!! */
 +
/* font-family: Verdana, Geneva, sans-serif; */
 +
/* border: 1px solid black; */
 +
/* height: 28px; */
 +
/* padding: 15px; */
 +
/* text-align: left; */
 +
/* vertical-align: middle; */
 +
/* background-color:  #ffffff; white*/
 +
/* color: #000000; black*/
 +
/* } */
 +
 
 +
.contentContainer figcaption { /* Styling for figure captions - class */
 +
font-family: Verdana, Geneva, sans-serif;
 +
display: block; /* here to keep the caption underneath the figure */
 +
text-align: left;
 +
}
 +
 
 +
.contentContainer ul { /* unordered list styling */
 +
font-family: Verdana, Geneva, sans-serif;
 +
list-style-type: circle;
 +
font-size: 14px;
 +
}
 +
 
 +
.contentContainer ol { /* ordered list styling */
 +
font-family: Verdana, Geneva, sans-serif;
 +
list-style-type:decimal;
 +
font-size: 14px;
 +
}
 +
 
 +
.contentContainer p { /* paragraph formatting */
 +
font-family: Verdana, Geneva, sans-serif;
 +
color: #000000; /*black*/
 +
font-size: 14px;
 +
}
 +
 
 +
.contentContainer img { /* image formatting */
 +
max-width:100%;
 +
}
 +
 
 +
/* ul { unordered list styling - TS 2015-09-10 this default changes the iGEM login bar! */
 +
/* font-family: Verdana, Geneva, sans-serif; */
 +
/* list-style-type: circle; */
 +
/* } */
 +
 
 +
/* ol { ordered list styling - TS 2015-09-10 this default changes the iGEM login bar! */
 +
/* font-family: Verdana, Geneva, sans-serif; */
 +
/* list-style-type: circle; */
 +
/* } */
 +
 
 +
/* a { hyperlink formatting - TS 2015-09-10 this anchor default changes the iGEM login bar! */
 +
/* font-family: Verdana, Geneva, sans-serif; */
 +
/* display:inline; here to keep hyperlinks inline */
 +
/* } */
 +
 
 +
</style>
 
</html>
 
</html>

Latest revision as of 11:21, 19 November 2015