Team:TU Munich/Templates/Layout

From 2010.igem.org

(Difference between revisions)
 
(30 intermediate revisions not shown)
Line 6: Line 6:
<script type="text/javascript">
<script type="text/javascript">
$(document).ready(function(){
$(document).ready(function(){
 +
//Hide (Collapse) the toggle containers on load
//Hide (Collapse) the toggle containers on load
$(".toggle_container").hide();  
$(".toggle_container").hide();  
Line 38: Line 39:
if(nextParent.is(".toggle_container")) {
if(nextParent.is(".toggle_container")) {
nextParent.slideToggle("slow");
nextParent.slideToggle("slow");
-
}
+
-
+
-
+
-
var prevElem = $(this).prev();
+
var prevElem = nextParent.prev();
-
while(prevElem!= null) {
+
while(prevElem!= null) {
-
if(!prevElem.is("p.trigger")) {
+
if(!prevElem.is("p.trigger")) {
-
prevElem = prevElem.prev();
+
prevElem = prevElem.prev();
 +
}
 +
else {
 +
break;
 +
}
}
}
-
else {
+
if(prevElem.is("p.trigger")) {
-
break;
+
prevElem.toggleClass("activeToggle");
}
}
}
}
-
if(prevElem.is("p.trigger")) {
+
-
prevElem.toggleClass("activeToggle");
+
-
}
+
Line 100: Line 104:
{
{
text-align: justify;
text-align: justify;
 +
}
 +
.bordertable td
 +
{
 +
border-color: black;
 +
margin: 0;
 +
border-width: 0 0 1px 1px;
 +
border-style: solid;
 +
background-color: #FFFFFF;
 +
 +
}
 +
.bordertable th
 +
{
 +
border-color: black;
 +
margin: 0;
 +
border-width: 0 0 1px 1px;
 +
border-style: solid;
 +
background-color: #D8D5D0;
 +
}
 +
.bordertable
 +
{
 +
border-spacing: 0px;
 +
border-width: 2px 2px 1px 1px;
 +
border-style: solid;
 +
border-color: black;
}
}
table
table
Line 105: Line 133:
background: none;
background: none;
}
}
-
.wiki_div, .wiki_div td, .wiki_div dd, .wiki_div ul
+
.wiki_div
{
{
text-align: justify;
text-align: justify;
Line 127: Line 155:
h2
h2
{
{
-
font-size: 110%
+
font-size: 115%
}
}
h3
h3
{
{
-
font-size: 100%
+
font-size: 110%
}
}
-
h4, h5, h6
+
h4
{
{
font-size: 100%
font-size: 100%
-
font-weight: normal;
+
}
-
font-style: italic;
+
h5
 +
{
 +
font-size: 95%
}
}
a
a
Line 267: Line 297:
border: 0;
border: 0;
margin: 3px;
margin: 3px;
 +
text-align: justify;
 +
}
 +
div.thumbinner div.thumbcaption
 +
{
 +
text-align: justify;
}
}
Line 278: Line 313:
-
.toclevel-1
+
#toctable .toclevel-1
 +
{
 +
float: left;
 +
list-style-type: none;
 +
margin-left: 0px;
 +
margin-right: 20px;
 +
}
 +
.wiki_div .toclevel-1
{
{
float: left;
float: left;
Line 284: Line 326:
margin-left: 0px;
margin-left: 0px;
margin-right: 20px;
margin-right: 20px;
 +
width: 30%;
}
}
#toctitle
#toctitle

Latest revision as of 17:13, 27 October 2010