|
|
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; | |
| } | | } |