From d1ec9bf17dc42b4c1734e8a6b5b06cc62d460dc6 Mon Sep 17 00:00:00 2001 From: Dejvino Date: Sat, 3 Jun 2023 05:42:44 +0200 Subject: [PATCH] Printing styling --- src/app/globals.css | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/src/app/globals.css b/src/app/globals.css index 2b8758f..245d514 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -91,3 +91,43 @@ body { .main-container .multiline { white-space: pre-line; } + +@media print { + body { + background-color: white; + font-size: small; + } + .main-container { + padding-top: 0; + padding-bottom: 0; + } + .main-container .contacts { + margin-top: 0.2rem; + } + .contacts .contact { + margin: 0.2em; + } + .main-container .footer { + margin-top: 0.5rem; + } + .main-container .container > h2, + .main-container .container-fluid > h2 { + margin-top: 1em; + } + .main-container h3, .main-container h4 { + margin-top: 0.2em; + } + .main-container .cloud-primary .tag-badges { + font-size: 120%; + } + .main-container .cloud-standard .tag-badges { + font-size: 100%; + } + .main-container .cloud-light .tag-badges { + font-size: 110%; + } + .main-container .tag-badges > span { + margin: 0.1em; + } +} + \ No newline at end of file