pokedex / style.css
smolSWE's picture
Refactor and improve Pokedex code with animations and dark mode
d6843dc verified
raw
history blame
898 Bytes
body {
padding: 2rem;
font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
}
h1 {
font-size: 16px;
margin-top: 0;
}
p {
color: rgb(107, 114, 128);
font-size: 15px;
margin-bottom: 10px;
margin-top: 5px;
}
.card {
max-width: 620px;
margin: 0 auto;
padding: 16px;
border: 1px solid lightgray;
border-radius: 16px;
}
.card p:last-child {
margin-bottom: 0;
}
/* Dark mode styles */
body.dark {
background-color: #121212;
color: #fff;
}
body.dark .pokemon-card {
background-color: #333;
color: #fff;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}
body.dark .text-gray-600 {
color: #ccc;
}
body.dark .bg-gray-100 {
background-color: #444;
}
body.dark input {
background-color: #333;
border-color: #555;
color: #fff;
}
body.dark input::placeholder {
color: #ccc;
}