-
Notifications
You must be signed in to change notification settings - Fork 50
Expand file tree
/
Copy pathDetailCard.css
More file actions
84 lines (71 loc) · 1.18 KB
/
DetailCard.css
File metadata and controls
84 lines (71 loc) · 1.18 KB
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
.card-container {
width: 80vw;
height: auto;
}
.pokemon-name {
font-size: xx-large;
font-weight: bold;
line-height: 0%;
text-transform: capitalize;
}
.top-content {
display: grid;
}
.pokemon-img {
width: 100%;
max-height: 200px;
object-fit: cover;
}
table {
width: 100%;
text-align: left;
padding: 5px;
border: 1px aliceblue solid;
}
td, th {
text-transform: capitalize;
}
.table-wrapper {
display: flex;
align-items: center;
}
.barchart-wrapper {
width: 100%;
padding-top: 20px;
margin: 0 auto;
}
.bar-box {
background-color: #302e2e;
width: 150px;
height: 6px;
}
.progress-bar {
background-color: yellow;
height: 6px;
}
button {
padding: 5px;
background-color: yellow;
color: black;
margin-top: 20px;
}
@media only screen and (min-width: 770px) {
.card-container {
width: 600px;
}
.top-content {
grid-template-columns: 50% 50%;
}
.pokemon-img {
width: 80%;
height: auto;
max-height: none;
object-fit: cover;
}
.barchart-wrapper {
padding-top: 0;
}
.bar-box {
width: 200px;
}
}