From c94b48fb7cbbd7521471b934b1e5dd6983627cda Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 19 Nov 2021 09:33:46 +0100 Subject: Added print style --- assets/css/components/_card-list.scss | 4 ++++ assets/css/components/_card.scss | 4 ++++ assets/css/components/_footer.scss | 4 ++++ assets/css/components/_header.scss | 4 ++++ 4 files changed, 16 insertions(+) (limited to 'assets/css/components') diff --git a/assets/css/components/_card-list.scss b/assets/css/components/_card-list.scss index 7455193..24a04b2 100644 --- a/assets/css/components/_card-list.scss +++ b/assets/css/components/_card-list.scss @@ -60,6 +60,10 @@ } } } + + @media print { + filter: none; + } } @include element('card') { diff --git a/assets/css/components/_card.scss b/assets/css/components/_card.scss index a6a4c98..9a2455b 100644 --- a/assets/css/components/_card.scss +++ b/assets/css/components/_card.scss @@ -128,5 +128,9 @@ } } } + + @media print { + border: 2px solid currentColor; + } } } diff --git a/assets/css/components/_footer.scss b/assets/css/components/_footer.scss index 7106be2..6b483ca 100644 --- a/assets/css/components/_footer.scss +++ b/assets/css/components/_footer.scss @@ -31,5 +31,9 @@ overflow: visible; transform: translateX(-50%); } + + @media print { + display: none; + } } } diff --git a/assets/css/components/_header.scss b/assets/css/components/_header.scss index 1470bea..15fa5a1 100644 --- a/assets/css/components/_header.scss +++ b/assets/css/components/_header.scss @@ -76,5 +76,9 @@ top: 2px; margin-bottom: calc(-.75 * #{prop(--dims --height)}); } + + @media print { + display: none; + } } } -- cgit v1.2.3-70-g09d2