diff --git a/www/docs/images/person-sitting-in-light.jpg b/www/docs/images/person-sitting-in-light.jpg deleted file mode 100644 index a08cdd04f6..0000000000 Binary files a/www/docs/images/person-sitting-in-light.jpg and /dev/null differ diff --git a/www/docs/images/pmqs-flickr-53754559691-by-nc-nd.jpg b/www/docs/images/pmqs-flickr-53754559691-by-nc-nd.jpg new file mode 100644 index 0000000000..842a7ec66d Binary files /dev/null and b/www/docs/images/pmqs-flickr-53754559691-by-nc-nd.jpg differ diff --git a/www/docs/style/sass/pages/_alert.scss b/www/docs/style/sass/pages/_alert.scss index 3b8ef2db7f..23aeab8d98 100644 --- a/www/docs/style/sass/pages/_alert.scss +++ b/www/docs/style/sass/pages/_alert.scss @@ -1,9 +1,10 @@ .alerts-header { + position: relative; text-align: center; padding: 1em 0; color: #000; // improve contrast against light background image - background-image: url(/images/person-sitting-in-light.jpg); + background-image: url(/images/pmqs-flickr-53754559691-by-nc-nd.jpg); background-size: cover; background-repeat: no-repeat; background-position: 50% 70%; @@ -49,6 +50,20 @@ p.lead { line-height: 1.4em; // down from default 1.6em } + + .image-attribution { + position: absolute; + bottom: 1em; + right: 1em; + font-size: 0.625em; + margin: 0; + opacity: 0.5; + line-height: 1.2em; + + a { + color: inherit; + } + } } // An extra big header, designed for pages where all @@ -89,7 +104,7 @@ } input[type="text"] { - border: #999; + border-color: #999; margin: 0; height: auto; // allow input to be sized by content's default height font-size: 1.4em; diff --git a/www/includes/easyparliament/templates/html/alert/postcode.php b/www/includes/easyparliament/templates/html/alert/postcode.php index edd2fa56d0..28e34541e1 100644 --- a/www/includes/easyparliament/templates/html/alert/postcode.php +++ b/www/includes/easyparliament/templates/html/alert/postcode.php @@ -81,4 +81,5 @@ +

Image © House of Commons