User:Smashman/vector.css

From Team Fortress Wiki
< User:Smashman
Revision as of 09:41, 2 December 2011 by Smashman (talk | contribs)
Jump to: navigation, search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
.buynow_btn, .buynow_btn span {
  background:url('http://dl.dropbox.com/u/1961029/btn_buynow_long.png') no-repeat;
  color:#FFF;
  line-height:100%;
  font-size:90%;
}
.buynow_btn {
  padding:5px 7px 5px 31px;
  background-position:right 0;
  position:relative;
}
.buynow_btn span {
  background-position:left top;
  width:24px;
  height:24px;
  position:absolute;
  top:0px;
  left:-1px;
  display:block;
  cursor:pointer; /* mostly needed for internet explorer */
}
.buynow_btn:hover {
  background-position:right -24px;
}
.buynow_btn:hover span {
  background-position:left -24px;
}