Skip to content

Commit

Permalink
LOYALIST-72 Additional print style rules (pdf icon, footer align, etc)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtmcd75 committed Oct 30, 2024
1 parent 2041def commit ce7baff
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions custom/themes/the_loyalist_collection/src/scss/print.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
page-break-inside: avoid;
}
tr,
figure,
img {
page-break-inside: avoid;
}
Expand All @@ -34,9 +35,6 @@
h3 {
page-break-after: avoid;
}
@page {
size: a3;
}
body {
min-width: 992px !important;
}
Expand Down Expand Up @@ -68,6 +66,10 @@
}

/* Custom Print rules */
@page {
size: a4;
}

.region-nav-branding {
width: 100%;
}
Expand All @@ -80,6 +82,10 @@

main {
margin-top: 1rem;

.file--application-pdf {
-webkit-print-color-adjust: exact;
}
}

footer {
Expand All @@ -90,6 +96,13 @@
#copyright a {
color: var(--bs-black);
}
#copyright,
#footer-logo {
width: 50%;
}
#footer-logo {
text-align: right;
}
.unb-lib-logo .fill-unb {
fill: var(--bs-black);
}
Expand Down

0 comments on commit ce7baff

Please sign in to comment.