From d4b00ccde2789263a971c6c9dd490f6eb0e2cb69 Mon Sep 17 00:00:00 2001 From: kobold-ai Date: Fri, 16 Oct 2026 20:45:17 +0200 Subject: [PATCH] Add mealplan & shuffle tiles to home, restore print cover background, lower page numbers, and expand notes box --- app/templates/cookbook.html | 45 ++++++++++++++++---------------- app/templates/home.html | 50 ++++++++++++++++++++++++++++++------ backup_recipes_notes.json | Bin 0 -> 15680 bytes 3 files changed, 65 insertions(+), 30 deletions(-) create mode 100644 backup_recipes_notes.json diff --git a/app/templates/cookbook.html b/app/templates/cookbook.html index 12493b2..fbbe865 100755 --- a/app/templates/cookbook.html +++ b/app/templates/cookbook.html @@ -122,6 +122,12 @@ display: block !important; padding: 50mm 14mm 16mm 14mm !important; text-align: center !important; + background-color: var(--creme, #FAF6F0) !important; + background-image: url("data:image/svg+xml,%3Csvg preserveAspectRatio='none' viewBox='0 0 200 800' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 5 0 Q 15 200 0 400 T 10 800 L 20 800 Q 10 600 25 400 T 15 0 Z' fill='%231E4D3B' opacity='0.9'/%3E%3Cpath d='M 35 0 Q 25 250 40 500 T 30 800 L 55 800 Q 65 500 45 250 T 50 0 Z' fill='%231E4D3B' opacity='0.85'/%3E%3Cpath d='M 70 0 Q 80 300 65 600 T 75 800 L 85 800 Q 75 500 90 300 T 80 0 Z' fill='%231E4D3B' opacity='0.9'/%3E%3Cpath d='M 105 0 Q 95 200 110 400 T 100 800 L 125 800 Q 135 600 120 400 T 125 0 Z' fill='%231E4D3B' opacity='0.8'/%3E%3Cpath d='M 140 0 Q 150 250 135 500 T 145 800 L 155 800 Q 145 500 160 250 T 150 0 Z' fill='%231E4D3B' opacity='0.9'/%3E%3Cpath d='M 175 0 Q 165 300 180 600 T 170 800 L 195 800 Q 205 500 185 300 T 190 0 Z' fill='%231E4D3B' opacity='0.85'/%3E%3C/svg%3E") !important; + background-size: 100% 100% !important; + background-repeat: no-repeat !important; + -webkit-print-color-adjust: exact !important; + print-color-adjust: exact !important; page-break-after: always !important; break-after: page !important; page-break-inside: avoid !important; @@ -395,43 +401,38 @@ flex: 1 1 auto !important; } - .notes-box { - margin-top: 2.5mm !important; - padding: 4px 8px !important; - font-size: 0.76rem !important; - line-height: 1.2 !important; + .notes-box, + .notes-box-empty { + display: block !important; + margin-top: 3.5mm !important; + padding: 6px 10px 8px 10px !important; + font-size: 0.80rem !important; + line-height: 1.25 !important; background: #FFF9D2 !important; background-color: #FFF9D2 !important; border: 1.5px dashed #D4C165 !important; border-radius: 6px !important; + min-height: 26mm !important; + box-sizing: border-box !important; } .notes-box-title { font-weight: 700 !important; - font-size: 0.78rem !important; - margin-bottom: 2px !important; - } - - .notes-box-empty { - display: block !important; - padding: 4px 8px !important; - margin-top: 2.5mm !important; - background: #FFF9D2 !important; - background-color: #FFF9D2 !important; - border: 1.5px dashed #D4C165 !important; - border-radius: 6px !important; + font-size: 0.82rem !important; + margin-bottom: 3px !important; + color: #554400 !important; } .notes-blank-lines { display: flex !important; flex-direction: column !important; - gap: 6px !important; + gap: 0 !important; margin-top: 2px !important; } .notes-blank-line { - border-bottom: 1px dotted rgba(100, 90, 70, 0.4) !important; - height: 8px !important; + border-bottom: 1.2px dotted rgba(140, 120, 60, 0.5) !important; + height: 6.5mm !important; width: 100% !important; } @@ -442,7 +443,7 @@ /* 5. SEITENZAHL FEST IN DEN ECKEN DES BLATTES VERANKERT */ .page-footer { position: absolute !important; - bottom: 6mm !important; + bottom: 3.5mm !important; left: 14mm !important; right: 14mm !important; width: auto !important; @@ -828,7 +829,7 @@ {% else %}