Template:Team:Calgary/Main

From 2014.igem.org

(Difference between revisions)
Line 76: Line 76:
<div class="Lvl2NavBox" id="Lvl2Nav1">
<div class="Lvl2NavBox" id="Lvl2Nav1">
<ul class="Lvl2Nav">
<ul class="Lvl2Nav">
-
<li class="Lvl2Link">B.s. Detector<ul class="Lvl3Nav">
+
<li class="Lvl2Link"><a href="#">B.s. Detector</a><ul class="Lvl3Nav">
-
<li class="Lvl3Nav">Target Diseases</li>
+
<li class="Lvl3Nav"><a href="#">Target Diseases</a></li>
-
<li class="Lvl3Nav">Sample Preperation</li>
+
<li class="Lvl3Nav"><a href="#">Sample Preparation</a></li>
-
<li class="Lvl3Nav">in vivo Detection</li>
+
<li class="Lvl3Nav"><a href="#">in vivo Detection</a></li>
-
<li class="Lvl3Nav">Modelling & Optimization</li>
+
<li class="Lvl3Nav"><a href="#">Modelling & Optimization</a></li>
-
<li class="Lvl3Nav">Device Prototype</li>
+
<li class="Lvl3Nav"><a href="#">Device Prototype</a></li>
-
<li class="Lvl3Nav">Platform</li>
+
<li class="Lvl3Nav"><a href="#">Platform</a></li>
</ul>
</ul>
</li>
</li>
-
<li class="Lvl2Link">Collaboration</li>
+
<li class="Lvl2Link"><a href="#">Collaboration</a></li>
-
<li class="Lvl2Link">Data Page</li>
+
<li class="Lvl2Link"><a href="#">Data Page</a></li>
-
<li class="Lvl2Link">Achievements</li>
+
<li class="Lvl2Link"><a href="#">Achievements</a></li>
-
<li class="Lvl2Link">Final System</li>
+
<li class="Lvl2Link"><a href="#">Final System</a></li>
</ul>
</ul>
</div>
</div>
Line 95: Line 95:
<div class="Lvl2NavBox" id="Lvl2Nav2">
<div class="Lvl2NavBox" id="Lvl2Nav2">
<ul class="Lvl2Nav">
<ul class="Lvl2Nav">
-
<li class="Lvl2Link">Team Members</li>
+
<li class="Lvl2Link"><a href="#">Team Members</a></li>
-
<li class="Lvl2Link">Official Profile</li>
+
<li class="Lvl2Link"><a href="#">Official Profile</a></li>
-
<li class="Lvl2Link">About the University</li>
+
<li class="Lvl2Link"><a href="#">About the University</a></li>
-
<li class="Lvl2Link">Contact Us</li>
+
<li class="Lvl2Link"><a href="#">Contact Us</a></li>
-
<li class="Lvl2Link">Attributions</li>
+
<li class="Lvl2Link"><a href="#">Attributions</a></li>
-
<li class="Lvl2Link">Sponsors</li>
+
<li class="Lvl2Link"><a href="#">Sponsors</a></li>
</ul>
</ul>
</div>
</div>
Line 107: Line 107:
<div class="Lvl2NavBox" id="Lvl2Nav3">
<div class="Lvl2NavBox" id="Lvl2Nav3">
<ul class="Lvl2Nav">
<ul class="Lvl2Nav">
-
<li class="Lvl2Link">Journal<ul class="Lvl3Nav">
+
<li class="Lvl2Link"><a href="#">Journal</a><ul class="Lvl3Nav">
-
<li class="Lvl3Nav">Detectives</li>
+
<li class="Lvl3Nav"><a href="#">Detectives</a></li>
-
<li class="Lvl3Nav">Transformers</li>
+
<li class="Lvl3Nav"><a href="#">Transformers</a></li>
-
<li class="Lvl3Nav">Engineers</li>
+
<li class="Lvl3Nav"><a href="#">Engineers</a></li>
-
<li class="Lvl3Nav">Modelling</li>
+
<li class="Lvl3Nav"><a href="#">Modelling</a></li>
-
<li class="Lvl3Nav">Policy & Practices</li>
+
<li class="Lvl3Nav"><a href="#">Policy & Practices</a></li>
</ul>
</ul>
</li>
</li>
-
<li class="Lvl2Link">Protocol Manual<ul class="Lvl3Nav">
+
<li class="Lvl2Link"><a href="#">Protocol Manual</a><ul class="Lvl3Nav">
-
<li class="Lvl3Nav">General</li>
+
<li class="Lvl3Nav"><a href="#">General</a></li>
-
<li class="Lvl3Nav">DNA</li>
+
<li class="Lvl3Nav"><a href="#">DNA</a></li>
-
<li class="Lvl3Nav">B. subtilis</li>
+
<li class="Lvl3Nav"><a href="#">B. subtilis</a></li>
-
<li class="Lvl3Nav">Sample Preparation</li>
+
<li class="Lvl3Nav"><a href="#">Sample Preparation</a></li>
</ul>
</ul>
</li>
</li>
-
<li class="Lvl2Link">Parts</li>
+
<li class="Lvl2Link"><a href="#">Parts</a></li>
-
<li class="Lvl2Link">References</li>
+
<li class="Lvl2Link"><a href="#">References</a></li>
</ul>
</ul>
</div>
</div>
Line 130: Line 130:
<div class="Lvl2NavBox" id="Lvl2Nav4">
<div class="Lvl2NavBox" id="Lvl2Nav4">
<ul class="Lvl2Nav">
<ul class="Lvl2Nav">
-
<li class="Lvl2Link">Diagnostic Landscape<ul class="Lvl3Nav">
+
<li class="Lvl2Link"><a href="#">Diagnostic Landscape</a><ul class="Lvl3Nav">
-
<li class="Lvl3Nav">Implementation</li>
+
<li class="Lvl3Nav"><a href="#">Implementation</a></li>
-
<li class="Lvl3Nav">Informed Design</li>
+
<li class="Lvl3Nav"><a href="#">Informed Design</a></li>
</ul>
</ul>
</li>
</li>
-
<li class="Lvl2Link">Safety</li>
+
<li class="Lvl2Link"><a href="#">Safety</a></li>
</ul>
</ul>
</div>
</div>
Line 142: Line 142:
<div class="Lvl2NavBox" id="Lvl2Nav5">
<div class="Lvl2NavBox" id="Lvl2Nav5">
<ul class="Lvl2Nav">
<ul class="Lvl2Nav">
-
<li class="Lvl3Nav">iGEM Home</li>
+
<li class="Lvl3Nav"><a href="https://2014.igem.org">iGEM Home</a></li>
-
<li class="Lvl3Nav">Calgary 2013</li>
+
<li class="Lvl3Nav"><a href="https://2013.igem.org/Team:Calgary">Calgary 2013</a></li>
-
<li class="Lvl3Nav">Calgary 2012</li>
+
<li class="Lvl3Nav"><a href="https://2012.igem.org/Team:Calgary">Calgary 2012</a></li>
-
<li class="Lvl3Nav">Calgary 2011</li>
+
<li class="Lvl3Nav"><a href="https://2011.igem.org/Team:Calgary">Calgary 2011</a></li>
</ul>
</ul>
</div>
</div>

