Team:Newcastle University/Template:PostItBox

From 2008.igem.org

(Difference between revisions)
(New page: <noinclude> == Post-It Box Template == <pre> {{:Team:Newcastle University/Template:PostItBox |boxtype= bluebox, yellowbox, greenbox, pinkbox, whitebox, or blackbox (transparent) title=tit...)
 
(7 intermediate revisions not shown)
Line 5: Line 5:
{{:Team:Newcastle University/Template:PostItBox
{{:Team:Newcastle University/Template:PostItBox
|boxtype= bluebox, yellowbox, greenbox, pinkbox, whitebox, or blackbox (transparent)
|boxtype= bluebox, yellowbox, greenbox, pinkbox, whitebox, or blackbox (transparent)
-
title=title
+
|title=title
-
detail-text=more detail
+
|detail-text=more detail
-
link=linkmoreinfo }
+
|link=linkmoreinfo }}
</pre>
</pre>
</noinclude>
</noinclude>
-
<html>
+
<html><div class="post-it </html>{{{boxtype}}}<html>"></html>
-
<style type="text/css">
+
-
<!--
+
-
.post-it {
+
=== {{{title}}} ===
-
position: relative;
+
-
        top: 10px;
+
-
float: left;
+
-
margin-right: 16px;
+
-
margin-bottom: 10px;
+
-
padding: 12px 8px 8px 8px;
+
-
width: 236px;
+
-
font-size: .9em;
+
-
line-height: 1.3em;
+
-
text-align: justify;
+
-
clear:both;
+
-
        filter:alpha(opacity=85);
+
-
        -moz-opacity:0.85;
+
-
}
+
-
.calbox {
+
{{{detail-text}}}
-
width: 286px;
+
-
padding: 12px 0px 0px 8px;
+
-
        filter:alpha(opacity=65);
+
-
        -moz-opacity:0.65;
+
-
}
+
-
.bluebox {
 
-
background-color: #d9f0f8;
 
-
border-right: 12px solid #ade2f2;
 
-
}
 
-
.yellowbox {
+
{{{link}}}
-
  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;
+
-
}
+
-
 
+
-
-->
+
-
</style>
+
-
 
+
-
 
+
-
<div class="post-it </html>{{{boxtype}}}<html>"></html>
+
-
 
+
-
=== {{{title}}} ===
+
-
 
+
-
{{{detail-text}}}
+
<html>
<html>
-
<a style="float:right;" href="</html>{{{link}}}<html>">More...</a>
+
</div>
-
</div>
+

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}}}