0
|
1 <macro name="column_layout" dot_parameter="columns">
|
|
2 <n.put_in_head.>
|
|
3 <style type="text/css">
|
|
4 #columns {
|
|
5 margin-top:1em;
|
|
6 }
|
|
7 #columns .column {
|
|
8 float: left;
|
|
9 margin:0;
|
|
10 padding:0;
|
|
11 overflow-x:hidden;
|
|
12 }
|
|
13 #columns .widget {
|
|
14 margin: 0 .5em 1em .5em;
|
|
15 }
|
|
16 </style>
|
|
17 </n.put_in_head.>
|
|
18 <div id="columns">
|
|
19 <n.columns/>
|
|
20 </div>
|
|
21 </macro>
|
|
22
|
|
23 <macro name="column" dot_parameter="contents" parameters="width">
|
|
24 <div class="column" style="[n.width_style.width/]">
|
|
25 <n.contents/>
|
|
26 </div>
|
|
27 </macro>
|
|
28
|
|
29 <macro name="widget" dot_parameter="contents" parameters="title">
|
|
30 <div class="widget">
|
|
31 <n.contents/>
|
|
32 </div>
|
|
33 </macro>
|