From 41eabd60267060a75efa6437db181870fd4847d1 Mon Sep 17 00:00:00 2001 From: eneller Date: Mon, 24 Mar 2025 11:35:41 +0100 Subject: [PATCH] chore: prepare for template hierarchy --- src/epub2go_web/static/styles.css | 8 ++++++-- src/epub2go_web/templates/index.html | 20 ++++++++++---------- uv.lock | 4 ++-- 3 files changed, 18 insertions(+), 14 deletions(-) diff --git a/src/epub2go_web/static/styles.css b/src/epub2go_web/static/styles.css index 697c709..8ceb6df 100644 --- a/src/epub2go_web/static/styles.css +++ b/src/epub2go_web/static/styles.css @@ -27,14 +27,18 @@ h1,h2,h3{ header{ text-align: center; justify-content: center; - margin-bottom: 4%; } small{ color: var(--fg-deemph); } -.searchbar{ +.search-bar{ width: 100%; } +.search-container{ + text-align: center; + justify-content: center; + margin-bottom: 4%; +} #searchInput { background-color: var(--bg); width: 100%; diff --git a/src/epub2go_web/templates/index.html b/src/epub2go_web/templates/index.html index e039564..2e5c3f4 100644 --- a/src/epub2go_web/templates/index.html +++ b/src/epub2go_web/templates/index.html @@ -17,24 +17,24 @@
-

{{ title }}

1 Click Download für Literatur

-
- - - - Im Moment finden sich hier {{ book_count }} Bücher. +
+
+
+ + + + Im Moment finden sich hier {{ book_count }} Bücher. Bookmarklet GitHub - -
+
diff --git a/uv.lock b/uv.lock index 1513c4a..d136ade 100644 --- a/uv.lock +++ b/uv.lock @@ -182,8 +182,8 @@ wheels = [ [[package]] name = "epub2go" -version = "2.1" -source = { git = "https://github.com/eneller/epub2go.py#42677007633c1a4f7f87a2f8f02b9faa1715f037" } +version = "2.2" +source = { git = "https://github.com/eneller/epub2go.py#660af7fab00fe058dd4c3a4aee571b7350c26464" } dependencies = [ { name = "beautifulsoup4" }, { name = "click" },