Difference between revisions of "MediaWiki:Common.css"

From We Are All Pokémon Trainers
Jump to navigation Jump to search
Line 6: Line 6:
 
position:relative;
 
position:relative;
 
width: 154px; height:145px;
 
width: 154px; height:145px;
background: url('http://sixthhokage1.wikinet.org/w/images/sixthhokage1/uploads/f/f4/Hexagon.png');
+
background: url('http://waapt.wikkii.net/mediawiki/images/f/f4/Hexagon.png');
 
}
 
}
 
.mon_box .mon_icon {
 
.mon_box .mon_icon {
Line 39: Line 39:
 
.hex_row .mon_box {
 
.hex_row .mon_box {
 
display:inline-block;
 
display:inline-block;
background: url('http://sixthhokage1.wikinet.org/w/images/sixthhokage1/uploads/7/74/HexagonLead.png');
+
background: url('http://waapt.wikkii.net/mediawiki/images/7/74/HexagonLead.png');
 
}
 
}
 
.hex_row + .hex_row:nth-of-type(odd) .mon_box {
 
.hex_row + .hex_row:nth-of-type(odd) .mon_box {
background: url('http://sixthhokage1.wikinet.org/w/images/sixthhokage1/uploads/2/28/HexagonB.png');
+
background: url('http://waapt.wikkii.net/mediawiki/images/2/28/HexagonB.png');
 
}
 
}
 
.hex_row + .hex_row:nth-of-type(even) .mon_box {
 
.hex_row + .hex_row:nth-of-type(even) .mon_box {
background: url('http://sixthhokage1.wikinet.org/w/images/sixthhokage1/uploads/f/f4/Hexagon.png');
+
background: url('http://waapt.wikkii.net/mediawiki/images/f/f4/Hexagon.png');
 
}
 
}
 
.hex_row .mon_box:nth-of-type(odd) {
 
.hex_row .mon_box:nth-of-type(odd) {

Revision as of 20:32, 15 June 2012

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


/* CSS enabling the Mon Box template */
.mon_box {
position:relative;
width: 154px; height:145px;
background: url('http://waapt.wikkii.net/mediawiki/images/f/f4/Hexagon.png');
}
.mon_box .mon_icon {
position: absolute;
top: 50%;
left: 50%;
background: 50% 50% no-repeat;
}
.mon_box .mon_icon div {
position: absolute;
}
.mon_box .mon_name {
display:block;
position: absolute;
left: 0;
right: 0;
bottom: 8px;
font: 12px sans-serif;
text-align: center;
}
.mon_box .mon_name.male {
color: #0de;
}
.mon_box .mon_name.female {
color: #f6a;
}

/* hex tiling */
.hex_row {
margin: 0px;
}
.hex_row .mon_box {
display:inline-block;
background: url('http://waapt.wikkii.net/mediawiki/images/7/74/HexagonLead.png');
}
.hex_row + .hex_row:nth-of-type(odd) .mon_box {
background: url('http://waapt.wikkii.net/mediawiki/images/2/28/HexagonB.png');
}
.hex_row + .hex_row:nth-of-type(even) .mon_box {
background: url('http://waapt.wikkii.net/mediawiki/images/f/f4/Hexagon.png');
}
.hex_row .mon_box:nth-of-type(odd) {
margin-bottom: 70px;
}
.hex_row .mon_box:nth-of-type(even) {
margin-top: 70px;
}
.hex_row .mon_box + .mon_box {
margin-left: -41.5px;
}
.hex_row + .hex_row {
margin-top: -80px;
}