commit bed46bf30198dabb2bc46ff36209cd23db6e62ee
parent ab4f978d8cd225311e88495bc8eb28fcef3fe1a7
Author: lou woell <lou@repetitions.de>
Date: Fri, 4 Sep 2026 14:55:34 +0200
aesthetics of index page
Diffstat:
4 files changed, 26 insertions(+), 2 deletions(-)
diff --git a/assets/portrait_of_a_man.jpg b/assets/portrait_of_a_man.jpg
Binary files differ.
diff --git a/assets/style.css b/assets/style.css
@@ -4,6 +4,21 @@ body {
padding: 0 2rem 0;
}
+.portrait {
+ margin-top: 2rem;
+ margin-bottom: 2rem;
+ margin-right: auto;
+ margin-left: auto;
+ max-width: 30%;
+ display: block;
+ padding: 0.2em;
+ border: 1em solid black;
+}
+
+nav {
+ margin-top: 0.3em;
+}
+
.headline {
margin-bottom: 0.1rem;
diff --git a/html/index.chtml b/html/index.chtml
@@ -11,7 +11,16 @@
</span>
<hr>
</nav>
- <h1>ethica</h1>
+ <div class="cover">
+ <img class="portrait"
+ src="assets/portrait_of_a_man.jpg"
+ title="Portrait of a man, thought to be Baruch de Spinoza, attributed to Barend Graat, 1666">
+ </div>
+ <div>
+ <p>
+ A collection of translations of Spinozas Ethics, presented as hypertext documents.
+ </p>
+ </div>
<div>
<h2>Available Translations</h2>
<ol iterate="versions">
diff --git a/makefile b/makefile
@@ -7,7 +7,7 @@ ARCHIVE=$(BUILD_DIR)/ethica.zip
.PHONY: deploy
deploy: $(ARCHIVE)
- rsync -rL $(BUILD_DIR) repetitions:~/ethica
+ rsync -rL $(BUILD_DIR)/ repetitions:~/ethica
$(ARCHIVE): $(SRC_DIRS) $(FILES)
zip -r $@ $^