-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
58 lines (49 loc) · 863 Bytes
/
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: #0e1012;
color: #fafffd;
display: grid;
place-items: center;
}
output {
inline-size: 2000px;
display: flex;
flex-wrap: wrap;
gap: 30px 80px;
justify-content: flex-start;
align-items: center;
}
img:not(.pokemon) {
margin-inline-end: auto;
padding: 30px;
}
.pokemon {
inline-size: 120px;
position: relative;
display: inline-block;
}
div {
position: relative;
display: inline-block;
}
.wild::after {
content: url(./img/Wild.png);
}
.event::after {
content: url(./img/Event.png);
}
:is(.wild, .event)::after {
position: absolute;
scale: 0.3;
transform-origin: 0;
inset-block-end: -30px;
inset-inline-start: 105px;
}
.small {
scale: 1.4;
transform-origin: bottom;
}