From 29517263c7e32552e812c4dd5dcd03a291a7f58b Mon Sep 17 00:00:00 2001 From: l4kr Date: Thu, 7 Sep 2023 15:43:28 +0200 Subject: [PATCH] read more done i think, plus some UX of course --- item/item.css | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/item/item.css b/item/item.css index 599f3e3..c8a5a04 100644 --- a/item/item.css +++ b/item/item.css @@ -264,25 +264,26 @@ text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; - -webkit-line-clamp: 5; + -webkit-line-clamp: 15; position: absolute; width: 80ch; font-weight: 520; margin: 0.5em; top: 0; left: -0.5vw; + text-shadow: inherit; } -.overview-text:hover { - display: block; - overflow: visible; - z-index: 100; - border-radius: 0.5em; - position: absolute; - width: 80ch; - top: 0; - left: -0.5vw; - background-color: black; -} +/* .overview-text:hover { */ +/* display: block; */ +/* overflow: visible; */ +/* z-index: 100; */ +/* border-radius: 0.5em; */ +/* position: absolute; */ +/* width: 80ch; */ +/* top: 0; */ +/* left: -0.5vw; */ +/* background-color: black; */ +/* } */ .btnReadMore { pointer-events: none; color: var(--theme-accent-text-color-darkbg);