Template:Team:Calgary/BasicPage

From 2012.igem.org

(Difference between revisions)
Line 2: Line 2:
<!--
<!--
Currently unable to implement the CSS switching due to the stupidity of the wiki. Will work on other things instead.
Currently unable to implement the CSS switching due to the stupidity of the wiki. Will work on other things instead.
 +
 +
New header structure
-->
-->
<head>
<head>
Line 20: Line 22:
<!--desktop-->
<!--desktop-->
-
 
+
<!--
<link rel='stylesheet' type='text/css' media="only screen and (min-device-width:481px)" href='https://2012.igem.org/Team:Calgary/static/basicpagedesktop.css?action=raw&ctype=text/css' />
<link rel='stylesheet' type='text/css' media="only screen and (min-device-width:481px)" href='https://2012.igem.org/Team:Calgary/static/basicpagedesktop.css?action=raw&ctype=text/css' />
-
 
+
-->
<!--mobile-->
<!--mobile-->
-
 
+
<!--
<link rel='stylesheet' title="mobile sheet" type='text/css'
<link rel='stylesheet' title="mobile sheet" type='text/css'
media="only screen and (-webkit-min-device-pixel-ratio: 1.5),
media="only screen and (-webkit-min-device-pixel-ratio: 1.5),
Line 33: Line 35:
only screen and (max-device-width: 480px)"
only screen and (max-device-width: 480px)"
href='https://2012.igem.org/Team:Calgary/static/basicpagemobile.css?action=raw&ctype=text/css' />
href='https://2012.igem.org/Team:Calgary/static/basicpagemobile.css?action=raw&ctype=text/css' />
-
 
+
-->
<style>
<style>
Line 54: Line 56:
}
}
 +
/*======
 +
Desktop Styling
 +
======*/
 +
 +
/***Nav styling***/
 +
header{
 +
position: relative;
 +
top: -45px;
 +
}
 +
 +
#nav-wrap{
 +
height: 0px;
 +
margin-top: -45px;
 +
}
 +
 +
#nav, #nav ul{
 +
list-style: none;
 +
margin: 0;
 +
padding: 0;
 +
width: 965px;
 +
height: 100%;
 +
display: table;
 +
 +
 +
}
 +
 +
/*To be moved to JQ block*/
 +
#menu-icon{
 +
display: none;
 +
}
 +
 +
/*menu*/
 +
#nav li{
 +
height: auto;
 +
padding: 0;
 +
list-style: none;
 +
float: left;
 +
width: auto;
 +
margin: 0;
 +
background: #333333;
 +
position: relative;
 +
}
 +
#nav > li a{
 +
padding: 0 15px;
 +
}
 +
#nav > li{
 +
background: transparent;
 +
}
 +
 +
/*submenu*/
 +
#nav li ul {
 +
position: absolute;
 +
width: 200px;
 +
display: none;
 +
}
 +
#nav li:hover ul {
 +
display: block;
 +
}
 +
/*sub-submenu*/
 +
#nav li ul ul{
 +
margin-left: 230px;
 +
margin-top: -15px;
 +
}
 +
#nav li:hover ul ul{
 +
display: none;
 +
}
 +
#nav li:hover ul, #nav li li:hover ul{
 +
display: block;
 +
}
 +
#nav a{
 +
display: block;
 +
font-family: Myriad Pro, Gill Sans MT, Trebuchet MS, Arial, Sans-Serif;
 +
color: white;
 +
}
 +
#nav li a{
 +
line-height: 1.4em; /*centers the text vertically*/
 +
font-size: 2em;
 +
}
 +
#nav ul li > a{
 +
width: 200px;
 +
}
 +
/*color change after rollover*/
 +
#nav li a:hover, #nav li li a.drop:hover::after{
 +
display: block;
 +
text-decoration: none;
 +
color: #43bbff;
 +
}
 +
#nav li ul li ul{
 +
margin-top: -35px;
 +
position: absolute;
 +
}
 +
/*submenu and sub-submenu*/
 +
#nav li ul li ul li a, #nav li ul li a{
 +
font-size: 1.8em;
 +
}
 +
#nav li li a.drop:after{
 +
content: '>';
 +
padding-left: 20px;
 +
color: #BBB;
 +
display: inline;
 +
float: right;
 +
}
 +
 +
/***End nav styling***/
 +
 +
/***Headerimage***/
 +
#headerimage{
 +
width: 968px;
 +
position: relative;
 +
margin-left: 0px;
 +
margin-bottom: 10px;
 +
top: 0px;
 +
}
 +
#css-full{
 +
display: none;
 +
}
 +
#css-mobi{
 +
display: block;
 +
top: 0px;
 +
}
 +
 +
/***Logo styling***/
 +
#logo{
 +
position: relative;
 +
margin-top: -145px;
 +
right: 20px;
 +
float: right;
 +
}
 +
 +
#logo img{
 +
width: 260px;
 +
}
 +
 +
/***Body styling***/
 +
h1{
 +
font-size: 2.3em;
 +
}
 +
h2{
 +
font-size: 1.8em;
 +
}
 +
#bodycontainer p{
 +
font-size: 1.1em;
 +
}
 +
#pagetitle{
 +
border-bottom: 2px solid black;
 +
padding-bottom: 10px;
 +
padding-left: 10px;
 +
}
 +
#bodycontainer h2, #bodycontainer p{
 +
margin-left: 10px;
 +
margin-right: 10px;
 +
}
 +
 +
 +
/*Figure captions*/
 +
 +
.figurebox{
 +
max-width: 40%;
 +
float: right;
 +
}
 +
.figureimg, .figureimg img, .figurecaption{
 +
width: 100%;
 +
}
 +
.figureimg, .figurecaption{
 +
border: 2px solid #888;
 +
}
 +
.figurecaption{
 +
border-top: 0px;
 +
}
 +
.figurecaption p{
 +
padding: 5px;
 +
margin: 0 !important; /*necessary to override main page margins*/
 +
}
</style>
</style>
Line 115: Line 290:
});
});
*/
*/
 +
 +
//figure box positioning
 +
if($('.figurebox div.params p.position:contains("left")').length > 0){
 +
$(this).closest('.figurebox').css("float", "left");
 +
}
 +
});
});
Line 127: Line 308:
<header>
<header>
-
<!-- Can't use this for the time being...
+
<!--
<a id="css-full" href="#default">Full View</a>
<a id="css-full" href="#default">Full View</a>
<a id="css-mobi" href="#mobile">Mobile View</a>
<a id="css-mobi" href="#mobile">Mobile View</a>
-->
-->
-
<div id="headerimage"><img src="https://static.igem.org/mediawiki/2012/8/87/UCalgary2012_Header_Image_V3.0-Generic.png"></img></div>
+
<div id="headerimage"><img src="https://static.igem.org/mediawiki/2012/7/7c/UCalgary2012_HeaderImage_V7.2.png"></img></div>
<a id="logo" href="https://2012.igem.org/Team:Calgary"><img src="https://static.igem.org/mediawiki/2012/4/48/UCalgary2012_White_Low-Res_Official_Logo.png"></img></a>
<a id="logo" href="https://2012.igem.org/Team:Calgary"><img src="https://static.igem.org/mediawiki/2012/4/48/UCalgary2012_White_Low-Res_Official_Logo.png"></img></a>
-
<div id="nav-wrap">
+
<div id="nav-wrap">
-
<ul id="nav">
+
<ul id="nav">
-
<li><a href="https://2012.igem.org/Team:Calgary">Home</a></li>
+
<li><a href="https://2012.igem.org/Team:Calgary">Home</a></li>
-
<li><a class="drop" href="https://2012.igem.org/Team:Calgary/Team">Team</a>
+
<li><a class="drop" href="https://2012.igem.org/Team:Calgary/Team">Team</a>
-
<div class="col_1">
+
<ul>
-
<a class="dropheader" href="#">MEMBERS</a>
+
<li>
-
<a href="#">Undergraduates</a>
+
<a class="drop" href="#">Members</a>
-
<a href="#">Advisors</a>
+
<ul>
-
<a href="#">Supervisors</a>
+
<li><a href="#">Undergraduates</a></li>
-
<a class="dropheader" href="http://ung.igem.org/Team.cgi?id=902">OFFICIAL PROFILE</a>
+
<li><a href="#">Advisors</a></li>
-
<a class="dropheader" href="#">THE UNIVERSITY</a>
+
<li><a href="#">Supervisors</a></li>
-
</div>
+
</ul>
-
</li>
+
</li>
-
<li><a class="drop" href="https://2012.igem.org/Team:Calgary/Project">Project</a>
+
<li><a class="dropheader" href="http://ung.igem.org/Team.cgi?id=902">Official Profile</a></li>
-
<div class="col_2">
+
<li><a class="dropheader" href="#">The University</a></li>
-
<div class="col_l">
+
</ul>
-
<a class="dropheader" href="https://2012.igem.org/Team:Calgary/Project">OVERVIEW</a>
+
</li>
-
<a href="#">Data Page</a>
+
<li><a class="drop" href="https://2012.igem.org/Team:Calgary/Project">Project</a>
-
<a class="dropheader" href="https://2012.igem.org/Team:Calgary/Project/Biosensor">BIOSENSOR</a>
+
<ul>
-
<a href="#">Sensing NAs</a>
+
<li>
-
<a href="#">Promoter Library</a>
+
<a class="drop" href="https://2012.igem.org/Team:Calgary/Project">Overview</a>
-
<a href="#">Electrochemistry</a>
+
<ul>
-
<a class="dropheader" href="https://2012.igem.org/Team:Calgary/Project/Hydrocarbon">FUEL CONVERSION</a>
+
<li><a href="#">Data Page</a></li>
-
<a href="#">Decarboxylation</a>
+
</ul>
-
<a href="#">Desulfurization</a>
+
</li>
-
<a href="#">Denitrification</a>
+
<li>
-
<a href="#">Catechol Degradation</a>
+
<a class="drop" href="https://2012.igem.org/Team:Calgary/Project/FRED">FRED</a>
-
<a href="#">Flux Analysis</a>
+
<ul>
-
</div>
+
<li><a href="#">Sensing NAs</a></li>
-
+
<li><a href="#">Electroreporting</a></li>
-
<div class="col_r">
+
<li><a href="#">Modelling</a></li>
-
<a class="dropheader" href="https://2012.igem.org/Team:Calgary/Project/Killswitch">KILLSWITCH</a>
+
<li><a href="#">Device Prototype</a></li>
-
<a href="#">Riboswitches</a>
+
</ul>
-
<a href="#">Rhamnose Promoter</a>
+
</li>
-
<a class="dropheader" href="https://2012.igem.org/Team:Calgary/Project/Bioreactor">BIOREACTOR</a>
+
<li>
-
<a href="#">Design</a>
+
<a class="drop" href="https://2012.igem.org/Team:Calgary/Project/OSCAR">OSCAR</a>
-
<a href="#">Modelling</a>
+
<ul>
-
<a class="dropheader" href="https://2012.igem.org/Team:Calgary/Project/FutureDirections">FUTURE DIRECTIONS</a>
+
<li><a href="#">Decarboxylation</a></li>
-
<a class="dropheader" href="https://2012.igem.org/Team:Calgary/Project/Attributions">ATTRIBUTIONS</a>
+
<li><a href="#">Desulfurization</a></li>
-
</div>
+
<li><a href="#">Denitrification</a></li>
-
+
<li><a href="#">Decatecholization</a></li>
-
</div>
+
<li><a href="#">Bioreactor Design</a></li>
-
</li>
+
<li><a href="#">Flux Analysis</a></li>
-
<li><a href="https://2012.igem.org/Team:Calgary/Parts">Parts</a></li>
+
</ul>
-
<li><a class="drop" href="https://2012.igem.org/Team:Calgary/Notebook">Notebook</a>
+
</li>
-
<div class="col_1">
+
<li>
-
<a class="dropheader" href="#">JOURNAL</a>
+
<a class="drop" href="https://2012.igem.org/Team:Calgary/Project/Killswitch">Killswitch</a>
-
<a class="dropheader" href="#">SAFETY</a>
+
<ul>
-
<a class="dropheader" href="#">PROTOCOLS</a>
+
<li><a href="#">Death Genes</a></li>
-
</div>
+
<li><a href="#">Regulation</a></li>
-
</li>
+
</ul>
-
<li><a class="drop" href="https://2012.igem.org/Team:Calgary/Outreach">Outreach</a>
+
</li>
-
<div class="col_1">
+
<li><a href="https://2012.igem.org/Team:Calgary/Project/FutureDirections">Future Directions</a></li>
-
<a class="dropheader" href="#">HUMAN PRACTICES</a>
+
</ul>
-
<a href="#">Video Series</a>
+
</li>
-
<a href="#">Video Game</a>
+
<li><a href="https://2012.igem.org/Team:Calgary/Parts">Parts</a></li>
-
<a class="dropheader" href="#">FOLLOW US</a>
+
<li><a class="drop" href="https://2012.igem.org/Team:Calgary/Notebook">Notebook</a>
-
<a href="#">Twitter</a>
+
<ul>
-
<a href="#">Facebook</a>
+
<li><a href="#">Journal</a></li>
-
</div>
+
<li><a href="#">Protocols</a></li>
-
</li>
+
</ul>
-
<li><a href="https://2012.igem.org/Team:Calgary/Sponsors">Sponsors</a></li>
+
</li>
-
<li><a href="https://2012.igem.org" target="_blank">iGEM Home</a></li>
+
<li><a class="drop" href="https://2012.igem.org/Team:Calgary/Outreach">Outreach</a>
-
</ul>
+
<ul>
 +
<li><a class="drop" href="#">Killswitch Design</a>
 +
<ul>
 +
<li><a href="#">Collaboration</a></li>
 +
</ul>
 +
</li>
 +
<li><a class="drop" href="#">Engineering</a>
 +
<ul>
 +
<li><a href="#">Biosensor</a></li>
 +
<li><a href="#">Bioreactor</a></li>
 +
</ul>
 +
</li>
 +
<li>
 +
<a class="drop" href="#">Community</a>
 +
<ul>
 +
<li><a href="#">Spark Science</a></li>
 +
<li><a href="#">Minds in Motion</a></li>
 +
<li><a href="#">TEDxCalgary</a></li>
 +
<li><a href="#">Follow Us!</a></li>
 +
</ul>
 +
</li>
 +
<li><a href="https://2012.igem.org/Team:Calgary/Safety">Safety</a></li>
 +
</ul>
 +
</li>
 +
<li><a href="https://2012.igem.org/Team:Calgary/Sponsors">Sponsors</a></li>
 +
<li><a href="https://2012.igem.org" target="_blank">iGEM</a></li>
 +
</ul>
-
</div>
+
</div>
</header>
</header>
Line 205: Line 412:
<p>Hello! iGEM Calgary's wiki functions best with Javascript enabled, especially for mobile devices. We recommend that you enable Javascript on your device for the best wiki-viewing experience. Thanks!</p>
<p>Hello! iGEM Calgary's wiki functions best with Javascript enabled, especially for mobile devices. We recommend that you enable Javascript on your device for the best wiki-viewing experience. Thanks!</p>
</div>
</div>
-
<h1 id="pagetitle"></html>{{{pagetitle|Page Title}}}<html></h1>
+
<h1 id="pagetitle"></html>{{{TITLE|Page Title}}}<html></h1>
</html>
</html>
-
{{{content|<html><p>Hello! We are sorry to say that this page has yet to be created. Please check back shortly to see any new updates that we may have.</p>
+
{{{CONTENT|<html><p>Hello! We are sorry to say that this page has yet to be created. Please check back shortly to see any new updates that we may have.</p>
<h2>Under Construction!</h2>
<h2>Under Construction!</h2>

Revision as of 21:12, 5 September 2012

Hello! iGEM Calgary's wiki functions best with Javascript enabled, especially for mobile devices. We recommend that you enable Javascript on your device for the best wiki-viewing experience. Thanks!

Page Title

Hello! We are sorry to say that this page has yet to be created. Please check back shortly to see any new updates that we may have.

Under Construction!

Currently this wiki is under construction. We hope to bring the entire site running up to full speed as soon as we can. For the time being, there will be broken links and navigation issues until we iron out the kinks. We apologize for any inconvenience.