From 58bc0df475940deaa82d33012df902e53db014a4 Mon Sep 17 00:00:00 2001 From: Hendrik Kleinwaechter Date: Thu, 23 Jan 2025 15:48:39 +0100 Subject: [PATCH] Fix #372 and add booklet to website/repo This adds the design TLDR version to the README and website --- README.md | 14 +++++++---- book/style.css | 16 ++++++++++++ website/modify_build.rb | 56 ++++++++++++++++++----------------------- 3 files changed, 50 insertions(+), 36 deletions(-) diff --git a/README.md b/README.md index 5e02cf6..9941b3b 100644 --- a/README.md +++ b/README.md @@ -84,12 +84,16 @@ size. This shrinks the book from more than 20MB down to ~5MB: * [Download compiled B&W .epub version](https://www.the-bread-code.io/bw-book.epub) -If you prefer a very short version (about 10 pages) with main flowcharts and -crucial information needed while you are in the kitchen, we also provide a -"too long;didn't read" version you could print. Having read the full book is -highly recommended to understand this leaflet: +For those who prefer a concise reference (about 15 pages), we offer a "too long;didn't read" (TL;DR) +version. This condensed guide contains the essential flowcharts, crucial information, +and space for your notes - perfect for quick kitchen reference. +It provides the key information you need without reading the complete book. -* [Download a condensed version](https://www.the-bread-code.io/booklet.pdf) +* [Read TL;DR version on your device](https://the-bread-code.io/book-tldr-print.pdf) +* [Download TL;DR version for printing](https://the-bread-code.io/book-tldr-digital.pdf) + +For printing, we recommend using double-sided printing if your printer supports it. Else you +have to print page by page and then flip them. You can use a stapler to bind the pages. ## Online HTML version diff --git a/book/style.css b/book/style.css index ad0a49e..0c6b475 100644 --- a/book/style.css +++ b/book/style.css @@ -535,6 +535,22 @@ figure.figure p.noindent { text-align: center; } +main.main-content h2.chapterHead.home-content-title { + margin-top: 0.5em; + margin-bottom: 0.5em; + line-height: 1.5em; +} + +.download-description { + font-weight: var(--fw-bold); +} + +.download-links { + p.indent, p.noindent { + text-align: unset; + } +} + @media (max-width: 768px) { .header { display: none; diff --git a/website/modify_build.rb b/website/modify_build.rb index 29c92c1..56b4f1a 100644 --- a/website/modify_build.rb +++ b/website/modify_build.rb @@ -626,15 +626,16 @@ class ModifyBuild Creating this book has been a labor of love. My main goal has always been to spread the joy of baking and empower bread enthusiasts like yourself. To ensure that the book remains accessible - to everyone, I have decided to make it available as a free digital download. + to everyone, I have decided to make it available free of charge.

One of my best Sourdough Breads +

⭐ Support this project

- However, producing and maintaining resources like this requires + Producing and maintaining resources like this requires considerable time, effort, and financial investment. If you find value in "The Sourdough Framework" and appreciate the effort that went into creating it, I kindly request your support @@ -646,18 +647,7 @@ class ModifyBuild

Your generous contribution will not only help me cover the costs associated with this project but will also enable me to continue creating more valuable - content in the future. -

- -

- If you feel inspired to contribute, please consider making a donation of - any amount through my donation page. - Your support will go a long way in ensuring - that this knowledge can reach even more bread enthusiasts worldwide. -

- -

- Remember, your donation is entirely voluntary and any amount you + content in the future. Your donation is entirely voluntary and any amount you contribute is deeply appreciated. If you are unable to make a donation at this time, please know that your readership and support in spreading the word about "The Sourdough Framework" are invaluable contributions as well. @@ -669,29 +659,33 @@ class ModifyBuild Together, we can continue to share the love of baking and cultivate a community passionate about the art of sourdough.

+ +

⬇️ Versions

- You can either browse through this page or download the full book directly: -

-

- PDF: https://www.the-bread-code.io/book.pdf
- PDF (no serif): https://www.the-bread-code.io/book-sans-serif.pdf + You can either browse through this website or download the full book to read it on your preferred device:

-

- EPUB: https://www.the-bread-code.io/book.epub
- EPUB in Black & White, size optimized for screen readers : https://www.the-bread-code.io/bw-book.epub
-

+

Thank you and may the gluten be strong with you,