pokedex-html / style.css
MakiAi's picture
Update style.css
699c7e9 verified
body {
margin: 0;
padding: 0;
font-family: 'Press Start 2P', cursive;
background-color: #f0f0f0;
}
.pokedex {
display: flex;
width: 800px;
height: 600px;
margin: 20px auto;
background-color: #d32f2f; /* Red like the original Pokédex */
border: 10px solid #b71c1c;
border-radius: 15px;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}
/* List Container */
.list-container {
width: 40%;
background-color: #fff;
border-right: 5px solid #000;
overflow-y: auto;
}
#pokemon-list {
list-style: none;
padding: 10px;
margin: 0;
}
#pokemon-list li {
cursor: pointer;
padding: 8px;
font-size: 12px;
text-transform: capitalize;
}
#pokemon-list li:hover {
background-color: #eee;
}
/* Display Container */
.display-container {
width: 60%;
display: flex;
justify-content: center;
align-items: center;
background-color: #e0e0e0; /* Light gray "screen" */
border: 10px solid #000;
border-radius: 10px;
margin: 20px;
}
#pokemon-info {
text-align: center;
}
#pokemon-name {
font-size: 16px;
margin: 10px 0;
color: #000;
text-transform: capitalize;
}
#pokemon-sprite {
image-rendering: pixelated;
transform: scale(3);
transform-origin: center;
}