Skip to content

Instantly share code, notes, and snippets.

@barning
Created March 4, 2023 11:16
Show Gist options
  • Save barning/1d36b13ee9016ec28cad31dd0699cb16 to your computer and use it in GitHub Desktop.
Save barning/1d36b13ee9016ec28cad31dd0699cb16 to your computer and use it in GitHub Desktop.
My custom CSS for the Wordpress-Theme Twenty Twenty-Three.
.category-gedanke .wp-block-post-title, .category-gedanke .wp-block-post-excerpt__more-text {
display: none;
}
@media (prefers-color-scheme: dark) {
body {
filter: invert(1);
background: #000; /* since most sites declare the background color */
}
img {
filter: invert(1) !important; /* flips it back */
}
}
.wp-block-quote {
border-left: solid;
}
.mastodon-rss .wp-block-rss__item-title {
display: none;
}
.mastodon-rss .wp-block-rss__item {
margin-bottom: 1rem;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment