Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion assets/built/screen.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/built/screen.css.map

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions assets/css/screen.css
Original file line number Diff line number Diff line change
Expand Up @@ -2266,6 +2266,15 @@ unless a heading is the very first element in the post content */
font-family: var(--font-mono);
}

/* Fade out the last visible paragraph on access-restricted posts so it's
obvious to the reader that the article continues beyond the preview.
Scoped via :has() to only apply when the upgrade CTA is present, so
regular posts are unaffected. */
.gh-content:has(> .gh-post-upgrade-cta) > p:last-of-type {
-webkit-mask-image: linear-gradient(to bottom, var(--color-black) 60%, transparent 100%);
mask-image: linear-gradient(to bottom, var(--color-black) 60%, transparent 100%);
}

/* 16. Cards
/* ---------------------------------------------------------- */

Expand Down