Team:Newcastle University/Template:BlankBox

From 2008.igem.org

(Difference between revisions)
Line 10: Line 10:
</noinclude>
</noinclude>
-
<html>
+
<div class="blank-box </html>{{{boxtype}}}<html>">
-
<style type="text/css">
+
-
<!--
+
-
 
+
-
.blank-box {
+
-
 
+
-
}
+
-
 
+
-
.bluebox {
+
-
background-color: #d9f0f8;
+
-
border-right: 12px solid #ade2f2;
+
-
}
+
-
 
+
-
.yellowbox {
+
-
  background-color: #f7fbd7;
+
-
  border-right: 12px solid #eef8b3;
+
-
}
+
-
 
+
-
.pinkbox {
+
-
background-color: #f0dbcc;
+
-
border-right: 12px solid #ddb99e;
+
-
}
+
-
 
+
-
.greenbox {
+
-
  background-color: #dff7d6;
+
-
  border-right: 12px solid #b8efb0;
+
-
}
+
-
 
+
-
.whitebox {
+
-
  background-color: #eeeeee;
+
-
  border-right: 12px solid #d9dddd;
+
-
}
+
-
 
+
-
.redwhitebox {
+
-
background-color:#ffffff;
+
-
border-right: 12px solid #cc0033;
+
-
border-left: 1px solid #cc0033;
+
-
border-top: 1px solid #cc0033;
+
-
border-bottom: 1px solid #cc0033;
+
-
}
+
-
 
+
-
.yellowwhitebox {
+
-
background-color:#ffffff;
+
-
border-right: 12px solid #ffff00;
+
-
border-left: 1px solid #ffff00;
+
-
border-top: 1px solid #ffff00;
+
-
border-bottom: 1px solid #ffff00;
+
-
}
+
-
 
+
-
.bluewhitebox {
+
-
background-color:#ffffff;
+
-
border-right: 12px solid #003366;
+
-
border-left: 1px solid #003366;
+
-
border-top: 1px solid #003366;
+
-
border-bottom: 1px solid #003366;
+
-
}
+
-
 
+
-
.greenwhitebox {
+
-
  background-color: #ffffff;
+
-
  border-right: 12px solid #b8efb0;
+
-
border-left: 1px solid #b8efb0;
+
-
border-top: 1px solid #b8efb0;
+
-
border-bottom: 1px solid #b8efb0;
+
-
}
+
-
 
+
-
 
+
-
.contentbox {
+
-
    margin:1em;
+
-
}
+
-
 
+
-
-->
+
-
</style>
+
-
 
+
-
 
+
-
<div class="blank-box </html>{{{boxtype}}}<html>">
+
<div class="contentbox">
<div class="contentbox">
</html>
</html>
Line 92: Line 18:
{{{detail-text}}}
{{{detail-text}}}
-
<html>
 
</div>
</div>
</div>
</div>

Revision as of 22:50, 30 September 2008


Blank Box Template

{{:Team:Newcastle University/Template:BlankBox
|boxtype= bluebox, yellowbox, greenbox, pinkbox, whitebox, or blackbox (transparent)
|title=title
|detail-text=more detail}}


<div class="blank-box </html>{{{boxtype}}}">

{{{title}}}

{{{detail-text}}}

</div> </div>