-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
65 lines (56 loc) · 1.17 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
*{
box-sizing: border-box;
}
body{
background: #efefbb;
background: linear-gradient(to right, #d4d3d4, #efefbb);
font-family: sans-serif;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin: 0;
}
h1{
letter-spacing: 3px;
}
.poke-container{
display: flex;
flex-wrap: wrap;
align-items: space-between;
justify-content: center;
margin: 0 auto;
max-width: 1200px;
}
.pokemon{
background-color: #eee;
border-radius: 10px;
box-shadow: 0 3px 15px rgba(100, 100, 100, 0.5);
margin: 10px;
padding: 20px;
text-align: center;
}
.pokemon .img-container{
background-color: rgba(255, 255, 225, 0.6);
border-radius: 50%;
width: 120px;
height: 120px;
text-align: center;
}
.pokemon .info{
margin-top: 20px;
}
.pokemon .info .number{
background-color: rgba(0, 0, 0, 0.1);
padding: 5px 10px;
border-radius: 10px;
font-size: 0.8em;
}
.pokemon .info .name{
margin: 15px 0 7px;
letter-spacing: 1px;
}
.pokemon .img-container img{
max-width: 90%;
margin-top: 20px;
}