User:RJackson/vector.css

From Team Fortress Wiki
< User:RJackson
Revision as of 15:11, 17 September 2020 by RJackson (talk | contribs) (trying out this madness)
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.

/* 3D STUFF */

#2d-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.viewer-2d {
  position: relative;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

#switch-to-3d {
  position: relative;
  top: 0;
  left: 0;
  background:url("/w/images/6/65/2D_icon.png");
  width:63px;
  height:42px;
  z-index:999;
  cursor:pointer;
  cursor:hand;
}

#switch-to-2d {
  position: absolute;
  top: 0;
  left: 0;
  background:url("/w/images/7/7e/3D_icon.png");
  width:63px;
  height:42px;
  z-index:999;
  cursor:pointer;
  cursor:hand;
}

body {
    -webkit-filter: invert(100%);
    filter: invert(100%);
}