5 667
edições
Sem resumo de edição |
Sem resumo de edição |
||
Linha 17: | Linha 17: | ||
} | } | ||
.image-container .image-item { | .image-container .image-item { | ||
flex: 1 0 45%; /* | flex: 1 0 45%; /* Ajustado para exibir duas imagens por linha */ | ||
max-width: 45%; | max-width: 45%; | ||
text-align: center; | text-align: center; | ||
} | } | ||
.image-container img { | .image-container img { | ||
width: | width: 200px; /* Tamanho fixo para as imagens */ | ||
height: | height: 200px; /* Tamanho fixo para as imagens */ | ||
object-fit: cover; /* Mantém a proporção e corta a imagem se necessário */ | |||
margin-bottom: 10px; | margin-bottom: 10px; | ||
} | } | ||
Linha 78: | Linha 79: | ||
{ local: 'Shell Island', coordinates: '4299, 3333, 6', imageUrl: 'https://wiki.pokexgames.com/images/d/db/3780%2C_3326%2C_7.png' } | { local: 'Shell Island', coordinates: '4299, 3333, 6', imageUrl: 'https://wiki.pokexgames.com/images/d/db/3780%2C_3326%2C_7.png' } | ||
], | ], | ||
'Gelo': { local: 'Cerulean', coordinates: '1456, 2345, 4', imageUrl: 'https://wiki.pokexgames.com/images/4/43/AnotherImage.png' }, | 'Gelo': [ | ||
'Grama': { local: 'Vermilion', coordinates: '5678, 1234, 5', imageUrl: 'https://wiki.pokexgames.com/images/3/34/DifferentImage.png' }, | { local: 'Cerulean', coordinates: '1456, 2345, 4', imageUrl: 'https://wiki.pokexgames.com/images/4/43/AnotherImage.png' }, | ||
'Pedra': { local: 'Lavender', coordinates: '6789, 2345, 2', imageUrl: 'https://wiki.pokexgames.com/images/c/c4/ExampleImage.png' }, | { local: 'Cerulean', coordinates: '1456, 2345, 4', imageUrl: 'https://wiki.pokexgames.com/images/4/43/AnotherImage.png' }, | ||
'Subaquático': { local: 'Celadon', coordinates: '1234, 5678, 3', imageUrl: 'https://wiki.pokexgames.com/images/5/56/AnotherExample.png' }, | { local: 'Cerulean', coordinates: '1456, 2345, 4', imageUrl: 'https://wiki.pokexgames.com/images/4/43/AnotherImage.png' }, | ||
'Terra': { local: 'Fuchsia', coordinates: '4567, 6789, 1', imageUrl: 'https://wiki.pokexgames.com/images/ | { local: 'Cerulean', coordinates: '1456, 2345, 4', imageUrl: 'https://wiki.pokexgames.com/images/4/43/AnotherImage.png' }, | ||
'Pisos': { local: 'Cinnabar', coordinates: '7890, 1234, 6', imageUrl: 'https://wiki.pokexgames.com/images/ | { local: 'Cerulean', coordinates: '1456, 2345, 4', imageUrl: 'https://wiki.pokexgames.com/images/4/43/AnotherImage.png' }, | ||
{ local: 'Cerulean', coordinates: '1456, 2345, 4', imageUrl: 'https://wiki.pokexgames.com/images/4/43/AnotherImage.png' } | |||
], | |||
'Grama': [ | |||
{ local: 'Vermilion', coordinates: '5678, 1234, 5', imageUrl: 'https://wiki.pokexgames.com/images/3/34/DifferentImage.png' }, | |||
{ local: 'Vermilion', coordinates: '5678, 1234, 5', imageUrl: 'https://wiki.pokexgames.com/images/3/34/DifferentImage.png' }, | |||
{ local: 'Vermilion', coordinates: '5678, 1234, 5', imageUrl: 'https://wiki.pokexgames.com/images/3/34/DifferentImage.png' }, | |||
{ local: 'Vermilion', coordinates: '5678, 1234, 5', imageUrl: 'https://wiki.pokexgames.com/images/3/34/DifferentImage.png' }, | |||
{ local: 'Vermilion', coordinates: '5678, 1234, 5', imageUrl: 'https://wiki.pokexgames.com/images/3/34/DifferentImage.png' }, | |||
{ local: 'Vermilion', coordinates: '5678, 1234, 5', imageUrl: 'https://wiki.pokexgames.com/images/3/34/DifferentImage.png' } | |||
], | |||
'Pedra': [ | |||
{ local: 'Lavender', coordinates: '6789, 2345, 2', imageUrl: 'https://wiki.pokexgames.com/images/c/c4/ExampleImage.png' }, | |||
{ local: 'Lavender', coordinates: '6789, 2345, 2', imageUrl: 'https://wiki.pokexgames.com/images/c/c4/ExampleImage.png' }, | |||
{ local: 'Lavender', coordinates: '6789, 2345, 2', imageUrl: 'https://wiki.pokexgames.com/images/c/c4/ExampleImage.png' }, | |||
{ local: 'Lavender', coordinates: '6789, 2345, 2', imageUrl: 'https://wiki.pokexgames.com/images/c/c4/ExampleImage.png' }, | |||
{ local: 'Lavender', coordinates: '6789, 2345, 2', imageUrl: 'https://wiki.pokexgames.com/images/c/c4/ExampleImage.png' }, | |||
{ local: 'Lavender', coordinates: '6789, 2345, 2', imageUrl: 'https://wiki.pokexgames.com/images/c/c4/ExampleImage.png' } | |||
], | |||
'Subaquático': [ | |||
{ local: 'Celadon', coordinates: '1234, 5678, 3', imageUrl: 'https://wiki.pokexgames.com/images/5/56/AnotherExample.png' }, | |||
{ local: 'Celadon', coordinates: '1234, 5678, 3', imageUrl: 'https://wiki.pokexgames.com/images/5/56/AnotherExample.png' }, | |||
{ local: 'Celadon', coordinates: '1234, 5678, 3', imageUrl: 'https://wiki.pokexgames.com/images/5/56/AnotherExample.png' }, | |||
{ local: 'Celadon', coordinates: '1234, 5678, 3', imageUrl: 'https://wiki.pokexgames.com/images/5/56/AnotherExample.png' }, | |||
{ local: 'Celadon', coordinates: '1234, 5678, 3', imageUrl: 'https://wiki.pokexgames.com/images/5/56/AnotherExample.png' }, | |||
{ local: 'Celadon', coordinates: '1234, 5678, 3', imageUrl: 'https://wiki.pokexgames.com/images/5/56/AnotherExample.png' } | |||
], | |||
'Terra': [ | |||
{ local: 'Fuchsia', coordinates: '4567, 6789, 1', imageUrl: 'https://wiki.pokexgames.com/images/6/67/ExampleTerra.png' }, | |||
{ local: 'Fuchsia', coordinates: '4567, 6789, 1', imageUrl: 'https://wiki.pokexgames.com/images/6/67/ExampleTerra.png' }, | |||
{ local: 'Fuchsia', coordinates: '4567, 6789, 1', imageUrl: 'https://wiki.pokexgames.com/images/6/67/ExampleTerra.png' }, | |||
{ local: 'Fuchsia', coordinates: '4567, 6789, 1', imageUrl: 'https://wiki.pokexgames.com/images/6/67/ExampleTerra.png' }, | |||
{ local: 'Fuchsia', coordinates: '4567, 6789, 1', imageUrl: 'https://wiki.pokexgames.com/images/6/67/ExampleTerra.png' }, | |||
{ local: 'Fuchsia', coordinates: '4567, 6789, 1', imageUrl: 'https://wiki.pokexgames.com/images/6/67/ExampleTerra.png' } | |||
], | |||
'Pisos': [ | |||
{ local: 'Cinnabar', coordinates: '7890, 1234, 6', imageUrl: 'https://wiki.pokexgames.com/images/7/78/ExamplePisos.png' }, | |||
{ local: 'Cinnabar', coordinates: '7890, 1234, 6', imageUrl: 'https://wiki.pokexgames.com/images/7/78/ExamplePisos.png' }, | |||
{ local: 'Cinnabar', coordinates: '7890, 1234, 6', imageUrl: 'https://wiki.pokexgames.com/images/7/78/ExamplePisos.png' }, | |||
{ local: 'Cinnabar', coordinates: '7890, 1234, 6', imageUrl: 'https://wiki.pokexgames.com/images/7/78/ExamplePisos.png' }, | |||
{ local: 'Cinnabar', coordinates: '7890, 1234, 6', imageUrl: 'https://wiki.pokexgames.com/images/7/78/ExamplePisos.png' }, | |||
{ local: 'Cinnabar', coordinates: '7890, 1234, 6', imageUrl: 'https://wiki.pokexgames.com/images/7/78/ExamplePisos.png' } | |||
] | |||
}, | }, | ||
2: { // Mapa Verde | 2: { // Mapa Verde | ||
// Adicionar dados para o Mapa Verde aqui | |||
}, | }, | ||
3: { // Mapa Roxo | 3: { // Mapa Roxo | ||
// Adicionar dados para o Mapa Roxo aqui | |||
} | } | ||
}; | }; | ||
Linha 108: | Linha 139: | ||
const selectedMapType = this.value; | const selectedMapType = this.value; | ||
const specificOptionSelect = document.getElementById('specificOption'); | const specificOptionSelect = document.getElementById('specificOption'); | ||
if (selectedMapType) { | if (selectedMapType) { | ||
specificOptionSelect.innerHTML = '<option value="">Selecione uma opção</option>'; | |||
const options = Object.keys(specificOptions[selectedMapType]); | const options = Object.keys(specificOptions[selectedMapType]); | ||
options.forEach(option => { | options.forEach(option => { |