Skip to content

Instantly share code, notes, and snippets.

@remy
Created April 1, 2026 20:57
Show Gist options
  • Select an option

  • Save remy/1215067b0ae6d6e2a34a1da7d86652ad to your computer and use it in GitHub Desktop.

Select an option

Save remy/1215067b0ae6d6e2a34a1da7d86652ad to your computer and use it in GitHub Desktop.
CSS to make The Nerve News a little cleaner
[action="/post_like"] {
display: none;
}
a:hover {
text-decoration: underline !important;
text-decoration-thickness: 2px !important;
}
img[style="width:100%"] {
max-height: 80vh;
max-width: fit-content;
aspect-ratio: 1;
width: revert !important;
}
/* because they transition: all, there's a nasty border
effect that we want to remove */
[data-floating-ui-portal] a {
transition: background-color .1s ease-in-out;
}
div:has(>.react-share__ShareButton) {
display: none;
}
.dream-post-content-paragraph,
.dream-paragraph {
max-width: 70ch !important;
}
.dream-post-content-quote {
/* remove the massive " mark */
& > div:first-of-type {
display: none !important;
}
.dream-post-content-paragraph strong {
line-height: 1.8rem;
display: block;
max-width: 35ch;
font-style: italic;
&::before {
content: open-quote;
}
&::after {
content: close-quote;
}
}
}
.dream-post-content-blockquoteFigure >
.dream-post-content-blockquoteFigure {
padding: 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment