From 958da8737b553348608a5b9695df88a43dcf6f3a Mon Sep 17 00:00:00 2001 From: mez Date: Sat, 24 May 2025 11:18:12 +0100 Subject: [PATCH] Update readme, make the chapter arrow sticky --- README.org | 2 +- build/tufte.css | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.org b/README.org index 0eec543..8e53c17 100644 --- a/README.org +++ b/README.org @@ -10,7 +10,7 @@ This is for my personal use and definitely won’t work as is for other people, Fic metadata lives in =files/originalsmeta/= following the template, translation metadata in =files/translationsmeta/=; the filename for each is a unique 3-digit number. Fic files with the corresponding filenames live in =files/texts= (HTML, PDF, and EPUB are recognised in the script, which then moves them into =build/files/= or =build/secret/= according to metadata). -On the server my =secret/= folder is protected using =.htpasswd=. In the current setup the comments are sent to my private Discord server using webhooks, so do modify the POST request in the comments pages if you don’t want your own test comments being sent to my server, haha. +On the server my =secret/= folder is protected using =.htpasswd=. In the current setup the comments are sent to a private GoToSocial account, so do modify the POST request in the comments pages if you don’t want your own test comments being sent to me, haha. Requisites: =rclone= (just for uploading files to the server), Python 3. diff --git a/build/tufte.css b/build/tufte.css index a52664c..e603043 100644 --- a/build/tufte.css +++ b/build/tufte.css @@ -499,6 +499,9 @@ details#chapters summary { cursor: pointer; display: block; padding: 2px 5px 5px; + position: sticky; + top: 0; + background-color: #151515; } details#chapters summary::marker {