Team:Newcastle University/Template:PostItBox

From 2008.igem.org

(Difference between revisions)
 
Line 11: Line 11:
</noinclude>
</noinclude>
-
<html>
+
<html><div class="post-it </html>{{{boxtype}}}<html>"></html>
-
<style type="text/css">
+
-
<!--
+
-
 
+
-
.post-it {
+
-
position: relative;
+
-
float: left;
+
-
margin-left: 16px;
+
-
padding: 8px 12px 8px 8px;
+
-
width: 150px;
+
-
font-size:x-small;
+
-
clear:both;
+
-
        filter:alpha(opacity=85);
+
-
        -moz-opacity:0.85;
+
-
}
+
-
 
+
-
.bluebox {
+
-
background-color: #d9f0f8;
+
-
border-left: 5px solid #ade2f2;
+
-
}
+
-
 
+
-
.yellowbox {
+
-
  background-color: #f7fbd7;
+
-
  border-left: 5px solid #eef8b3;
+
-
}
+
-
 
+
-
.pinkbox {
+
-
background-color: #f0dbcc;
+
-
border-left: 5px solid #ddb99e;
+
-
}
+
-
 
+
-
.greenbox {
+
-
  background-color: #dff7d6;
+
-
  border-left: 5px solid #b8efb0;
+
-
}
+
-
 
+
-
.whitebox {
+
-
  background-color: #eeeeee;
+
-
  border-left: 5px solid #d9dddd;
+
-
}
+
-
 
+
-
.redwhitebox {
+
-
background-color:#ffffff;
+
-
border-right: 1px solid #cc0033;
+
-
border-left: 5px solid #cc0033;
+
-
border-top: 1px solid #cc0033;
+
-
border-bottom: 1px solid #cc0033;
+
-
}
+
-
 
+
-
.yellowwhitebox {
+
-
background-color:#ffffff;
+
-
border-right: 1px solid #ffff00;
+
-
border-left: 5px solid #ffff00;
+
-
border-top: 1px solid #ffff00;
+
-
border-bottom: 1px solid #ffff00;
+
-
}
+
-
 
+
-
.bluewhitebox {
+
-
background-color:#ffffff;
+
-
border-right: 1px solid #003366;
+
-
border-left: 5px solid #003366;
+
-
border-top: 1px solid #003366;
+
-
border-bottom: 1px solid #003366;
+
-
}
+
-
 
+
-
-->
+
-
</style>
+
-
 
+
-
 
+
-
<div class="post-it </html>{{{boxtype}}}<html>"></html>
+
=== {{{title}}} ===
=== {{{title}}} ===

Latest revision as of 22:46, 30 September 2008


Post-It Box Template

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


{{{title}}}

{{{detail-text}}}


{{{link}}}