-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
75 lines (69 loc) · 1.1 KB
/
style.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
body {
display: flex;
justify-content: center;
margin: 0;
}
.pokemons-app {
display: flex;
gap: 1rem;
}
.pokemons-wrapper {
display: flex;
flex-direction: column;
gap: 1rem;
}
.pokemons-list {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1rem;
}
.pokemons-item {
background-color: #dea;
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
padding: 0.5rem;
border-radius: 6px;
border: 3px solid rgb(143, 168, 68);
min-width: 12rem;
text-transform: capitalize;
}
.modal {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: black;
display: flex;
opacity: 0;
pointer-events: none;
}
.modal-container {
margin: auto;
width: 90%;
max-width: 600px;
max-height: 90%;
background-color: #dea;
border-radius: 6px;
padding: 3em 2.5em;
display: grid;
gap: 1em;
place-items: center;
grid-auto-columns: 100%;
}
.modal_title {
font-size: 2.5rem;
}
.modal_img {
width: 90%;
max-width: 300px;
}
.modal-btn {
padding: 1em 3em;
}
.modal-show {
opacity: 1;
pointer-events: unset;
}