Update report style.

This commit is contained in:
Kevin Baensch 2021-04-22 14:32:04 +02:00
parent c624723582
commit eced93fdef
Signed by: derped
GPG Key ID: C0F1D326C7626543
2 changed files with 10 additions and 5 deletions

View File

@ -56,7 +56,7 @@ hr {
border: 1px solid #000000; border: 1px solid #000000;
} }
.week-head { .week-head, .week-foot {
text-align: center; text-align: center;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
@ -71,8 +71,8 @@ hr {
border: 1px solid #000000; border: 1px solid #000000;
} }
.week-foot { .day-line div:nth-last-child(-n+2) {
background-color: #f2f2f2; text-align: center;
} }
.week-foot div:first-child { .week-foot div:first-child {
@ -108,11 +108,16 @@ hr {
flex-grow: 1; flex-grow: 1;
} }
.flextwenty {
flex-basis: 20%;
flex-grow: 0;
flex-shrink: 0;
}
.flexten { .flexten {
flex-basis: 10%; flex-basis: 10%;
flex-grow: 0; flex-grow: 0;
flex-shrink: 0; flex-shrink: 0;
text-align: center;
} }
.flexfive { .flexfive {
@ -162,6 +167,7 @@ hr {
height: 29.7cm; height: 29.7cm;
display: grid; display: grid;
grid-template-rows: 2cm auto 2cm; grid-template-rows: 2cm auto 2cm;
font-size: 0.8em;
background: #ffffff; background: #ffffff;
} }

View File

@ -2,7 +2,6 @@
<div class="page report"> <div class="page report">
<div class="pg-head"> <div class="pg-head">
<img src="" class="logo"/> <img src="" class="logo"/>
<!-- <hr> -->
<div class="flex"> <div class="flex">
<p class="quarterw">Woche vom:</p> <p class="quarterw">Woche vom:</p>
<p class="quarterw date" onclick="editDate(this, ['report', 'start']);"></p> <p class="quarterw date" onclick="editDate(this, ['report', 'start']);"></p>