/* Read More — collapsed articles in reader view. * max-height only: the article must keep a non-zero height so that * FreshRSS still marks it as read when scrolled past. */ .flux .text.read-more-collapsed { box-sizing: border-box; /* configured height = visible height, padding included */ max-height: var(--read-more-height, 250px); overflow: hidden; /* Fade out the last lines; a mask works with every theme background. */ -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 4em), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 4em), transparent); } .flux .read-more-btn { display: block; margin: 0.5em auto 1em; }