From eced93fdef1dbfda1896df8d36c68f63ff2d51a4 Mon Sep 17 00:00:00 2001 From: derped Date: Thu, 22 Apr 2021 14:32:04 +0200 Subject: [PATCH] Update report style. --- berichtsheft/assets/css/notebook.css | 14 ++++++++++---- berichtsheft/assets/templates/report.html | 1 - 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/berichtsheft/assets/css/notebook.css b/berichtsheft/assets/css/notebook.css index 8e7af2c..ad00b92 100644 --- a/berichtsheft/assets/css/notebook.css +++ b/berichtsheft/assets/css/notebook.css @@ -56,7 +56,7 @@ hr { border: 1px solid #000000; } -.week-head { +.week-head, .week-foot { text-align: center; align-items: center; justify-content: center; @@ -71,8 +71,8 @@ hr { border: 1px solid #000000; } -.week-foot { - background-color: #f2f2f2; +.day-line div:nth-last-child(-n+2) { + text-align: center; } .week-foot div:first-child { @@ -108,11 +108,16 @@ hr { flex-grow: 1; } +.flextwenty { + flex-basis: 20%; + flex-grow: 0; + flex-shrink: 0; +} + .flexten { flex-basis: 10%; flex-grow: 0; flex-shrink: 0; - text-align: center; } .flexfive { @@ -162,6 +167,7 @@ hr { height: 29.7cm; display: grid; grid-template-rows: 2cm auto 2cm; + font-size: 0.8em; background: #ffffff; } diff --git a/berichtsheft/assets/templates/report.html b/berichtsheft/assets/templates/report.html index 3cce194..b7ed00f 100644 --- a/berichtsheft/assets/templates/report.html +++ b/berichtsheft/assets/templates/report.html @@ -2,7 +2,6 @@
-

Woche vom: