MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
(Added some Pokemon and attack type table elements.)
No edit summary
Line 16: Line 16:
table.attacks, table.pokemon {
table.attacks, table.pokemon {
border: 1px solid black;
border: 1px solid black;
border-radius: 15px;
-webkit-border-top-left-radius: 15px;
-webkit-border-top-right-radius: 15px;
-moz-border-radius-topleft: 15px;
-moz-border-radius-topright: 15px;
border-top-left-radius: 15px;
border-top-right-radius: 15px;
}
}


th.attacks, th.pokemon {
th.attacksLeft, th.pokemonLeft { /* Left most table header only */
background-color: #ffff99;
background-color: #ffff99;
border-radius: 15px;
-webkit-border-top-left-radius: 15px;
-moz-border-radius-topleft: 15px;
border-top-left-radius: 15px;
}
 
th.attacksMiddle, th.pokemonMiddle { /* Middle table header only */
background-color: #ffff99;
}
 
th.attacksRight, th.pokemonRight { /* Right most table header only */
background-color: #ffff99;
-webkit-border-top-right-radius: 15px;
-moz-border-radius-topright: 15px;
border-top-right-radius: 15px;
}
}


td.bug {
td.bug {
background-color: #009900;
background-color: #009900;
border-radius: 15px;
}
}


td.dark {
td.dark {
background-color: #2e2e1f;
background-color: #2e2e1f;
border-radius: 15px;
}
}


td.dragon {
td.dragon {
background-color: #7f00ff;
background-color: #7f00ff;
border-radius: 15px;
}
}


td.electric {
td.electric {
background-color: #cacc00;
background-color: #cacc00;
border-radius: 15px;
}
}

Revision as of 23:40, 27 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);
}

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

table.attacks, table.pokemon {
border: 1px solid black;
-webkit-border-top-left-radius: 15px;
-webkit-border-top-right-radius: 15px;
-moz-border-radius-topleft: 15px;
-moz-border-radius-topright: 15px;
border-top-left-radius: 15px;
border-top-right-radius: 15px;
}

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

th.attacksMiddle, th.pokemonMiddle { /* Middle table header only */
background-color: #ffff99;
}

th.attacksRight, th.pokemonRight { /* Right most table header only */
background-color: #ffff99;
-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;
}