|
I haven't tested this, but since you can't change the link the buttons go to, and you can't make anything follow the cursor, I think this is the only way: 1. First, use * { z-index: 1 } to give every element a normalized z-index (this is probably the default, but still) 2. Second, find the log out button, and give it css like position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0;. This means it will take up the entire screen, but it will be behind every element given z-index 1 by the previous rule. 3. Lastly, find the upvote/downvote buttons, and give it css like z-index: -1. This puts it behind every other item, including the logout link from the previous rule. A lot of this is exercise to the reader, but the idea is that you might be able to use the position-absolute trick on the log out link to make it take up the entire screen, and the z-index trick so that every other item is on top of that link except the voting buttons. Finally, remember that users can disable custom CSS, and it isn't respected on new reddit at all.
|
# ¿ Jul 18, 2019 22:30 |
|
|
# ¿ May 14, 2024 10:28 |