Advertisement
Guest User

Untitled

a guest
Apr 9th, 2013
25
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.75 KB | None | 0 0
  1. /*** Tablas relacionadas con los POKÉMON (movimientos, listas de Pokémon) ***/
  2. table.movnivel, table.movmtmo, table.movtutor,
  3. table.movhuevo, table.movespecial, table.estadisticas,
  4. table.tabmov, table.tabpokemon {
  5.     border:2px solid #C6C6C6;
  6.     border-collapse:collapse;
  7.     font-size:90%;
  8.     text-align:center;
  9.     margin:5px 0 1.5em;
  10.     background-color:#FFFFFF;
  11.     -moz-box-shadow:0.3em 0.3em 0.5em #ACACAD;
  12.     -webkit-box-shadow:0.3em 0.3em 0.5em #ACACAD;
  13.     box-shadow:0.3em 0.3em 0.5em #ACACAD;
  14. }
  15. table.movnivel, table.movmtmo, table.movtutor, table.movhuevo, table.movespecial, table.estadisticas {
  16.     width:100%;
  17.     line-height:22px;
  18. }
  19. /* encabezado */
  20. table.movnivel th, table.movmtmo th, table.movtutor th,
  21. table.movhuevo th, table.movespecial th, table.estadisticas th,
  22. table.tabmov th, table.tabpokemon th { background-color:#3B3B3B; border:2px solid #333; color:white; height:20px; }
  23.  
  24. /* colores alternos en celdas */
  25. table.movnivel tr:nth-child(even), table.movmtmo tr:nth-child(even), table.movtutor tr:nth-child(even),
  26. table.movhuevo tr:nth-child(even), table.movespecial tr:nth-child(even), table.estadisticas tr:nth-child(even),
  27. table.tabmov tr:nth-child(even), table.tabpokemon tr:nth-child(even) { background-color:#FFFFFF; }
  28.  
  29. table.movnivel tr:nth-child(odd), table.movmtmo tr:nth-child(odd), table.movtutor tr:nth-child(odd),
  30. table.movhuevo tr:nth-child(odd), table.movespecial tr:nth-child(odd), table.estadisticas tr:nth-child(odd),
  31. table.tabmov tr:nth-child(odd), table.tabpokemon tr:nth-child(odd) { background-color:#EEEDE5; }
  32.  
  33. /* bordes a las tablas */
  34. table.movnivel td, table.movmtmo td, table.movtutor td,
  35. table.movhuevo td, table.movespecial td, table.estadisticas td,
  36. table.tabmov td, table.tabpokemon td { border-right:1px solid #C6C6C6; border-bottom:1px solid #C6C6C6; }
  37.  
  38. table.movnivel td:last-child, table.movmtmo td:last-child, table.movtutor td:last-child,
  39. table.movhuevo td:last-child, table.movespecial td:last-child, table.estadisticas td:last-child,
  40. table.tabmov td:last-child, table.tabpokemon td:last-child { border-right:0; }
  41.  
  42. /* anchura de columnas */
  43. table.movmtmo th, table.movtutor th, table.movespecial th { width:16%;}
  44. table.movmtmo th:first-child + th,
  45. table.movtutor th:first-child + th,
  46. table.movespecial th:first-child
  47.     { width:36%; }
  48.  
  49. table.movnivel th { width:2.5em; }
  50. table.movnivel th.movimiento { width:auto; }
  51. table.movnivel th.tipo,
  52. table.movnivel th.categoria,
  53. table.movnivel th.concurso
  54.     { width:10%; }
  55.  
  56. table.movhuevo th.tipo,
  57. table.movhuevo th.categoria,
  58. table.movhuevo th.concurso
  59.     { width:7em; padding:0; }
  60.  
  61. table.estadisticas th:first-child { text-align:left; width:30%; }
  62. table.estadisticas th.caracteristica { width:7em; }
  63. th.PE, th.base, th.maxdes, th.maxneu, th.maxfav { padding-left:10px; }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement