diff --git a/ckanext/ozwillo_theme/fanstatic/ozwillo.css b/ckanext/ozwillo_theme/fanstatic/ozwillo.css index 61e92e0..86e131d 100644 --- a/ckanext/ozwillo_theme/fanstatic/ozwillo.css +++ b/ckanext/ozwillo_theme/fanstatic/ozwillo.css @@ -311,10 +311,8 @@ body.toc-open #toggle-container, body.toc-open #off-nav { position: relative; } -@media (min-width: 992px) { - .homepage.layout-1 .row1 .col2, .homepage.layout-1 .row2 .col2 { - float: right; - } +.homepage.layout-1 .row1 .col1 { + margin-top: 30px; } @media (max-width: 830px) { @@ -324,11 +322,17 @@ body.toc-open #toggle-container, body.toc-open #off-nav { } @media (max-width: 767px) { - .module-content, .module-content:first-child, .module-content:last-child { + .row1 .col1 { margin-bottom: 20px; } } +/*@media (max-width: 767px) { + .module-content, .module-content:first-child, .module-content:last-child { + margin-bottom: 20px; + } +}*/ + @media (min-width: 980px) and (min-width: 1199px) { .primary.span12 { width: 940px; diff --git a/ckanext/ozwillo_theme/templates/home/layout1.html b/ckanext/ozwillo_theme/templates/home/layout1.html new file mode 100644 index 0000000..54e947a --- /dev/null +++ b/ckanext/ozwillo_theme/templates/home/layout1.html @@ -0,0 +1,32 @@ +
+
+
+
+ {% block search %} + {% snippet 'home/snippets/search.html' %} + {% endblock %} +
+
+ {% block promoted %} + {% snippet 'home/snippets/promoted.html' %} + {% endblock %} +
+
+
+
+
+
+
+
+ {% block featured_group %} + {% snippet 'home/snippets/featured_group.html' %} + {% endblock %} +
+
+ {% block featured_organization %} + {% snippet 'home/snippets/featured_organization.html' %} + {% endblock %} +
+
+
+
\ No newline at end of file