MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Line 12: Line 12:
}
}


/* Table for attacks and Pokémon type relations */
/* Other tables */


table.attacks, table.pokemon {
table {
border: 1px solid black;
    font-size: 10px;
-webkit-border-top-left-radius: 15px;
    text-align: center;
-webkit-border-top-right-radius: 15px;
    width: 100%;
-moz-border-radius-topleft: 15px;
    margin-bottom: 10px;
-moz-border-radius-topright: 15px;
border-top-left-radius: 15px;
border-top-right-radius: 15px;
}
}


th.attacksLeft, th.pokemonLeft { /* Left most table header only */
th {
background-color: #ffff99;
    background-color: #bebebe;
-webkit-border-top-left-radius: 15px;
-moz-border-radius-topleft: 15px;
border-top-left-radius: 15px;
}
}


th.attacksMiddle, th.pokemonMiddle { /* Middle table header only */
.table-striped {
background-color: #ffff99;
    border: 1px solid #c2c0c0;
    border-radius: 10px;
    overflow: hidden;
}
}


th.attacksRight, th.pokemonRight { /* Right most table header only */
.table-striped tbody > tr:nth-of-type(odd) {
background-color: #ffff99;
    background-color: #d7d7d7;
-webkit-border-top-right-radius: 15px;
-moz-border-radius-topright: 15px;
border-top-right-radius: 15px;
}
 
td.bug {
background-color: #009900;
}
 
td.dark {
background-color: #2e2e1f;
}
 
td.dragon {
background-color: #7f00ff;
}
 
td.electric {
background-color: #cacc00;
}
}

Revision as of 00:08, 28 November 2015

/* CSS placed here will be applied to all skins */

/* Table for navigational menu on drop page */
td.nav {
opacity: 1;
filter: alpha(opacity=100);
}

td.nav:hover {
opacity: 0.5;
filter: alpha(opacity=50);
}

/* Other tables */

table {
    font-size: 10px;
    text-align: center;
    width: 100%;
    margin-bottom: 10px;
}

th {
    background-color: #bebebe;
}

.table-striped {
    border: 1px solid #c2c0c0;
    border-radius: 10px;
    overflow: hidden;
}

.table-striped tbody > tr:nth-of-type(odd) {
    background-color: #d7d7d7;
}