|
body { |
|
font-family: Arial, sans-serif; |
|
background-color: #f0f0f0; |
|
display: flex; |
|
justify-content: center; |
|
align-items: center; |
|
height: 100vh; |
|
margin: 0; |
|
} |
|
|
|
.pokedex { |
|
width: 800px; |
|
height: 600px; |
|
background-color: #d32f2f; |
|
border: 10px solid #b71c1c; |
|
border-radius: 20px; |
|
padding: 20px; |
|
box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); |
|
display: flex; |
|
flex-direction: column; |
|
} |
|
|
|
h1 { |
|
color: white; |
|
text-align: center; |
|
margin: 0 0 20px; |
|
font-size: 24px; |
|
} |
|
|
|
.list { |
|
width: 200px; |
|
height: 400px; |
|
background-color: #ffffff; |
|
overflow-y: scroll; |
|
border: 2px solid #000; |
|
float: left; |
|
margin-right: 20px; |
|
} |
|
|
|
ul { |
|
list-style: none; |
|
padding: 0; |
|
margin: 0; |
|
} |
|
|
|
li { |
|
padding: 10px; |
|
cursor: pointer; |
|
border-bottom: 1px solid #ddd; |
|
} |
|
|
|
li:hover { |
|
background-color: #f5f5f5; |
|
} |
|
|
|
.screen { |
|
flex-grow: 1; |
|
background-color: #000; |
|
border: 5px solid #333; |
|
display: flex; |
|
flex-direction: column; |
|
justify-content: center; |
|
align-items: center; |
|
color: #fff; |
|
} |
|
|
|
#pokemon-sprite { |
|
max-width: 150px; |
|
max-height: 150px; |
|
} |
|
|
|
#pokemon-info { |
|
margin-top: 20px; |
|
font-size: 18px; |
|
} |