-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.css
136 lines (135 loc) · 2.36 KB
/
index.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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
*,
::before,
::after{
box-sizing: border-box;
border-width: 0;
border-style: solid;
}
*{
margin: 0;
}
body{
background: linear-gradient(#141f39,#152653);
font-family: 'Inter', sans-serif;
font-family: 'Lato', sans-serif;
}
#container{
height: 100vh;
}
img{
margin: 6rem 0rem;
height: 70%;
object-fit: cover;
display: none;
}
#title{
color: #f8fafc;
display: flex;
justify-content: center;
}
.title{
color: #6C63FF;
}
#coin-container{
display: flex;
flex-direction: column;
gap: 3rem;
justify-content: center;
height: 100vh;
}
.coin-input-container{
color: #f8fafc;
display: flex;
flex-direction: column;
gap: 1rem;
}
#coin-form{
display: flex;
flex-direction: column;
gap: 1.5rem;
margin: 1rem;
border: 1px solid #020617;
border-radius: 0.5rem;
padding: 1rem;
background-color: #475569;
}
.coin-info{
border: 1px solid #020617;
margin: 1rem;
color: #f8fafc;
background-color: #475569;
border-radius: 0.5rem;
padding: 0.5rem;
display: flex;
flex-direction: column;
gap: 1rem;
font-size: 1rem;
display: none;
}
.price{
font-weight: 700;
}
.coin-input{
outline: none;
border-radius: 0.2rem;
padding: 0.3rem;
font-size: 1rem;
}
#form-btn{
border-radius: 0.2rem;
padding: 0.3rem;
font-size: 1rem;
background-color: #6C63FF;
color: #f8fafc;
cursor: pointer;
transition: all 0.25s ease-in-out;
}
#form-btn:hover{
background-color: #625be8;
}
.loader {
border: 16px solid #f3f3f3; /* Light grey */
border-top: 16px solid #3498db; /* Blue */
border-radius: 50%;
width: 90px;
height: 90px;
animation: spin 2s linear infinite;
align-self: center;
display: none;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.show{
display: block;
}
@media (min-width: 768px){
#coin-container{
margin: 0rem 4rem;
}
}
@media (min-width: 1024px){
img{
display: block;
}
#coin-form{
margin: 0rem;
}
#container{
display: flex;
justify-content: space-evenly;
}
.coin-info{
margin: 0rem;
padding: 1rem;
}
#coin-container{
margin: 0rem;
}
}
@media (min-width: 1440px){
#coin-container{
width: 30rem;
}
}