MediaWiki:Common.css: Difference between revisions

was in https://www.wikidex.net/wiki/MediaWiki:Common.css
m (15 revisions imported: Importing from SkyWiki)
(was in https://www.wikidex.net/wiki/MediaWiki:Common.css)
Line 327: Line 327:
}
}


/*** Estilos de tablas ***/
/** Template:Pokémon infobox **/
/*** General ***
.pokemon_infobox {width: 16em;}
Estilos para tablas. (de [[Wikipedia:es:MediaWiki:Common.css]])
.pokemon_infobox .japanese_name {font-size:75%;}
.pokemon_infobox table.data th {text-align: right;}
.pokemon_infobox div.sec {font-size:80%;}
.pokemon_infobox div.sec .h {font-size:125%;}
.pokemon_infobox .none {color:#555;}


La idea es, si se quiere que la primera columna de la tabla esté alineada
/*** Table styles ***/
a la derecha, la segunda centrada y la tercera a la izquierda, usar
/*
{| class="col1der col2cen col3izq"
The idea is, if you want the first column of the table to be aligned to the right, the second to the center, and the third to the left, use
en vez de repetir "style='text-align:right'", etc, en '''cada''' celda
 
{| class="col1right col2center col3left"
instead of repeating "style='text-align:right'", etc, in each cell
*/
*/