User:Lexar/sandbox/Page.css

From Team Fortress Wiki
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.
/*Start weapon wear tabs*/
.weapon-wear-table {
    padding: 1px;margin: 0px;
    width: 100%;
    min-width: 300px;
    float: left;
    box-sizing: border-box;
}
.weapon-wear-table .tabs {
    padding: 0px;margin: 0px;
    width: 40%;
    float: left;
    list-style: none;
}
.weapon-wear-table .tabs li:hover, .weapon-wear-table .tabs li.current {
    background-color:#F4A958;
}
.weapon-wear-table .tabs li {
    padding: 0.5em 0.2em;margin: 0px;
    width: 100%;
    float: left;
    background-color: #F9D483;
    border-bottom: solid #FFFFFF 1px;
    font-size: 1.2em;
    color: black;
    font-weight: bold;
    line-height: 1.6;
    text-align: center;
    box-sizing: border-box;
    cursor: pointer;
}
.weapon-wear-table .tabs li.tab-5 {
    width:100%;
}
.weapon-wear-table .weapons {
    margin: 0px;
    width: 60%;
    height: 200px;
    float: left;
    list-style: none;
    position: relative;
}
.weapon-wear-table .weapons li {
    width: 100%;
    height: 100%;
    background-color: #FFFCF7;
    top: 0px;
    left: 0px;
    position: absolute;
    z-index:1;
}
.weapon-wear-table .weapons li.current {
    z-index:2;
}
.weapon-wear-table .weapons li a {
    width: 100%;
    display: block;
    position: absolute;
    text-align: center;
}
/*End weapon wear tabs*/