diff --git a/ckanext/ozwillo_theme/fanstatic/ozwillo.css b/ckanext/ozwillo_theme/fanstatic/ozwillo.css index f0bd7b4..de6ffbe 100644 --- a/ckanext/ozwillo_theme/fanstatic/ozwillo.css +++ b/ckanext/ozwillo_theme/fanstatic/ozwillo.css @@ -43,7 +43,11 @@ div a[href^="/user/edit"], } .homepage [role="main"], body [role="main"] { -padding-top: 80px; + padding-top: 80px; +} + +body [role="main"].second { + padding-top: 40px; } .toolbar .breadcrumb > li + li:before { @@ -360,6 +364,21 @@ h1.page-heading { /* fix CKAN responsive issues */ +@media (max-width: 767px) { + body { + padding-left: 0; + padding-right: 0; + } + .toolbar .breadcrumb, .toolbar .breadcrumb a { + color: #505050; + text-shadow: 0 1px 0 #ffffff; + } + .toolbar .breadcrumb .home { + display: inline-block; + } + +} + .homepage.layout-1 .row1 .col2, .homepage.layout-1 .row2 .col2 { position: relative; } @@ -381,7 +400,7 @@ h1.page-heading { } @media (max-width: 767px) { - .row1 .col1 { + .row1 .col1, .row2 .col1 { margin-bottom: 20px; } } @@ -410,11 +429,17 @@ h1.page-heading { } } +@media (min-width: 1199px) { + .row.wrapper { + background-position: 50px top; + } +} + @media (max-width: 979px) { - aside.secondary { + /*aside.secondary { display :none; } .row.wrapper { background: #fff; - } + }*/ } \ No newline at end of file diff --git a/ckanext/ozwillo_theme/templates/home/layout1.html b/ckanext/ozwillo_theme/templates/home/layout1.html index 54e947a..17231f7 100644 --- a/ckanext/ozwillo_theme/templates/home/layout1.html +++ b/ckanext/ozwillo_theme/templates/home/layout1.html @@ -14,7 +14,7 @@ -
+
diff --git a/ckanext/ozwillo_theme/templates/page.html b/ckanext/ozwillo_theme/templates/page.html index 260f986..f06b3ea 100644 --- a/ckanext/ozwillo_theme/templates/page.html +++ b/ckanext/ozwillo_theme/templates/page.html @@ -55,7 +55,7 @@ {% endblock %} {% block primary %} -
+
{# The primary_content block can be used to add content to the page. This is the main block that is likely to be used within a template.