-
Notifications
You must be signed in to change notification settings - Fork 0
/
style-smallCards.css
84 lines (73 loc) · 1.48 KB
/
style-smallCards.css
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
/* pokedex all small card settings */
#mainPokedex {
flex-wrap: wrap;
display: flex;
justify-content: center;
margin-top: 120px;
align-items: center;
min-height: 70vh;
}
@media (max-width: 517px) {
#mainPokedex {
margin-top: 150px;
}
}
.pokemonCard {
/* border: 1px solid rgb(233, 49, 49); */
display: flex;
width: 250px;
height: 350px;
margin: 20px;
border-radius: 10px;
flex-direction: column;
background-color: rgb(42, 40, 41);
cursor: pointer;
transition: 125ms;
}
.pokemonCard:hover {
transform: scale(1.1);
}
.pokemonCard img {
max-height: 140px;
max-width: 140px;
object-fit: cover;
margin-top: 30px;
transition: transform 0.5s;
}
.pokemonCard img:hover {
transform: scale(1.5);
}
.backgroundImage {
display: flex;
border-radius: 100px;
background: linear-gradient(to bottom, rgb(95, 91, 92) 0%, rgb(42, 40, 41) 85%);
height: 200px;
width: 200px;
}
.centerImg {
margin-left: auto;
margin-right: auto;
}
#loadMorePokemon {
width: 100%;
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 64px;
margin-top: 44px;
flex-direction: column;
}
#showLoadedPokemon {
color: orange;
}
#loadMorePokemon button {
padding: 16px;
font-size: 20px;
background-color: orange;
border-radius: 10px;
transition: 225ms;
cursor: pointer;
}
#loadMorePokemon button:hover {
transform: scale(1.1);
}