-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
106 lines (93 loc) · 1.82 KB
/
Copy pathstyles.css
File metadata and controls
106 lines (93 loc) · 1.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
body {
font-family: Arial, sans-serif;
background-color: #f0f0f0;
margin: 0;
padding: 20px;
height: 100vh;
overflow-y: scroll;
background-image: url("imagenes/background");
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;
}
.title-image {
width: 50%;
max-width: 400px;
margin-bottom: 20px;
}
#search-bar {
width: 80%;
padding: 10px;
margin-bottom: 20px;
border: 1px solid #ddd;
border-radius: 5px;
font-size: 16px;
}
.pokedex-container {
text-align: center;
max-width: 1200px;
width: 100%;
padding: 20px;
margin: auto;
background-color: rgba(255, 255, 255, 0.8);
border-radius: 10px;
}
#search-bar {
width: 80%;
padding: 10px;
margin-bottom: 20px;
border: 1px solid #ddd;
border-radius: 5px;
font-size: 16px;
}
.pokemon-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
margin-top: 20px;
}
.pokemon-card {
background-color: #d6d6d6;
border: 1px solid #dddddd;
border-radius: 10px;
padding: 20px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
text-align: center;
position: relative;
transition: transform 0.2s;
}
.pokemon-card:hover {
transform: scale(1.05);
}
.pokemon-card img {
max-width: 190px;
height: auto;
}
.pokemon-card h2 {
font-size: 22px;
margin: 10px 0;
color: #000;
}
.pokemon-card p {
font-size: 14px;
margin: 5px 0;
color: #000;
}
.pokemon-card .number {
position: absolute;
top: 10px;
left: 10px;
font-size: 14px;
font-weight: bold;
/* background-color: transparent; */
padding: 2px 5px;
border-radius: 5px;
color: #000;
}
.pokemon-card .stats {
margin-top: 10px;
}
.pokemon-card canvas {
width: 100%;
height: 150px;
}