Spaces:
Running
Running
Update style.css
Browse files
style.css
CHANGED
@@ -1,28 +1,71 @@
|
|
1 |
body {
|
2 |
-
|
3 |
-
|
|
|
|
|
4 |
}
|
5 |
|
6 |
-
|
7 |
-
|
8 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
}
|
10 |
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
|
|
16 |
}
|
17 |
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
border: 1px solid lightgray;
|
23 |
-
border-radius: 16px;
|
24 |
}
|
25 |
|
26 |
-
|
27 |
-
|
|
|
|
|
|
|
28 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
body {
|
2 |
+
margin: 0;
|
3 |
+
padding: 0;
|
4 |
+
font-family: 'Press Start 2P', cursive;
|
5 |
+
background-color: #f0f0f0;
|
6 |
}
|
7 |
|
8 |
+
.pokedex {
|
9 |
+
display: flex;
|
10 |
+
width: 800px;
|
11 |
+
height: 600px;
|
12 |
+
margin: 20px auto;
|
13 |
+
background-color: #d32f2f; /* Red like the original Pokédex */
|
14 |
+
border: 10px solid #b71c1c;
|
15 |
+
border-radius: 15px;
|
16 |
+
box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
|
17 |
}
|
18 |
|
19 |
+
/* List Container */
|
20 |
+
.list-container {
|
21 |
+
width: 40%;
|
22 |
+
background-color: #fff;
|
23 |
+
border-right: 5px solid #000;
|
24 |
+
overflow-y: auto;
|
25 |
}
|
26 |
|
27 |
+
#pokemon-list {
|
28 |
+
list-style: none;
|
29 |
+
padding: 10px;
|
30 |
+
margin: 0;
|
|
|
|
|
31 |
}
|
32 |
|
33 |
+
#pokemon-list li {
|
34 |
+
cursor: pointer;
|
35 |
+
padding: 8px;
|
36 |
+
font-size: 12px;
|
37 |
+
text-transform: capitalize;
|
38 |
}
|
39 |
+
|
40 |
+
#pokemon-list li:hover {
|
41 |
+
background-color: #eee;
|
42 |
+
}
|
43 |
+
|
44 |
+
/* Display Container */
|
45 |
+
.display-container {
|
46 |
+
width: 60%;
|
47 |
+
display: flex;
|
48 |
+
justify-content: center;
|
49 |
+
align-items: center;
|
50 |
+
background-color: #e0e0e0; /* Light gray "screen" */
|
51 |
+
border: 10px solid #000;
|
52 |
+
border-radius: 10px;
|
53 |
+
margin: 20px;
|
54 |
+
}
|
55 |
+
|
56 |
+
#pokemon-info {
|
57 |
+
text-align: center;
|
58 |
+
}
|
59 |
+
|
60 |
+
#pokemon-name {
|
61 |
+
font-size: 16px;
|
62 |
+
margin: 10px 0;
|
63 |
+
color: #000;
|
64 |
+
text-transform: capitalize;
|
65 |
+
}
|
66 |
+
|
67 |
+
#pokemon-sprite {
|
68 |
+
image-rendering: pixelated;
|
69 |
+
transform: scale(3);
|
70 |
+
transform-origin: center;
|
71 |
+
}
|