MakiAi commited on
Commit
699c7e9
·
verified ·
1 Parent(s): 1bd3fb7

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +61 -18
style.css CHANGED
@@ -1,28 +1,71 @@
1
  body {
2
- padding: 2rem;
3
- font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
 
 
4
  }
5
 
6
- h1 {
7
- font-size: 16px;
8
- margin-top: 0;
 
 
 
 
 
 
9
  }
10
 
11
- p {
12
- color: rgb(107, 114, 128);
13
- font-size: 15px;
14
- margin-bottom: 10px;
15
- margin-top: 5px;
 
16
  }
17
 
18
- .card {
19
- max-width: 620px;
20
- margin: 0 auto;
21
- padding: 16px;
22
- border: 1px solid lightgray;
23
- border-radius: 16px;
24
  }
25
 
26
- .card p:last-child {
27
- margin-bottom: 0;
 
 
 
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
+ }