Skip to content

Instantly share code, notes, and snippets.

@V1rgul
Created October 23, 2024 19:11
Show Gist options
  • Save V1rgul/58ecb87980d0eab081d23bee64ebf6ce to your computer and use it in GitHub Desktop.
Save V1rgul/58ecb87980d0eab081d23bee64ebf6ce to your computer and use it in GitHub Desktop.
old.reddit.com : sidebar retracted, bigger thumbnail & expendo button
@-moz-document domain("old.reddit.com") {
div.side {
position: fixed !important;
right: -290px;
opacity: .5;
z-index: 999;
transition: right .2s, opacity .2s;
height: 100vh;
overflow-y: auto;
}
div.side:hover,
div.side:has(:focus) {
right: 0px;
opacity: 1;
}
.thumbnail:has(img){
width: 140px;
}
.thumbnail:not(:has(img)){
margin-left: 35px;
margin-right: 35px;
}
.thumbnail > img {
height: auto;
width: 140px;
}
.expando-button {
scale: 2;
margin: 12px 14px 14px 12px !important;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment