From 5366ec3509230bfcc2ddf7a0c1255bdf7f6bbaf3 Mon Sep 17 00:00:00 2001 From: nono Date: Sun, 3 Jan 2021 18:09:31 +0100 Subject: [PATCH] Add print css file --- assets/css/print.css | 70 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 assets/css/print.css diff --git a/assets/css/print.css b/assets/css/print.css new file mode 100644 index 0000000..5b8f8f5 --- /dev/null +++ b/assets/css/print.css @@ -0,0 +1,70 @@ +/** + * Print stylesheet for the blogotheme theme. +* @version 1.0 +* @lastmodified 2021-01-03 +*/ + +@media print { + + body { + word-break: keep-all; + font-size: 1em; + font-family: serif; + } + + h1, h2, p, hr { + margin: 0; + padding: 0; + padding-top: 1em; + } + + .post{ + line-height: 1; + } + + .nav-bar { + max-width: none; + padding: 0; + } + + .card { + border: none; + margin: 0; + } + + #menu { + display: none; + float: left; + max-width: none; + } + + .content { + text-align: justify; + margin: 0; + max-width: none; + + } + + .side-text-padding { + padding-left: 0rem !important; + padding-right: 0rem !important; + box-sizing: border-box !important; + } + + .end-nav { + display: none; + } + + main { + padding: none; + } + + footer { + color: black; + font-size: 1em; + } + + footer::after { + content: "Printed from https://n07070.xyz" + } +}