diff --git a/ckanext/zarr/assets/css/zarr.css b/ckanext/zarr/assets/css/zarr.css index 4ce556b..2c0413b 100644 --- a/ckanext/zarr/assets/css/zarr.css +++ b/ckanext/zarr/assets/css/zarr.css @@ -31,6 +31,21 @@ } +.homepage .hero .insights figure { + margin-top: 20px; + width: 560px; + max-width: 100%; +} + +.homepage .hero .insights figure iframe { + width: 100%; +} + +.homepage .hero .insights figcaption { + margin-left: 15px; + width: 90%; +} + .promoted-background { background-color: #13240F; } @@ -286,4 +301,4 @@ margin-top: 20px; color: var(--primary); } -/* about */ \ No newline at end of file +/* about */ diff --git a/ckanext/zarr/assets/css/zarr_palette.css b/ckanext/zarr/assets/css/zarr_palette.css index 7524bc1..86c8649 100644 --- a/ckanext/zarr/assets/css/zarr_palette.css +++ b/ckanext/zarr/assets/css/zarr_palette.css @@ -29,9 +29,6 @@ /* promoted background color */ --promoted-background-color: #13240F; /* insights */ - --show-insights-title-display: none; /* set to block to show */ - --upper-container-display: none; /* set to flex to show */ - --upper-container-display-mobile: none; /* set to block to show */ --lower-container-display: flex; /* set to flex to show */ --after-insights-min-height: 400px; /* masthead */ diff --git a/ckanext/zarr/templates/home/snippets/insights.html b/ckanext/zarr/templates/home/snippets/insights.html index 8b2f13f..876e2f8 100644 --- a/ckanext/zarr/templates/home/snippets/insights.html +++ b/ckanext/zarr/templates/home/snippets/insights.html @@ -1,7 +1,16 @@ {% ckan_extends %} -{% block bottom_container_left_label %}{{ _('Section title') }}{% endblock %} +{% block top_container_title %}{{ _('Find out more about the repository') }}{% endblock %} -{% block bottom_container_left_content_label %}{{ _('Indicators') }}{% endblock %} +{% block top_container %} +