From 7273e90066603a41ae73b9cf09a273443d0818a1 Mon Sep 17 00:00:00 2001 From: Vladan Popovic Date: Wed, 18 Sep 2024 02:47:31 +0200 Subject: [PATCH] stil --- static/style.css | 18 ++++++++++++++++++ templates/active_torrents.html | 5 +++-- templates/index.html | 2 +- templates/search.html | 4 ---- templates/torrents.html | 26 +++++++++++++++++--------- 5 files changed, 39 insertions(+), 16 deletions(-) diff --git a/static/style.css b/static/style.css index 5bab704..60ff6e1 100644 --- a/static/style.css +++ b/static/style.css @@ -65,8 +65,26 @@ menu li:hover { cursor: pointer; } +input.search { + padding: 0.5em; + width: 30em; +} + #content { display: flex; align-items: center; justify-content: center; } + +ul.torrents { + width: 100%; +} + +ul.torrents li { + padding: 0.5em; + display: grid; + grid-template-columns: [title] 60% [seed] 8% [leech] 7% [size] 10% [category] 15% [end]; +} +ul.torrents li:hover { + background-color: bisque; +} diff --git a/templates/active_torrents.html b/templates/active_torrents.html index f064947..72e2612 100644 --- a/templates/active_torrents.html +++ b/templates/active_torrents.html @@ -1,9 +1,10 @@ {% block content %} -