Difference between revisions of "User:NVis/Sandbox/Page.css"
(I have no idea what I'm doing) |
|||
Line 1: | Line 1: | ||
− | .mp-classbox | + | .mp-classbox { |
− | { | ||
float: left; | float: left; | ||
+ | position: relative; | ||
height: 120px; | height: 120px; | ||
− | width: | + | width: 120px; |
− | |||
− | |||
− | |||
opacity: 0.8; | opacity: 0.8; | ||
} | } | ||
− | .mp-classbox:hover { opacity: 1; } | + | .mp-classbox:hover { opacity: 1; z-index: 100; } |
+ | |||
+ | #mp-logo { top: 10px; margin-right: -30px; z-index: 10; } | ||
+ | #mp-scout { margin-right: -42px; z-index: 20; } | ||
+ | #mp-soldier { margin-right: -44px; z-index: 30; } | ||
+ | #mp-pyro { margin-right: -30px; z-index: 40; } | ||
+ | #mp-demo { margin-right: -24px; z-index: 50; } | ||
+ | #mp-heavy { margin-right: -34px; z-index: 60; } | ||
+ | #mp-engi { margin-right: -36px; z-index: 55; } | ||
+ | #mp-medic { margin-right: -54px; z-index: 20; } | ||
+ | #mp-sniper { margin-right: -32px; z-index: 30; } | ||
+ | #mp-spy { z-index: 10; } |
Revision as of 10:36, 27 July 2011
.mp-classbox { float: left; position: relative; height: 120px; width: 120px; opacity: 0.8; } .mp-classbox:hover { opacity: 1; z-index: 100; } #mp-logo { top: 10px; margin-right: -30px; z-index: 10; } #mp-scout { margin-right: -42px; z-index: 20; } #mp-soldier { margin-right: -44px; z-index: 30; } #mp-pyro { margin-right: -30px; z-index: 40; } #mp-demo { margin-right: -24px; z-index: 50; } #mp-heavy { margin-right: -34px; z-index: 60; } #mp-engi { margin-right: -36px; z-index: 55; } #mp-medic { margin-right: -54px; z-index: 20; } #mp-sniper { margin-right: -32px; z-index: 30; } #mp-spy { z-index: 10; }