Created
October 23, 2024 19:11
-
-
Save V1rgul/58ecb87980d0eab081d23bee64ebf6ce to your computer and use it in GitHub Desktop.
old.reddit.com : sidebar retracted, bigger thumbnail & expendo button
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@-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