Template:Team:Calgary/BasicPage

From 2012.igem.org

(Difference between revisions)
 
(14 intermediate revisions not shown)
Line 1: Line 1:
-
/*======
+
<html>
-
Desktop Styling
+
-
======*/
+
-
/***Nav styling***/
+
<head>
-
header{
+
</head>
-
position: relative;
+
-
top: -45px;
+
-
}
+
-
#nav-wrap{
+
<body id="</html>{{{1}}}<html>">
-
height: 0px;
+
-
margin-top: -45px;
+
-
}
+
-
#nav, #nav ul{
+
<div id="sidebar">
-
list-style: none;
+
-
margin: 0;
+
-
padding: 0;
+
-
width: 965px;
+
-
height: 100%;
+
-
display: table;
+
-
+
<div id="list">
-
}
+
<h2></html>{{{SECTION|Wiki Section}}}<html></h2>
-
+
</html>
-
/*To be moved to JQ block*/
+
{{{SIDELIST|<html>
-
#menu-icon{
+
<ul>
-
display: none;
+
<li><a href="#">Link 1</a></li>
-
}
+
<li><a href="#">Link 2</a></li>
 +
<li><a href="#">Link 3</a></li>
 +
<li><a href="#">Link 4</a></li>
 +
<li><a href="#">Link 5</a></li>
 +
<li><a href="#">Link 6</a>
 +
<ul>
 +
<li><a href="#">Sublink 1</a></li>
 +
<li><a href="#">Sublink 2</a></li>
 +
</ul></li>
 +
<li><a href="#">Link 7</a></li>
-
/*menu*/
+
</ul></html>
-
#nav li{
+
}}}
-
height: auto;
+
<html>
-
padding: 0;
+
</div>
-
list-style: none;
+
<!--
-
float: left;
+
<div id="sidebarimg">
-
width: auto;
+
</div>
-
margin: 0;
+
-->
-
background: #333333;
+
</div>
-
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***/
+
<div id="bodycontainer">
-
 
+
<div id="jsnotice">
-
/***Headerimage***/
+
<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>
-
#headerimage{
+
</div>
-
width: 968px;
+
<h1 id="pagetitle"></html>{{{TITLE|Page Title}}}<html></h1>
-
position: relative;
+
</html>
-
margin-left: 0px;
+
{{{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>
-
margin-bottom: 10px;
+
-
top: 0px;
+
-
}
+
-
#css-full{
+
-
display: none;
+
-
}
+
-
#css-mobi{
+
-
display: block;
+
-
top: 0px;
+
-
}
+
-
 
+
-
/***Logo styling***/
+
-
#logo{
+
-
position: relative;
+
-
top: -145px;
+
-
right: 20px;
+
-
float: right;
+
-
}
+
-
 
+
-
#logo img{
+
-
width: 260px;
+
-
}
+
-
/***Body styling***/
+
<h2>Under Construction!</h2>
-
h1{
+
<p>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.</p></html>}}}
-
font-size: 2.3em;
+
<html>
-
}
+
</div>
-
h2{
+
-
font-size: 1.8em;
+
-
}
+
-
#bodycontainer p{
+
-
font-size: 1.1em;
+
-
}
+
-
#pagetitle{
+
-
border-bottom: 2px solid black;
+
-
padding-bottom: 10px;
+
-
padding-left: 10px;
+
-
}
+
-
#bodycontainer{
+
-
position: relative;
+
-
top: 0;
+
-
}
+
-
#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*/
+
-
}
+
-
 
+
-
/* thumbnails */
+
</body>
-
div.thumb {
+
</html>
-
    margin-bottom: .5em;
+
-
    border-style: solid;
+
-
    border-color: transparent;
+
-
    width: auto;
+
-
}
+
-
div.thumb div {
+
-
    border: 1px solid #ccc;
+
-
    padding: 3px !important;
+
-
    font-size: 94%;
+
-
    text-align: center;
+
-
    overflow: hidden;
+
-
}
+
-
div.thumb div a img {
+
-
    border: 1px solid #ccc;
+
-
}
+
-
div.thumb div div.thumbcaption {
+
-
    border: none;
+
-
    text-align: left;
+
-
    line-height: 1.4em;
+
-
    padding: .3em 0 .1em 0;
+
-
}
+
-
div.magnify {
+
-
    float: right;
+
-
    border: none !important;
+
-
    background: none !important;
+
-
}
+
-
div.magnify a, div.magnify img {
+
-
    display: block;
+
-
    border: none !important;
+
-
    background: none !important;
+
-
}
+
-
div.tright {
+
-
    clear: right;
+
-
    float: right;
+
-
    border-width: .5em 0 .8em 1.4em;
+
-
}
+
-
div.tleft {
+
-
    float: left;
+
-
    margin-right: .5em;
+
-
    border-width: .5em 1.4em .8em 0;
+
-
}
+

Latest revision as of 21:59, 29 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.