diff --git a/assets/css/custom.css b/assets/css/custom.css index 05b08e3f..6edeecee 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -109,3 +109,25 @@ html.dark blockquote { margin-right: 30px; } } + + /* book pages: cover beside the details, stacked on narrow screens */ + .book { + display: flex; + gap: 2rem; + align-items: flex-start; + } + .book .book-cover { + width: 240px; + max-width: 100%; + margin: 0; + box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25); + } + .book .book-info p:first-child { + margin-top: 0; + } + @media only screen and (max-width: 600px) { + .book { + flex-direction: column; + align-items: center; + } + } diff --git a/content/books/_index.md b/content/books/_index.md index cb2875c1..7a27a814 100644 --- a/content/books/_index.md +++ b/content/books/_index.md @@ -1,6 +1,11 @@ --- title: "Books" -draft: true +groupByYear: false +cascade: + showDate: false + showReadingTime: false + showWordCount: false + showAuthor: false --- Books I'm writing, with a page each for samples, errata, and companion material. diff --git a/content/books/the-algorithmic-foundations-of-music-theory/_index.md b/content/books/the-algorithmic-foundations-of-music-theory/_index.md index 9593c6df..2e932203 100644 --- a/content/books/the-algorithmic-foundations-of-music-theory/_index.md +++ b/content/books/the-algorithmic-foundations-of-music-theory/_index.md @@ -1,8 +1,18 @@ --- title: "The Algorithmic Foundations of Music Theory" -draft: true +description: "Pitch, rhythm and harmony, from first principles." +layout: "book" authors: - "gilles" --- -A book in progress. +
+