'path': 'cms/pages/onecol.html',
'regions': (
('main', 'Main region'),
+ ('bottom', 'Bottom region'),
),
},
{
box-sizing: border-box;
*behavior: url(boxsizing.htc);
}
+.clearme {
+ zoom: 1;
+}
+.clearme:before, .clearme:after {
+ display: table;
+ content: "";
+ zoom: 1;
+}
+.clearme:after {
+ clear: both;
+}
body {
font-family: 'Antic', sans-serif;
font-size: 14px;
p a,
form a,
.section a,
-.styledlinks a {
+.styledlinks a,
+a.styled {
color: #000000;
text-decoration: none;
border-bottom: 1px solid #f89a1c;
p a:hover,
form a:hover,
.section a:hover,
-.styledlinks a:hover {
+.styledlinks a:hover,
+a.styled:hover {
color: #f89a1c;
}
section a.noborder,
p a.noborder,
form a.noborder,
.section a.noborder,
-.styledlinks a.noborder {
+.styledlinks a.noborder,
+a.styled.noborder {
border: none;
}
section a em,
p a em,
form a em,
.section a em,
-.styledlinks a em {
+.styledlinks a em,
+a.styled em {
color: #3582ac;
}
a.simple {
position: relative;
}
.maincol {
+ position: relative;
display: inline;
float: left;
margin-left: 22px;
.maincol.full:after {
clear: both;
}
+.maincol .nextlink {
+ margin-top: 60px;
+ text-align: right;
+ float: right;
+ margin-right: 50px;
+ font-size: 1.1em;
+}
+.maincol .content-bottom {
+ position: relative;
+ zoom: 1;
+}
+.maincol .content-bottom:before, .maincol .content-bottom:after {
+ display: table;
+ content: "";
+ zoom: 1;
+}
+.maincol .content-bottom:after {
+ clear: both;
+}
.appbar {
height: 30px;
background-color: #3582ac;
*behavior: url(boxsizing.htc);
}
+.clearme { .clearfix() }
+
@gradCol: #ddd;
body {
#font.main();
}
// default link styles
-section a, p a, form a, .section a, .styledlinks a {
+section a, p a, form a, .section a, .styledlinks a, a.styled {
color: @black;
text-decoration: none;
border-bottom: 1px solid @linkColor;
// columnlayout
.maincol {
+ position: relative;
.makeColumn(5);
&.wide {
margin-left: 0;
.makeColumn(10);
}
+
+ .nextlink {
+ margin-top: 60px;
+ text-align: right;
+ float: right;
+ margin-right: 50px;
+ font-size: 1.1em;
+ }
+
+ .content-bottom { position: relative; .clearfix(); }
}
.appbar {
'feincms': '',
'django.contrib.admin': ('media', 'admin_media'),
}
+
cloudcms_context_processors = [
'cloudcms.context_processors.application',
'synnefo.lib.context_processors.cloudbar'
{% block page.body %}
<div class="maincol full">
- {% for content in feincms_page.content.main %}
- {{ content.render }}
- {% endfor %}
+ <div class="clearme">
+ {% block page.maincol.content %}
+ {% for content in feincms_page.content.main %}
+ {{ content.render }}
+ {% endfor %}
+ {% endblock %}
+ </div>
+ <div class="content-bottom">
+ {% block page.bottom.content %}
+ {% for content in feincms_page.content.bottom %}
+ {{ content.render }}
+ {% endfor %}
+ {% endblock %}
+ </div>
</div>
{% endblock %}