From 21e5f9a5925f789d8f3b8ff60b07105e68512e06 Mon Sep 17 00:00:00 2001 From: Rebecca FitzSmith Date: Fri, 9 Jun 2023 11:46:25 +0100 Subject: [PATCH 01/30] print / css adjustments --- t4_media/css/core/layout.css | 7 + t4_media/css/core/pressReleasePrint.css | 10 +- t4_media/css/module/infoByte.css | 1 + .../html/Babies_Names_PDF_149288_hdr.html | 23 +--- t4_media/includes/globalFooter.html | 127 +++++++++--------- 5 files changed, 80 insertions(+), 88 deletions(-) diff --git a/t4_media/css/core/layout.css b/t4_media/css/core/layout.css index d0cffee..2dce27d 100644 --- a/t4_media/css/core/layout.css +++ b/t4_media/css/core/layout.css @@ -1191,6 +1191,13 @@ padding-bottom: 0px !important; color: #ffffff; } +.footer p a { + color: #fff; +} +.footer p a:hover { + text-decoration: none; +} + .footer h2 { margin: 20px 0px; color: #85dbda; diff --git a/t4_media/css/core/pressReleasePrint.css b/t4_media/css/core/pressReleasePrint.css index e508412..9df809e 100644 --- a/t4_media/css/core/pressReleasePrint.css +++ b/t4_media/css/core/pressReleasePrint.css @@ -29,7 +29,8 @@ #breadcrumbs, #downloadPDF, .columnRightinner-rightcol, - .footer { + .footer, + .section-button { display: none; } @@ -81,14 +82,16 @@ text-transform: none; font-size: 18px; } - + .press-key-findings h3.pub-findings-header { + color: #384350; + } .editorsNote h5, .contactDetails h5 { text-transform: none; font-size: 18px; } - . .editorsNote, + .editorsNote, .contactDetails { margin-top: 40px; } @@ -98,7 +101,6 @@ font-weight: bold; } - .row { margin-top: 0px; } diff --git a/t4_media/css/module/infoByte.css b/t4_media/css/module/infoByte.css index 3771ebe..48f31fd 100644 --- a/t4_media/css/module/infoByte.css +++ b/t4_media/css/module/infoByte.css @@ -517,6 +517,7 @@ @media print { .prices-mini-viz { max-width: auto; + page-break-inside: avoid; } } diff --git a/t4_media/html/Babies_Names_PDF_149288_hdr.html b/t4_media/html/Babies_Names_PDF_149288_hdr.html index a2959b9..13e9eed 100644 --- a/t4_media/html/Babies_Names_PDF_149288_hdr.html +++ b/t4_media/html/Babies_Names_PDF_149288_hdr.html @@ -1,24 +1,13 @@ - - - - - - - - - - Title of the document + + + + + +Title of the document - _hdr.html \ No newline at end of file diff --git a/t4_media/includes/globalFooter.html b/t4_media/includes/globalFooter.html index d6a2749..3abe7b3 100644 --- a/t4_media/includes/globalFooter.html +++ b/t4_media/includes/globalFooter.html @@ -1,74 +1,67 @@