Difference between revisions of "User:Lexar/sandbox/Page.css"

From Team Fortress Wiki
Jump to: navigation, search
(final css)
 
m (Added start and end comments for readability)
Line 1: Line 1:
 +
/*Start weapon wear tabs*/
 
.weapon-wear-table {
 
.weapon-wear-table {
 
     padding: 1px;
 
     padding: 1px;
Line 61: Line 62:
 
     text-align: center;
 
     text-align: center;
 
}
 
}
 +
/*End weapon wear tabs*/

Revision as of 05:26, 16 July 2015

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