From bd41af87631d4e98109b3f81258e7be4f8eb4732 Mon Sep 17 00:00:00 2001 From: lemon24 Date: Wed, 1 Jan 2025 20:19:45 +0200 Subject: [PATCH] v2: more compact entries page. #318 --- src/reader/_app/v2/static/style.css | 22 +++---- src/reader/_app/v2/templates/v2/entries.html | 61 ++++++++++++-------- 2 files changed, 48 insertions(+), 35 deletions(-) diff --git a/src/reader/_app/v2/static/style.css b/src/reader/_app/v2/static/style.css index 23a07f88..2cc56629 100644 --- a/src/reader/_app/v2/static/style.css +++ b/src/reader/_app/v2/static/style.css @@ -1,14 +1,4 @@ -/* knock back heading sizes by 2 steps */ -.h1, h1 { font-size: calc(1.3rem + .6vw); } -.h2, h2 { font-size: calc(1.275rem + .3vw); } -/* TODO: rest of them */ -@media (min-width: 1200px) { - .h1, h1 { font-size: 1.75rem; } - .h2, h2 { font-size: 1.5rem; } - /* TODO: rest of them */ -} - .nav.controls { --bs-nav-link-padding-x: 0; --bs-nav-link-padding-y: 0; @@ -17,3 +7,15 @@ .nav.controls .nav-link.active { color: var(--bs-navbar-active-color); } + +.mark-as .btn-sm { + --bs-btn-padding-x: 0.125rem; + --bs-btn-padding-y: 0.125rem; +} + +.list-inline-item.link { + font-size: 1.125rem; +} +.list-inline-item.link .external { + font-size: 0.875rem; +} diff --git a/src/reader/_app/v2/templates/v2/entries.html b/src/reader/_app/v2/templates/v2/entries.html index e1fe5902..ee8bd7f4 100644 --- a/src/reader/_app/v2/templates/v2/entries.html +++ b/src/reader/_app/v2/templates/v2/entries.html @@ -10,7 +10,7 @@ {% block body %} -