Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
xtal
Jan 9, 2011

by Fluffdaddy
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.

Adbot
ADBOT LOVES YOU

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply