-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
94 lines (78 loc) · 1.5 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
@import url('https://fonts.googleapis.com/css2?family=Mukta:wght@300;400;500;600;700&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background: #161616;
}
.coin{
display: flex;
width: 460px;
height: 80px;
border-radius: 8px;
margin: 38px 0;
font-family: 'Mukta', sans-serif;
}
.coin .coin-logo{
width: 80px;
height: 100%;
display: grid;
place-items: center;
}
.coin .coin-logo img{
width: 70%;
height: 70%;
}
.coin .coin-name{
height: 100%;
display: flex;
align-items: center;
justify-content: flex-start;
}
.coin .coin-name h3{
color: #fff;
font-size: 26px;
text-transform: uppercase;
}
.coin .coin-name span{
color: #aaa;
font-size: 14px;
font-weight: 500;
margin: 6px 0 0 2px;
}
.coin .coin-price{
display: grid;
align-items: center;
margin-left: auto;
padding: 8px 22px 0 0;
text-align: right;
}
.coin .coin-price .price{
font-size: 26px;
font-weight: 700;
margin-top: -6px;
}
.coin .coin-price .change{
color: #aaa;
font-size: 16px;
font-weight: 600;
margin-top: -30px;
}
.coin.rising{
background: linear-gradient(90deg, #202022, #4eb64510);
}
.coin.rising .coin-price .price{
color: #30ff20;
}
.coin.falling{
background: linear-gradient(90deg, #202022, #aa444425);
}
.coin.falling .coin-price .price {
color: #ff4040;
}