Revision as of 05:50, 28 August 2014

/*** Name: Wm. Keith van der Meulen Date: Summer 2013 Organization: University of Calgary iGEM Team 2013

---Purpose--- CSS code to perform a browser reset for the iGEM Wiki. Removes most header elements (Except necessary links; e.g. login) and sets all pre-defined styles to a minimal, text editor-esque style. Other CSS style sheets should be added to customise web page.


Cite: Wm. Keith van der Meulen University of Calgary iGEM 2013 https://2013.igem.org/Team:Calgary/StyleSheets/Reset?action=raw&ctype=text/css

      • /

/* Header Removal - Removes header (except important links; e.g. login) and sets wiki to as blank as possible.

Code adapted from sections of Calgary 2012: https://2012.igem.org/Team:Calgary/static/basicpageglobal.css

  • /
  1. top-section{

height: 25px; margin-bottom: 0; border: none; background: #737373; width: 100%; position: fixed; top: 0; z-index: 10; }

  1. header {

width: 975px; text-align: left; margin-left: auto; margin-right: auto; margin-bottom: 0; }

  1. p-logo {

display: none; }

  1. search-controls {

overflow:hidden; display:none; background: none; position: absolute; top: 170px; right: 40px; }

  1. searchform {
   display: none;

}

.left-menu, .right-menu{ position: absolute; background: none; color: black; margin-top: 4px; }

.left-menu a, .left-menu li {

   color: #000000;

}

.left-menu ul:hover a { color: #000000; }

.left-menu ul li, .right-menu ul li a { background: none; color: #000000; }

.left-menu li a:hover, .right-menu li a:hover, .left-menu li:hover, .right-menu li:hover {

   color: #000000;

}

  1. top-section div#menubar.left-menu ul li:nth-child(7) {

display: none; }

.left-menu ul:hover, .right-menu ul:hover { background: #737373; color: #000000; }

  1. content{

margin-top: -13px; padding: 0; border: 0; }

.firstHeading { visibility:hidden; display:none; }

  1. catlinks{

display:none; }

  1. menubar ul:hover {

color: transparent; } /*important for background colours*/ .mediawiki{ background: #ffffff; }

  1. footer-box {

display: none; } /*End minimal header*/

/* reset browser styles */ html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp,small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 16px; vertical-align: baseline; }

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }

body { line-height: 1.2; }

table { border-collapse: collapse; border-spacing: 0; }

ol { padding-left: 1.4em; list-style: decimal; }

ul { padding-left: 1.4em; list-style: square; }

blockquote, q { quotes: none; }

blockquote:before, blockquote:after, q:before, q:after { content: ; content: none; }

  • {

box-sizing: border-box; -moz-box-sizing: border-box; } /* end reset browser styles */