diff --git a/book.toml b/book.toml index be82188..f5e7abf 100644 --- a/book.toml +++ b/book.toml @@ -7,11 +7,10 @@ language = "en" build-dir = "blog" [output.html] -default-theme = "light" +default-theme = "rust" smart-punctuation = true git-repository-url = "https://forgejo.binning.net/matthew.binning/www" edit-url-template = "https://forgejo.binning.net/matthew.binning/www/src/branch/main/{path}" -additional-css = ["theme/sepia.css"] no-section-label = true fold.enable = true fold.level = 0 diff --git a/theme/favicon.png b/theme/favicon.png deleted file mode 100644 index a5b1aa1..0000000 Binary files a/theme/favicon.png and /dev/null differ diff --git a/theme/favicon.svg b/theme/favicon.svg deleted file mode 100644 index 90e0ea5..0000000 --- a/theme/favicon.svg +++ /dev/null @@ -1,22 +0,0 @@ - - - - - diff --git a/theme/sepia.css b/theme/sepia.css deleted file mode 100644 index cead278..0000000 --- a/theme/sepia.css +++ /dev/null @@ -1,184 +0,0 @@ -/* Sepia theme override for mdbook */ - -:root { - --bg: #f4ecd8; - --fg: #3e2723; - --sidebar-bg: #efebe9; - --sidebar-fg: #5d4037; - --sidebar-non-existant: #a1887f; - --sidebar-active: #4e342e; - --sidebar-spacer: #8d6e63; - --scrollbar: #8d6e63; - --icons: #5d4037; - --icons-hover: #4e342e; - --links: #6d4c41; - --inline-code-color: #4e342e; - --theme-popup-bg: #efebe9; - --theme-popup-border: #d7ccc8; - --theme-hover: #f4ecd8; - --quote-bg: #faf8f3; - --quote-border: #d7ccc8; - --table-border-color: #d7ccc8; - --table-header-bg: #efebe9; - --table-alternate-bg: #faf8f3; - --searchbar-border-color: #d7ccc8; - --searchbar-bg: #efebe9; - --searchbar-fg: #3e2723; - --searchbar-shadow-color: rgb(62, 39, 35, 0.1); - --searchresults-header-fg: #4e342e; - --searchresults-border-color: #d7ccc8; - --searchresults-li-bg: #faf8f3; - --search-mark-bg: #d7ccc8; -} - -body { - font-family: 'Courier New', 'Courier', 'Monaco', 'Lucida Console', monospace !important; - background-color: #f4ecd8; - color: #3e2723; - font-size: 16px !important; - line-height: 1.6 !important; -} - -html { - font-size: 16px !important; -} - -.sidebar { - background-color: #efebe9; - border-right: 2px solid #d7ccc8; -} - -.chapter { - color: #5d4037; - line-height: 1.7; -} - -.chapter li.chapter-item { - line-height: 1.7; -} - -.chapter li a { - color: #6d4c41; - text-decoration: none; -} - -.chapter li a:hover { - color: #4e342e; -} - -.chapter li a.active { - color: #4e342e; - font-weight: bold; -} - -#content { - max-width: 1200px; -} - -.content { - padding: 2rem; -} - -h1, h2, h3, h4, h5 { - color: #4e342e; -} - -h1 { - border-bottom: 3px solid #8d6e63; - padding-bottom: 0.5rem; -} - -h2 { - border-bottom: 2px solid #8d6e63; - padding-bottom: 0.3rem; - margin-top: 2rem; -} - -a { - color: #6d4c41; -} - -a:hover { - color: #4e342e; -} - -blockquote { - border-left: 4px solid #8d6e63; - background-color: #faf8f3; - padding: 1rem; - margin: 1rem 0; -} - -code { - background-color: #faf8f3; - border: 1px solid #d7ccc8; - border-radius: 3px; - padding: 0.1em 0.3em; - color: #4e342e; - font-family: 'Courier New', 'Courier', 'Monaco', monospace; -} - -pre { - background-color: #faf8f3; - border: 1px solid #d7ccc8; - border-radius: 4px; - padding: 1rem; -} - -pre > code { - background-color: transparent; - border: none; - padding: 0; -} - -table { - border-collapse: collapse; - margin: 1rem 0; -} - -table thead { - background-color: #efebe9; -} - -table th, table td { - border: 1px solid #d7ccc8; - padding: 0.5rem; -} - -table tr:nth-child(even) { - background-color: #faf8f3; -} - -hr { - border: none; - border-top: 2px solid #d7ccc8; - margin: 2rem 0; -} - -/* Navigation buttons */ -.nav-chapters { - color: #6d4c41; -} - -.nav-chapters:hover { - color: #4e342e; - text-decoration: none; -} - -/* Hide default mdbook elements we don't want */ -.menu-title { - color: #4e342e; - font-weight: bold; -} - -/* Adjust sidebar chapter spacing */ -.chapter li { - margin: 0.5rem 0; -} - -/* Make separators in SUMMARY.md look nice */ -.chapter .spacer { - height: 2px; - background-color: #d7ccc8; - margin: 1rem 0; -} diff --git a/todo.txt b/todo.txt index 237d823..c4aef87 100644 --- a/todo.txt +++ b/todo.txt @@ -1,7 +1,4 @@ -(A) Add a Forgejo pipeline to supersede deploy.sh. -(B) Move the resume to the private section and add the lock symbol. -(C) Remove the one line descriptions from the menu. -(D) Reduce the CSS where possible. Match my website's theme to align with mdbook's theme. +(B) Set up nightly builds Personalize the index page. Change the title of the Blog. @@ -42,3 +39,7 @@ x Import Abby's Binning Family Menu @Cline x Fix anchors (relative links) showing in mdbook's sidebar. x Create a minimal "Menu" (food menu) page on the main website, which has a selection of line items from the recipe book. @Cline x 2026-03-22 Add a folder to hold the nginx/nix files and deploy it properly. +x 2026-03-22 Add a Forgejo pipeline to supersede deploy.sh. +x 2026-03-22 Remove the one line descriptions from the menu. +x 2026-03-22 Move the resume to the private section and add the lock symbol. +x 2026-03-23 Reduce the CSS where possible. Match my website's theme to align with mdbook's theme.