-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
135 lines (131 loc) · 2.54 KB
/
styles.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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;500;600;700&display=swap');
body {
font-family: 'Baloo 2', 'helvetica', cursive;
margin: 0;
}
.container {
max-width: 1000px;
margin: 15px auto;
}
/* header */
header {
background-color: #7d4ce0;
color: #fff;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 5% 0;
font-weight: 700;
}
header h2 {
margin: 0;
font-size: 50px;
}
header .limit p {
font-size: 20px;
margin: 0;
}
header .limit {
display: flex;
gap: 10px;
margin-top: 16px;
}
header .limit select {
outline: none;
font-size: 20px;
border: 0px;
border-radius: 8px;
font-family: 'Baloo 2', 'helvetica', cursive;
}
/* cards */
.pokemons {
display: flex;
flex-wrap: wrap;
gap: 10px;
justify-content: center;
margin-top: 4%;
}
.pokemons div {
border-radius: 10px;
width: 20%;
padding: 10px 15px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
font-weight: 600;
background-color: #97979721;
box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 5px 0px, rgba(0, 0, 0, 0.1) 0px 0px 1px 0px;
position: relative;
}
.pokemons div .order {
position: absolute;
top: 4px;
right: 8px;
font-size: 20px;
color: darkgray;
margin: 0;
}
.pokemons div img {
width: 100%;
transition: 1s;
}
.pokemons div:hover > img {
transform: scale(1.5);
}
/* navigation */
.navigation {
display: flex;
align-items: center;
margin-top: 2%;
}
.navigation .numbers {
margin-left: 10px;
margin-right: 10px;
}
.navigation .numbers span button {
font-size: 20px;
padding: 0 2px;
font-family: 'Baloo 2', 'helvetica';
background-color: #ffffff00;
border: 0;
color: #fff;
cursor: pointer;
margin: 0 2px;
}
.navigation .numbers button:hover {
border-radius: 25px;
box-shadow: rgb(253 253 253 / 34%) 0px 0px 0px 2px;
}
.navigation > button {
font-size: 20px;
border: 0;
cursor: pointer;
transition: .5s;
font-weight: 700;
background-color: #fff;
border-radius: 6px;
}
.navigation > button:hover {
transform: scale(1.3);
}
.current button{
box-shadow: rgb(253 253 253 / 34%) 0px 0px 0px 2px;
border-radius: 25px;
}
/* footer */
footer {
padding: 3% 0;
background-color: #7d4ce0;
}
p.author {
display: flex;
justify-content: center;
gap: 7px;
}
p.author a {
text-decoration: none;
font-weight: 700;
color: #000;
}