Skip to content

Commit

Permalink
Merge pull request #3753 from ONSdigital/feature-site-example-of-bann…
Browse files Browse the repository at this point in the history
…er-revamp

Override dev-disclaimer to hardcode the banner
  • Loading branch information
Govej authored Dec 8, 2023
2 parents 7ffba97 + 4041291 commit d15b15a
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
18 changes: 18 additions & 0 deletions _includes/components/dev-disclaimer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{% unless site.disclaimer.hidden %}
<div class="container">
<div class="disclaimer-alert">
<p><strong class="phase-tag">{{ site.disclaimer.phase | default: page.t.header.alpha | t }}</strong>
Your feedback will help us continue to improve the site. Complete the short survey to share your thoughts.
{% include components/dev-disclaimer-custom.html %}
</p>
<p>
<strong>
Since September 2023 we have <a href="https://www.ons.gov.uk/aboutus/whatwedo/statistics/changestoourpublicationsandactivities">paused</a>
the uploading of data reported on this site. However, the hyperlinks for the indicator data sources could be used to see where the data is
published and whether newer data will become available in future. You can also find up to date SDG data on the
<a href="https://unstats.un.org/sdgs/dataportal/">UN SDG website</a> which reports globally comparable data.
</strong>
</p>
</div>
</div>
{% endunless %}
6 changes: 3 additions & 3 deletions _sass/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
.btn-takepart {
background: #DD1367 !important;
float: right;
margin-top: -105px;
margin-top: -10px;
margin-right: -9px;
box-shadow: 0 2px 0 #580829;
@media only screen and (min-width: 992px) {
Expand All @@ -113,13 +113,13 @@
display: block;
width: 220px;
float: unset;
margin-top: -105px;
margin-top: 0px;
}
@media only screen and (min-width: 1px) and (max-width: 767px) {
display: block;
width: 220px;
float: unset;
margin-top: -105px;
margin-top: 10px;
}
&:hover, &:active {
background: #A01951 !important;
Expand Down

0 comments on commit d15b15a

Please sign in to comment.