Skip to content

Instantly share code, notes, and snippets.

@sinsinpub
Created October 22, 2021 05:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sinsinpub/82d8de4cf8dd8bfe2468dc42a473a7a2 to your computer and use it in GitHub Desktop.
Save sinsinpub/82d8de4cf8dd8bfe2468dc42a473a7a2 to your computer and use it in GitHub Desktop.
Better yande.re CSS preferences
@-moz-document url-prefix("https://yande.re/post") {
body {
padding-right: 0px;
}
#post-list-posts > li {
width: calc((74vw - 1em) / 5) !important;
margin-right: 1px !important;
}
#post-list-posts > li > div {
width: auto !important;
height: 220px !important;
}
#post-list-posts > li > div > a > img {
width: auto !important;
height: auto !important;
max-width: 100%;
max-height: 220px;
}
#right-col img#image {
width: auto !important;
height: auto !important;
}
#right-col img#image[src*="/sample/"] {
max-width: 100%;
max-height: 100%;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment