-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
99 lines (84 loc) · 1.47 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
@font-face {
font-family: "PokemonHollow";
src: url(./fonts/PokemonHollow.ttf) format("truetype");
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-weight: 600;
font-family: "Roboto Mono", monospace;
}
html {
font-size: 62.5%;
}
body {
padding: 0 1rem;
}
p {
font-size: 1.5rem;
}
h1 {
font-size: clamp(4rem, 5vw, 5rem);
font-family: "PokemonHollow";
}
img {
width: 100%;
height: auto;
border-radius: 100%;
}
.search-section {
max-width: 300px;
margin: 0 auto 2rem auto;
text-align: center;
}
.search-section input {
width: 100%;
max-width: 250px;
padding: 1rem;
font-size: 1.5rem;
}
.pokemon-card {
position: relative;
margin: 0rem auto;
max-width: 300px;
height: fit-content;
padding: 1.5rem;
border: 1px solid black;
background-color: #fff;
}
.pokemon-card::before {
content: "";
background: radial-gradient(black 33%, transparent 33%);
background-size: 3px 3px;
border-radius: 4px;
height: 100%;
width: 100%;
position: absolute;
left: 10px;
top: 10px;
z-index: -1;
}
#pokemon-name {
font-size: 1.8rem;
text-align: center;
}
#pokemon-image {
display: block;
max-width: 250px;
margin: 1rem auto;
}
#pokemon-id {
text-align: center;
margin-bottom: 1rem;
}
.pokemon-type {
border: 2px dotted black;
border-radius: 0.5rem;
padding: 0.5rem 1rem;
margin-bottom: 1rem;
}
.stat-container {
display: flex;
justify-content: space-between;
}